40 lines
1.7 KiB
Markdown
40 lines
1.7 KiB
Markdown
|
|
# ADR-0027: Share whole-source capture evidence
|
||
|
|
|
||
|
|
**Status:** Accepted
|
||
|
|
**Date:** 2026-11-25
|
||
|
|
|
||
|
|
## Context
|
||
|
|
|
||
|
|
Requested evidence repeated the original input and complete parsed source in
|
||
|
|
many operation records. This made larger bundles harder to navigate without
|
||
|
|
improving the availability of chunk-level context or native request history.
|
||
|
|
|
||
|
|
## Decision
|
||
|
|
|
||
|
|
Record original input and validated parsed source once at logical bundle-root
|
||
|
|
paths in the selected evidence sink. Operation and run records identify those
|
||
|
|
records with explicitly labeled bundle-root references. An explicit execution
|
||
|
|
writer takes precedence over an enabled debug recorder; shared records and their
|
||
|
|
consumers use the same selected sink. Available evidence remains on failure.
|
||
|
|
|
||
|
|
Chunks, selections, references, incoming artifacts, and native prepared
|
||
|
|
messages, responses, and exchanges remain directly readable. No symlinks,
|
||
|
|
filesystem-root assumptions, or reconstruction tool are required. Requested
|
||
|
|
capture remains required work; no sanitization, retention, or access-policy
|
||
|
|
guarantee is added. This narrowly supersedes the whole-source duplication choice
|
||
|
|
in [ADR-0024](0024-publish-artifacts-with-native-reports-and-debug-evidence.md).
|
||
|
|
|
||
|
|
## Alternatives considered
|
||
|
|
|
||
|
|
- Repeat the entire source in every operation: convenient in isolation, but
|
||
|
|
needlessly duplicates run-wide context.
|
||
|
|
- Replace all repeated content with references: makes ordinary operation and
|
||
|
|
native request inspection less convenient than selected.
|
||
|
|
|
||
|
|
## Consequences
|
||
|
|
|
||
|
|
A complete bundle provides source context without each operation directory
|
||
|
|
being self-contained. Logical references are private evidence representation,
|
||
|
|
not a new durable reporting protocol. Operators continue to own access and
|
||
|
|
retention of potentially sensitive evidence.
|