EXP-010: Capture Plan Admission and Evidence Acquisition¶
This Reference preserves the recorded requirement contract.
The front matter states its lifecycle status; this editorial notice does not change that status.
An ACTIVE contract is not a historical implementation or qualification result.
The statement, rationale, identifiers, and traceability below keep their recorded meaning.
The original file is available at source revision 6d35d245f11a.
Statement¶
APTL shall consume ACES experiment-capture-spec-v1 artifacts and compare their required sources, scopes, windows, formats, and fidelity constraints with declared backend observation capabilities before execution. Admission shall produce a versioned capture plan. Unsupported required capture shall fail closed; optional degradation shall require an explicit limitation and comparability disclosure. Pluggable collectors shall emit raw experiment-evidence-record-v1 artifacts with source, clock, loss, sensitivity, checksum, and provenance metadata and shall never expose participant-hidden or secret-bearing data outside the authorized capture boundary.
Rationale¶
A research apparatus must know before a trial whether it can observe what the protocol requires. Capture capability negotiation and raw evidence provenance prevent silent missing data, invented completeness, and backend-private collector formats.
Traceability¶
- DOCUMENTS → GITHUB_ISSUE
Brad-Edwards/aptl#752(EXP-010: Capture plan admission and evidence acquisition) - IMPLEMENTS → CODE_FILE
src/aptl/core/experiment/capture_registry.py(Collector registry: deterministic capture-requirement match + observation projection) - IMPLEMENTS → CODE_FILE
src/aptl/core/experiment/capture_mapping.py(bind_capture_requirements: registry-backed fail-closed admission entry point) - IMPLEMENTS → CODE_FILE
src/aptl/core/experiment/trial_plan.py(Capture bindings pinned into the canonical trial-plan bytes (schema v2)) - IMPLEMENTS → CODE_FILE
src/aptl/core/experiment/policy.py(CaptureLimitationAcceptance: required-by-default capture + auditable degradation) - IMPLEMENTS → CODE_FILE
src/aptl/core/experiment/admission.py(admit_experiment: bind capture requirements against the registry and pin into the plan) - IMPLEMENTS → PULL_REQUEST
Brad-Edwards/aptl#810(EXP-010 PR 1 of 2: capture-admission foundation) - TESTS → TEST
tests/test_capture_registry.py(Registry: ID validation, 11-axis match, determinism, observation projection) - TESTS → TEST
tests/test_manifest_observation.py(Manifest observation: honest-None default + populated-projection contract-gap invariant) - TESTS → TEST
tests/test_experiment_capture_mapping.py(bind_capture_requirements: fail-closed baseline, success path, degradation) - TESTS → TEST
tests/test_experiment_admission.py(End-to-end admitted-capture path + zero-mutation fail-closed) - TESTS → TEST
tests/test_experiment_trial_plan.py(Capture-binding pinning + determinism in the canonical trial plan) - IMPLEMENTS → CODE_FILE
src/aptl/core/evidence/coordinator.py(Evidence coordinator: start/run/stop-in-finally + terminal-semantics dispositions) - IMPLEMENTS → CODE_FILE
src/aptl/core/evidence/content_store.py(Content-addressed streaming + run-scoped create-once persistence (quotas, no-follow, digest verify)) - IMPLEMENTS → CODE_FILE
src/aptl/core/evidence/records.py(ACES experiment-evidence-record-v1 construction with content-derived identity) - IMPLEMENTS → CODE_FILE
src/aptl/core/evidence/_persist.py(Per-outcome persistence: media check, structured redaction, limit enforcement, evidence ledger) - IMPLEMENTS → CODE_FILE
src/aptl/core/evidence/protocol.py(Narrow Collector protocol + immutable CollectorContext/RunScope (no controller/store/paths)) - IMPLEMENTS → CODE_FILE
src/aptl/core/evidence/adapters/sources.py(Windowed-query collector framework distinguishing source failure from legitimate emptiness) - IMPLEMENTS → CODE_FILE
src/aptl_techvault/capture_registrations.py(TechVault's admitted collector registrations and observation offers) - IMPLEMENTS → PULL_REQUEST
Brad-Edwards/aptl#811(EXP-010 PR 2 of 2: evidence acquisition) - TESTS → TEST
tests/test_evidence_coordinator.py(Coordinator: terminal dispositions, reverse-order stop, limit enforcement, key scoping, trial-body lifecycle) - TESTS → TEST
tests/test_evidence_records.py(Evidence records: identity determinism + ACES conformance round-trip + loss disclosure) - TESTS → TEST
tests/test_evidence_security.py(Secret redaction in stored bytes, participant-visibility projection, hostile symlink fails closed) - TESTS → TEST
tests/test_evidence_correlation.py(Acquired evidence refs integrate with the #447 correlation projection) - TESTS → TEST
tests/test_runstore_content_store.py(Content-addressed persistence: quotas during streaming, no-follow, digest verify, idempotency) - IMPLEMENTS → CODE_FILE
src/aptl/backends/raes_manifest.py - IMPLEMENTS → GITHUB_ISSUE
Brad-Edwards/aptl#992(Backend-owned evidence capture with RAE scope semantics) - IMPLEMENTS → CODE_FILE
src/aptl/core/experiment/capture_plan.py(Canonical RAES demand compilation, exact offer matching, and immutable apparatus admission) - IMPLEMENTS → CODE_FILE
src/aptl/backends/raes_observability_scope.py(Closed-scope prohibition and minimum-intrusion selection for open scopes) - IMPLEMENTS → CODE_FILE
src/aptl/backends/raes_evidence_acquisition.py(Native evidence and full-session transcript lifecycle acquisition) - IMPLEMENTS → CODE_FILE
src/aptl/backends/scenario_capture.py(Request-scoped installed capture contribution contract) - IMPLEMENTS → CODE_FILE
src/aptl/backends/scenario_capture_discovery.py(Exact pack/backend capture-provider selection and validation) - IMPLEMENTS → CODE_FILE
src/aptl_techvault/capture.py(TechVault capture declarations and bounded runtime operations) - IMPLEMENTS → CODE_FILE
src/aptl_techvault/evidence/techvault.py(Bounded TechVault source validation and evidence shaping) - IMPLEMENTS → CODE_FILE
src/aptl_techvault/evidence/techvault_native.py(Backend-native MISP, Suricata, and Wazuh acquisition) - IMPLEMENTS → CODE_FILE
src/aptl/core/deployment/_compose_capture_apparatus.py(Scope-admitted capture realization, activation, observation, and export) - IMPLEMENTS → CODE_FILE
src/aptl/backends/raes_runtime_attestation.py(Exact-release configuration corroboration) - IMPLEMENTS → DOCUMENTATION
docs/architecture/issue-992-backend-observability-ownership-preflight.md(Evidence ownership, intrusion, disclosure, and lifecycle contract) - TESTS → TEST
tests/test_backend_observability.py(Open/closed scope and minimum-intrusion apparatus selection) - TESTS → TEST
tests/test_capture_apparatus.py(Capture realization disclosure and fail-closed lifecycle controls) - TESTS → TEST
tests/techvault/test_raes_evidence.py(Canonical demand admission and unsupported-evidence rejection) - TESTS → TEST
tests/test_raes_evidence_acquisition.py(Native and transcript acquisition, tamper rejection, and terminal outcomes) - TESTS → TEST
tests/techvault/test_raes_native_evidence_truth.py(Exact evidence-to-proposition binding and cardinality) - TESTS → TEST
tests/test_raes_runtime_attestation.py(Exact-release attestation and drift rejection) - TESTS → TEST
tests/techvault/test_techvault_evidence_sources.py(TechVault native source validity and failure cases) - TESTS → TEST
tests/techvault/test_techvault_native_evidence.py(End-to-end native evidence owner contract) - TESTS → TEST
tests/test_pack_adapter_install_seam.py(Request-scoped capture registry and generic adapter-bound collector wiring)