Accept shared source capture and convenient operation evidence
This commit is contained in:
@@ -418,6 +418,12 @@ breached size promise or a preapproved removal. Account for direct EvidenceWrite
|
|||||||
consumers and keep actual inputs recoverable, native evidence complete, and
|
consumers and keep actual inputs recoverable, native evidence complete, and
|
||||||
required-capture failures visible. No silent truncation, quotas, or deletion.
|
required-capture failures visible. No silent truncation, quotas, or deletion.
|
||||||
|
|
||||||
|
**Subsequent decision:** [Discussion Item 2](discussion.md#2-convenient-debug-evidence-and-repeated-full-source-capture)
|
||||||
|
selects sharing original input and complete parsed source once per run through
|
||||||
|
the operation capture destination. Operation-specific inputs, selected references,
|
||||||
|
and convenient native evidence remain directly inspectable. General deduplication
|
||||||
|
is out of scope; implementation remains pending.
|
||||||
|
|
||||||
### CAT-025 — Extension Concurrency And Capture Obligations Are Implicit
|
### CAT-025 — Extension Concurrency And Capture Obligations Are Implicit
|
||||||
|
|
||||||
**Assessment:** Documentation/extension-contract clarity gap; original P3;
|
**Assessment:** Documentation/extension-contract clarity gap; original P3;
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ documentation during implementation, preserving accepted ADR bodies.
|
|||||||
## 2. Convenient Debug Evidence And Repeated Full-Source Capture
|
## 2. Convenient Debug Evidence And Repeated Full-Source Capture
|
||||||
|
|
||||||
**Findings:** CAT-024; distinguish the independent CAT-003 fix.
|
**Findings:** CAT-024; distinguish the independent CAT-003 fix.
|
||||||
**Status:** Open representation decision.
|
**Status:** Accepted; implementation pending.
|
||||||
|
|
||||||
Repeating a full source for every chunk and lane has a credible capacity cost,
|
Repeating a full source for every chunk and lane has a credible capacity cost,
|
||||||
including on cache hits. Self-contained operation evidence also serves the
|
including on cache hits. Self-contained operation evidence also serves the
|
||||||
@@ -84,19 +84,29 @@ deliberate convenience goal recorded in
|
|||||||
[ADR-0024](../../adr/0024-publish-artifacts-with-native-reports-and-debug-evidence.md).
|
[ADR-0024](../../adr/0024-publish-artifacts-with-native-reports-and-debug-evidence.md).
|
||||||
|
|
||||||
Choose the most convenient representation, not automatically the most concise,
|
Choose the most convenient representation, not automatically the most concise,
|
||||||
complete, or deduplicated one. Consider sharing bulky immutable whole-source
|
complete, or deduplicated one. Share whole-source material while keeping
|
||||||
material while keeping operation-specific inputs, prepared messages, and native
|
operation-specific evidence directly readable.
|
||||||
exchanges directly inspectable. Evaluate that proposal through a concrete task:
|
|
||||||
opening the evidence for one failed extraction and understanding its actual input.
|
|
||||||
|
|
||||||
Questions to settle:
|
**Accepted decisions:**
|
||||||
|
|
||||||
- Which repeated material is useful at each operation, and which would be just
|
- Capture the original input and complete parsed source once per run. Operation
|
||||||
as convenient through a clear bundle-local reference?
|
inputs clearly reference that shared material through logical bundle paths.
|
||||||
- Can an operator inspect a failure without assembling inputs manually or needing
|
- Keep the particular chunk, operation selection, selected reference contents,
|
||||||
a new reconstruction tool?
|
and incoming artifacts directly in operation evidence initially.
|
||||||
- How would direct `EvidenceWriter` consumers retain useful evidence when they
|
- Preserve convenient native representations of prepared messages, responses,
|
||||||
do not have a CLI filesystem bundle containing shared material?
|
and exchanges, including useful duplication. Reading the actual prepared
|
||||||
|
request must not require reconstructing it from fragments.
|
||||||
|
- Accept bundle-level completeness for whole-source context. Copying the complete
|
||||||
|
bundle preserves that context; an isolated operation directory need not be
|
||||||
|
independently portable with the entire transcript.
|
||||||
|
- Write shared source material through the same capture destination that receives
|
||||||
|
operation evidence. Explicit `EvidenceWriter` consumers receive both the shared
|
||||||
|
records and operation records, without assuming a CLI filesystem root or files
|
||||||
|
written to another sink. References use logical paths, not a requirement for
|
||||||
|
filesystem symlinks or a reconstruction tool.
|
||||||
|
- Limit sharing to whole-source material for this remediation. Do not introduce
|
||||||
|
general content deduplication, additional identities, or configurable capture
|
||||||
|
modes. Reconsider other repeated material only when concrete usage warrants it.
|
||||||
|
|
||||||
Preserve actual inputs and available native evidence, secret-aware omissions,
|
Preserve actual inputs and available native evidence, secret-aware omissions,
|
||||||
and requested-capture failure behavior. No silent truncation, quotas, automatic
|
and requested-capture failure behavior. No silent truncation, quotas, automatic
|
||||||
@@ -104,7 +114,10 @@ deletion, or new scrubbing machinery is proposed. CAT-003 can independently guar
|
|||||||
expensive evidence construction when capture is disabled without changing any
|
expensive evidence construction when capture is disabled without changing any
|
||||||
enabled-capture representation.
|
enabled-capture representation.
|
||||||
|
|
||||||
**Decision:** Pending.
|
Reconcile the selected representation with ADR-0024 and current operation-input
|
||||||
|
tests during implementation; private debug filenames remain implementation details.
|
||||||
|
|
||||||
|
**Decision:** Accepted as above. No open representation choices remain in this item.
|
||||||
|
|
||||||
## 3. Process Signals And Cooperative Cancellation
|
## 3. Process Signals And Cooperative Cancellation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user