Document the inventory-only publication reader
This commit is contained in:
@@ -221,8 +221,8 @@ identity before replacing a canonical local path.
|
|||||||
|
|
||||||
Core helpers:
|
Core helpers:
|
||||||
|
|
||||||
- `LoadCurrentInventory` and `LoadCurrentState`
|
- `LoadCurrentInventory`, returning the selected `CurrentState`
|
||||||
- `ValidateCurrentStateIdentity`
|
- `CurrentStateValidation`, supplying optional expected publication identity
|
||||||
- `RemoteCommitManifest` and `CurrentCommitPointer`
|
- `RemoteCommitManifest` and `CurrentCommitPointer`
|
||||||
|
|
||||||
Typed missing-state error:
|
Typed missing-state error:
|
||||||
@@ -233,7 +233,12 @@ Identity validation supports caller-provided expectations:
|
|||||||
|
|
||||||
- expected campaign;
|
- expected campaign;
|
||||||
- expected session ID;
|
- 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:
|
Caller policy is intentionally outside artifacts helpers:
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,12 @@ inspection behavior.
|
|||||||
|
|
||||||
## 4. P3: Remove retired execution-snapshot APIs from internal documentation
|
## 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.
|
Affected stages: 8, 9, and 13.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user