Files
ruflo/.github
ruv b71b568204 ci(metaharness): extend graceful-degradation drill + flag 3 latent gaps (iter 55)
The architectural-constraint workflow (no-metaharness-smoke.yml) drilled
only 4 skills (score/genome/mcp-scan/threat-model). 3 newer skills
that shell out to upstream weren't gated: oia-audit, mint, and the
iter-53 drift-from-history composer. This iter extends the workflow
drill to all 7 and — by running it — surfaced 3 latent graceful-
degradation gaps.

WHAT SHIPPED

1. .github/workflows/no-metaharness-smoke.yml
   - Drill iterates over 7 skills (was 4)
   - SKILL_ARGS bash assoc-array maps each to its required argv
   - drift-from-history accepts exit 0 OR 3 (iter-53 4-code semantic)
   - Summary line: "All 7 skills gracefully degraded"

2. plugins/ruflo-metaharness/scripts/test-graceful-degradation.mjs
   - acceptableExits per-skill override (used when 4-code semantics apply)
   - DOCUMENTS the 3 gaps found locally so anyone running the drill
     in a flaky local env understands why the additions are gated
     workflow-side, not locally
   - Comment block enumerates the gaps for follow-up iters

3. plugins/ruflo-metaharness/scripts/smoke.sh — step 17z18:
   - Workflow file contains all 7 skills + SKILL_ARGS + 0/3 acceptable
     exits for drift-from-history
   - Local drill doc-block present
   - Two count assertions updated (iter 44 + iter 46) for 9-tool MCP fleet

LATENT GAPS DISCOVERED (filed for follow-up)

When running the drill locally with an unreachable npm registry:

  a) oia-audit can exceed 180s — composes 5 subprocesses, each with
     its own DNS-retry timeout. Need either parallel subprocess calls
     OR shorter per-skill timeout when degraded.

  b) mint's degraded payload doesn't include the literal "degraded":true
     marker that the drill greps for. mint's text-output mode is the
     default; --format json should consistently emit the marker.

  c) drift-from-history exits 2 (config error: no history) when memory
     namespace is empty, but exit 3 (test-cannot-run) would be more
     accurate per iter-53's 4-code semantic. The boundary between
     "no history yet" and "metaharness absent" needs clarification.

These were always there — iter 55 made them visible. Workflow-level
CI (in a clean env with fast DNS failure) is the assertion gate; the
local drill documents the gaps until they're closed.

GATES THIS ITER
   smoke:    57 → 58 (step 17z18 green; 17z7 + 17z9 count assertions
             bumped to match iter-54 9-tool fleet)
   workflow: 7 skills drilled (was 4) — CI will report any non-graceful
             behavior reproducibly on each PR
   fleet:    33/33

ITERS 47-55 BUG-DISCOVERY ARC

   47 — caught iter-38 schema bug via real-data roundtrip
   48 — CI gate runs roundtrip with real metaharness
   49 — generalized roundtrip; flagged mcp-scan gap
   50 — closed mcp-scan gap (text parser)
   51 — proved roundtrip catches drift
   52 — locked iter-50 fix at MCP + doctor layer
   53 — drift-from-history one-command primitive
   54 — drift-from-history MCP tool surface
   55 — graceful-degradation drill extended; 3 latent gaps surfaced

Each iter caught something the previous tests couldn't see.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-06-16 20:22:50 -04:00
..