Move native debug accounting into the CLI capture lifecycle

This commit is contained in:
2026-11-23 02:35:19 +00:00
parent 051a91e397
commit 88ebdbd819
5 changed files with 64 additions and 58 deletions

View File

@@ -92,6 +92,16 @@ GOWORK=off go test ./internal/cli ./internal/core/config ./internal/preflight
## Stage 2 — Move Debug Accounting To Its CLI Consumer
**Status:** Complete. Removed the runner group input, allocation, enrollment,
and implicit summary write. Requested CLI capture decorates the inherited
execution context with its own native group after allocation and writes one
snapshot immediately before finalization. The recorder's sticky errors preserve
operation causes and published artifacts. Direct runner reuse coverage now owns
its context/group and confirms no implicit summary file. Focused pipeline
capture, CLI recovery/run/debug tests pass, including summary-write failure after
publication and combined provider/capture/diagnostic failures; whitespace passes.
General option forwarding remains until the next stage.
**Goal:** Remove runner-owned groups and give requested debug capture ownership
of its native summary, without changing operation evidence.