diff --git a/docs/internal/artifacts.md b/docs/internal/artifacts.md index 94a0c7c..2d18368 100644 --- a/docs/internal/artifacts.md +++ b/docs/internal/artifacts.md @@ -221,8 +221,8 @@ identity before replacing a canonical local path. Core helpers: -- `LoadCurrentInventory` and `LoadCurrentState` -- `ValidateCurrentStateIdentity` +- `LoadCurrentInventory`, returning the selected `CurrentState` +- `CurrentStateValidation`, supplying optional expected publication identity - `RemoteCommitManifest` and `CurrentCommitPointer` Typed missing-state error: @@ -233,7 +233,12 @@ Identity validation supports caller-provided expectations: - expected campaign; - expected session ID; -- expected run ID, or pointer/manifest run-ID consistency check. +- expected publication run ID. + +The reader always checks campaign, session, and run identity agreement between +the current pointer and selected publication inventory. It verifies the selected +inventory's namespace, size, checksum, and storage generation. These reads use +the pointer and inventory; execution-snapshot bodies are not fetched. Caller policy is intentionally outside artifacts helpers: diff --git a/docs/roadmap/remediation.md b/docs/roadmap/remediation.md index 3807388..582051e 100644 --- a/docs/roadmap/remediation.md +++ b/docs/roadmap/remediation.md @@ -126,7 +126,12 @@ inspection behavior. ## 4. P3: Remove retired execution-snapshot APIs from internal documentation -Status: Open +Status: Complete + +Resolution: artifact internals now identify `LoadCurrentInventory`, +`CurrentState`, and `CurrentStateValidation`, and describe publication +pointer/inventory identity checks. Compared directly with `current_state.go` +and `current_state_commit.go`; verified with `go test ./internal/doccheck`. Affected stages: 8, 9, and 13.