1.8 KiB
1.8 KiB
12. /pygienium-all master orchestrator
meta: id: pygienium-12 feature: pygienium priority: P2 depends_on: [pygienium-07, pygienium-08, pygienium-09, pygienium-10, pygienium-11] tags: [orchestration]
objective:
- Implement
/pygienium-all: run every registered check in sequence as ordered phases under a unified status strip, with resumable state and a final summary report.
deliverables:
src/modes/all.ts:runAllChecks(opts)iterating the registry, callingrunCheckper check with shared recon, accumulating per-check status into run-state, writingpygienium/all-summary.md/pygienium-allcommand wired in index.ts with phase strip listing all check names- Respects
--fresh,--fix, and--only=comments,complexityto select a subset
steps:
- Implement
runAllChecks: init a single run (mode "all"), run shared recon once, then for each registered check callrunCheckwith the existing run-state record (not a fresh one per check) - Build the phase strip from registry names; set initial phase to the first check
- Aggregate final summary: per-check status, artifact paths, total findings/changes counts
- Support
--onlyfiltering via the command-target parser
tests:
- Integration: run
/pygienium-allon a small repo; assert every check ran, run-state shows all complete, all-summary.md present
acceptance_criteria:
/pygienium-allruns every registered check exactly once in registry order- Interrupted runs are resumable (in_progress/failed checks re-run; complete ones skipped unless
--fresh) - all-summary.md lists per-check outcomes
validation:
- Inspect
pygienium/run-state.jsonandpygienium/all-summary.md
notes:
- This is the piolium "balanced"/"deep" mode analogue, but simpler: one run, sequential phases, shared recon
- Ensure scheduler is not needed (sequential) unless we later parallelize independent checks