Accept shared source capture and convenient operation evidence
This commit is contained in:
@@ -76,7 +76,7 @@ documentation during implementation, preserving accepted ADR bodies.
|
||||
## 2. Convenient Debug Evidence And Repeated Full-Source Capture
|
||||
|
||||
**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,
|
||||
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).
|
||||
|
||||
Choose the most convenient representation, not automatically the most concise,
|
||||
complete, or deduplicated one. Consider sharing bulky immutable whole-source
|
||||
material while keeping operation-specific inputs, prepared messages, and native
|
||||
exchanges directly inspectable. Evaluate that proposal through a concrete task:
|
||||
opening the evidence for one failed extraction and understanding its actual input.
|
||||
complete, or deduplicated one. Share whole-source material while keeping
|
||||
operation-specific evidence directly readable.
|
||||
|
||||
Questions to settle:
|
||||
**Accepted decisions:**
|
||||
|
||||
- Which repeated material is useful at each operation, and which would be just
|
||||
as convenient through a clear bundle-local reference?
|
||||
- Can an operator inspect a failure without assembling inputs manually or needing
|
||||
a new reconstruction tool?
|
||||
- How would direct `EvidenceWriter` consumers retain useful evidence when they
|
||||
do not have a CLI filesystem bundle containing shared material?
|
||||
- Capture the original input and complete parsed source once per run. Operation
|
||||
inputs clearly reference that shared material through logical bundle paths.
|
||||
- Keep the particular chunk, operation selection, selected reference contents,
|
||||
and incoming artifacts directly in operation evidence initially.
|
||||
- Preserve convenient native representations of prepared messages, responses,
|
||||
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,
|
||||
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
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user