Publish products without execution ledgers

This commit is contained in:
2026-12-02 15:50:59 +00:00
parent ebdf8b522f
commit 4f50a57a38
21 changed files with 115 additions and 359 deletions

View File

@@ -15,7 +15,7 @@ Upload run/session outputs to object storage and atomically advance remote curre
## Outputs
- uploaded session manifest, prepared campaign/session/party inputs, declared
- uploaded prepared campaign/session/party inputs, declared
run-local diagnostics, and selected publish outputs;
- uploaded durable previous-session cache files when present;
- immutable run-scoped commit manifest; and
@@ -31,8 +31,8 @@ manifest-derived archive metadata, confined opening, and checksum validation
live in `publish_sources.go`; artifact-catalog matching, selection, required
and optional rules, destination resolution, and collision inputs live in
`publish_outputs.go`. Copying, hashing, immutable upload, reuse checks, and
remote verification live in `publish_transfer.go`; committed-manifest,
immutable-commit, and current-pointer encoding and writes live in
remote verification live in `publish_transfer.go`; immutable-commit and
current-pointer encoding and writes live in
`publish_commit.go`. `publish_output_plan.go` owns the deterministic, I/O-free
five-outcome model and its secret-free metadata projection. Prepared input
objects are committed under the immutable run; the committed standalone session
@@ -53,7 +53,7 @@ supports remote loading when no authored session override is available. The
- opens each archive candidate beneath its archive root without following
symlinked ancestors or leaf entries, verifies that it is a regular file and
checks a declared checksum when present, then streams the opened descriptor.
- derives the durable previous-cache archive from its validated manifest using
- derives the durable previous-cache archive from recorded previous inputs using
the same confinement and regular-file checks.
- resolves publish output sources through runtime artifact catalog and
manifest-aware resolution. Configured Scriptorium outputs are publishable
@@ -106,8 +106,8 @@ Includes counts/lists for:
## Invariants
- `current/commit-pointer.json` is the remote commit marker and is written last.
- run files, selected outputs, previous-cache files, and the committed session
manifest are all declared by an immutable commit under the run prefix.
- run files, selected outputs, and previous-cache files are declared by an
immutable commit under the run prefix. Execution ledgers are not published.
- run and previous uploads contain only manifest-declared regular files opened
from verified descriptors. Symlinks, special files, and changed declared
content are rejected; undeclared entries are ignored. A later invalid source