Skip debug projections when capture is disabled

This commit is contained in:
2026-11-26 01:49:29 +00:00
parent d0cc20c539
commit f49238c787
8 changed files with 144 additions and 99 deletions

View File

@@ -392,6 +392,14 @@ these packages under `-race`. Update overview/LLM/state package pointers.
## Stage 12 — Avoid Disabled-Capture Construction
**Completed.** Run-wide source, chunk, lane, artifact, output, and evidence-summary
projections are constructed only for enabled debug capture; deferred chunk
outcome projection is guarded by the operation's effective capture writer.
Existing operation-input, result, assessment, and evaluation projections were
inspected and already guard construction. Mandatory artifact serialization is
unchanged. Focused projection, pipeline, capture, and integration tests pass;
subsequent source-sharing and runner decomposition must retain these guards.
**Coverage:** CAT-003. **Prerequisites:** Stage 11.
Inspect debug.go, runner.go, runner_chunk_plan.go, runner_concurrent.go,