Share source evidence through the selected capture sink

This commit is contained in:
2026-11-26 01:55:37 +00:00
parent f49238c787
commit 6133902b9b
15 changed files with 286 additions and 44 deletions

View File

@@ -1,7 +1,8 @@
# ADR-0024: Publish artifacts with native reports and debug evidence
**Status:** Accepted; the requirement for one native invocation ExecutionGroup is
partially superseded by [ADR-0025](0025-use-consumer-owned-execution-observation.md).
partially superseded by [ADR-0025](0025-use-consumer-owned-execution-observation.md),
and whole-source evidence representation by [ADR-0027](0027-share-whole-source-capture-evidence.md).
All other decisions remain accepted.
**Date:** 2026-11-22

View File

@@ -0,0 +1,39 @@
# 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.