Honor remote session authoring updates after publication

This commit is contained in:
2026-11-18 04:08:43 +00:00
parent 435ec79185
commit 97a93d3393
5 changed files with 56 additions and 19 deletions

View File

@@ -43,12 +43,15 @@ When `--session` is omitted, local search order is:
2. `/etc/narratio/session.yml`
If no local session exists and a `session_id` is known, Narratio loads the
session from configured object storage. It selects the prepared session in the
current committed run when available; if no current pointer exists or an older
commit has no prepared session, it falls back to the session-init `session.yml`
object. Downloaded session bytes are contextless snapshots, with remote object
session from configured object storage. Downloaded session bytes are contextless
snapshots, with remote object
provenance retained independently of locally materialized checksums.
Remote loading prefers an authored session-root `session.yml`, including updates
from `session init --remote --force`. When that object is absent, loading falls
back to the current commit's standalone prepared session. Published snapshots
remain immutable; restore validates the pointer-selected committed state.
### Read-only effective pipeline inspection
`narratio config validate`, `narratio config show`, `narratio config sources`,

View File

@@ -35,8 +35,9 @@ remote verification live in `publish_transfer.go`; committed-manifest,
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; remote session loading selects
the committed standalone session through the current pointer.
objects are committed under the immutable run; the committed standalone session
supports remote loading when no authored session override is available. The
[configuration reference](../config.md#sessionyml) owns input selection.
- when publishing or run upload is disabled, completes successfully with no
outputs and records explanatory metadata. This is not an explicit self-skip:

View File

@@ -189,6 +189,10 @@ configuration owner without adding remote companion retrieval.
## 6. P2: Reconcile remote session updates with committed-session selection
Status: Complete. Authored remote input takes precedence for later commands;
committed snapshots remain immutable fallback input and restore authority.
Publication/update regression coverage checks changed title and audio selection.
Stage: 7, interacting with the existing initializer and shared command loader
from Stages 2 and 4.