Run downstream preflight after preparation

This commit is contained in:
2026-11-27 16:45:46 +00:00
parent b9b154e59e
commit d178e2c437
8 changed files with 256 additions and 34 deletions

View File

@@ -500,7 +500,14 @@ Do not duplicate adapter command tests or parse Audita's stderr into findings.
## Stage 14. Move execution preflight after preparation
Status: Pending
Status: Complete
Runner preflight now reprojects remaining work after preparation and checks
only selected downstream targets before stage attempts or forced invalidation.
Adapter composition is lazy and reuses invocation-owned runners. Focused
runner tests pass for preparation success/failure/reuse, preparation-induced
invalidation, preflight failure and retry, forced authority preservation,
prepare-only and fully reused invocations; cleanup and bounded checks also pass.
Start with `app/runner.go`, `runner_preflight.go`, `runner_composition.go`,
`runner_stage_execution.go`, `plan.go`, and the current runner/preflight tests.