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

@@ -20,8 +20,8 @@ The [Core And Integration API Roadmap](../core-integration-api.md) established
the core/integration boundary. The reassessment below distinguishes its completed
work from the remaining audit remediation.
The **45 original finding entries** reduce to **21 outstanding catalog entries
and thirteen resolved entries**. Repeated responsibility findings are
The **45 original finding entries** reduce to **20 outstanding catalog entries
and fourteen resolved entries**. Repeated responsibility findings are
merged. Regression gaps are attached to the defects they protect rather than
counted as additional runtime bugs. In particular, TEST-001, TEST-002, and
TEST-004 each cover several distinct defects; TEST-003's native-fixture oracle
@@ -65,7 +65,7 @@ Original P2/P3 ratings and relative refactoring priorities are retained for
context; they are not one universal severity scale. No audit establishes a P1
incident or a measured end-to-end production speedup.
CAT-001, CAT-002, CAT-004, CAT-005, CAT-007, CAT-011, CAT-012, CAT-013, CAT-015,
CAT-001, CAT-002, CAT-003, CAT-004, CAT-005, CAT-007, CAT-011, CAT-012, CAT-013, CAT-015,
CAT-016, CAT-027, CAT-032, and CAT-034 are resolved;
the other entries remain outstanding. The original reports and their baseline
observations are historical.
@@ -76,7 +76,7 @@ may share files without representing the same underlying issue; they should be
coordinated rather than silently treated as duplicates.
**Migration overlap:** Lazy [operation evidence](../../../internal/framework/pipeline/operation.go)
addresses part of CAT-003, not all run-wide capture allocation. Core operation
and guarded run-wide projections resolve CAT-003. Core operation
ownership and the [internal guides](../../internal/modules.md) clarify portions
of CAT-014/017/018/022/025/032, without completing their broader layout,
copying, runner, writer-obligation, or package-cohesion work. CAT-006/008/009
@@ -123,6 +123,13 @@ No new timestamp-magnitude restriction is needed.
**Assessment:** Source-established resource-efficiency weakness; original P2.
**Status:** Resolved. Guards precede source, input, chunk-plan and deferred chunk
outcome, lane, merge, normalize, output, and evidence-summary projections. The
operation input/result, candidate assessment, cache observation, and native
evaluation capture paths were inspected and already guard their projections.
Mandatory artifact encoding remains unconditional; focused tests cover lazy
evaluation and enabled, cached, fallback, and failing capture paths.
**Source:** [RES-001](05-resources.md#res-001--disabled-capture-still-constructs-large-evidence-payloads).
Ordinary runs construct text/base64, chunk, artifact, and output envelopes before