mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Iter 7 shipped the oia-audit composite worker. Iter 8 lights the rest
of its surface:
1. TOP-LEVEL CLI ACCESS
`npx ruflo metaharness oia-audit [--alert-on-worst high]` now works
alongside score/genome/mcp-scan/threat-model/mint. Added to the
SUBCOMMANDS dispatch table in v3/@claude-flow/cli/src/commands/
metaharness.ts and the help-text listing.
2. WEEKLY CRON WORKFLOW
.github/workflows/oia-audit-weekly.yml runs the composite audit
against the ruflo repo every Sunday at 04:17 UTC. Schedule rationale:
- Off-peak: 04:17 UTC avoids US business hours
- Off-the-hour: avoids the :00 thundering herd of cron jobs across
GitHub Actions (per CronCreate guidance)
- Weekly cadence matches the drift-detection use case — audit
accumulation over time, not real-time alerting
Workflow features:
- --dry-run because CI has no persistent memory; CI artifacts
(90-day retention) ARE the durability layer for drift tracking
- --alert-on-worst high fails the job on any composite HIGH finding
- workflow_dispatch enabled for ad-hoc manual audits
- GITHUB_STEP_SUMMARY surfaces the composite worst severity in the
workflow UI
- paths-filter triggers on script changes too (catches regressions
in the audit logic itself)
3. SMOKE TIGHTENED
Step 15 dispatch-table check now requires 6 subcommands (was 5).
Catches accidental removal of oia-audit from the routing path.
ADR-150 GRACEFUL DEGRADATION (still satisfied)
The weekly workflow never fails closed on metaharness unavailability
— the audit script emits a degraded payload and exits 0, the
artifact records the degraded state, and the workflow passes.
Only positive findings (composite worst >= HIGH) fail the job.
Smoke: 19 invariants (step 15 broadens, no count change). Fleet:
33/33. tsc clean.
Co-Authored-By: RuFlo <ruv@ruv.net>