Document S3 planning and close the audit finding

This commit is contained in:
2026-12-02 13:16:14 +00:00
parent c1f43de5f9
commit 59e324a8aa
8 changed files with 51 additions and 17 deletions

View File

@@ -41,7 +41,8 @@ their scope. Unless assigned otherwise, a finding remains independent audit
remediation. Shared code does not make a refactoring a prerequisite or assign
the whole finding to a roadmap.
Ten entries are closed by the safety, transfer, and audio discovery work; 33
Eleven entries are closed by the safety, transfer, audio discovery, and S3
planning work; 32
remain open. **Planned** identifies an agreed remedy awaiting
implementation. **Potentially eliminated** requires verification that the offending
lifecycle is removed. **Coordinate** identifies shared changes, not a commitment
@@ -408,19 +409,24 @@ Related: [CAT-13](#cat-13--p2-give-s3-session-planning-the-evidence-needed-for-t
### CAT-13 — P2: Give S3 session planning the evidence needed for truthful reuse decisions
Status: Open
Status: Closed
**Disposition / owner.** Independent planning/preflight remediation — the [agreed decision](discussion.md#3-inspect-s3-when-planning-and-preflighting)
selects read-only S3 checks for both commands. Coordinate with the
[restore roadmap's planning changes](../session-restore.md#preparation-and-readiness-support-artifact-only-execution);
skipping covered audio work does not fix planning for raw-audio sessions. Use the
[audio roadmap's shared selection rules](../audio-inputs.md#one-selection-responsibility)
when composing raw-audio evidence; discovery consolidation alone does not supply
the missing remote collaborator.
**Disposition / owner.** Implemented and verified under the
[planning/preflight decision](discussion.md#3-inspect-s3-when-planning-and-preflighting).
**Closure.** Planning supplies the object store to the shared preparation
validator for eligible S3 reuse. Unavailable evidence reports an unverified
source and preserves the normal rerun. The application regressions in
[`plan_s3_test.go`](../../../internal/app/plan_s3_test.go) and
[`session_readiness_test.go`](../../../internal/app/session_readiness_test.go)
cover observed reuse, change, access failure, and preflight cancellation;
[`prepare_resume_test.go`](../../../internal/stage/prepare_resume_test.go)
covers unavailable and insufficient identity evidence. Full tests, race tests,
vet, and build pass on Go 1.27.4.
Original findings: [FC-03](01-correctness.md#fc-03--p2-session-planning-reports-reusable-s3-preparation-as-changed).
**Issue.** The planning projection omits the object store needed to inspect S3
**Original issue.** The planning projection omits the object store needed to inspect S3
audio identities. Resume converts that missing collaborator into 'inputs changed',
so plan can predict prepare reruns and dependent invalidation while actual
execution reuses identical evidence.

View File

@@ -201,7 +201,7 @@ importing published artifacts._
## 3. Inspect S3 when planning and preflighting
Status: Read-only S3 checks agreed
Status: Implemented and verified
Finding: [CAT-13](catalog.md#cat-13--p2-give-s3-session-planning-the-evidence-needed-for-truthful-reuse-decisions).
@@ -233,6 +233,14 @@ should be identified as such rather than reported as proven content change.
Use existing command failure/reporting conventions where they fit. The lookup
does not guarantee that S3 remains unchanged between planning and execution.
### Completion
The [source diagnostic](https://forge.maximumdirect.net/eric/narratio/commit/c0c8a95f7c93a2908cbe82c53f31119bd23da468),
[planning composition](https://forge.maximumdirect.net/eric/narratio/commit/11de2262a0d7b3f17118b00fa26a6ca85ae5479e),
and [preflight verification](https://forge.maximumdirect.net/eric/narratio/commit/c1f43de5f98a0b8cda0fe9e97e791b72d940a838)
implement the decision. The [catalog closure](catalog.md#cat-13--p2-give-s3-session-planning-the-evidence-needed-for-truthful-reuse-decisions)
links the regression coverage and validation.
Operator response:
_Read-only S3 checks approved; no further product choice identified here._

View File

@@ -1,6 +1,6 @@
# CAT-13: Accurate S3 Planning and Preflight Checks
Status: Pending
Status: Complete
## Purpose and scope
@@ -163,7 +163,7 @@ avoid incidental exact call counts or ordering.
## Stage 4: Document the boundary and close CAT-13
Status: Pending
Status: Complete
1. Update [CLI planning semantics](../cli.md#session-plan) to explain read-only
remote source inspection, existing action/reason reporting for unverified