Document the shared pipeline and verify the cutover
This commit is contained in:
@@ -8,7 +8,7 @@ retention workflow belong in [Operations](../operations.md#local-state-layout).
|
||||
|
||||
## Path Ownership
|
||||
|
||||
`internal/artifacts` owns canonical session, run, spool, cache, and
|
||||
`internal/artifacts` owns canonical session, run, and
|
||||
previous-cache path construction. `SessionPathsFor` provides the session-scoped
|
||||
path model, and layout creation goes through `EnsureLayoutFor`. Callers should
|
||||
consume those helpers instead of rebuilding relative paths.
|
||||
@@ -32,13 +32,11 @@ materialized into canonical session paths before stage success. Managed
|
||||
previous-session cache paths remain session-durable and are never redirected
|
||||
into run-local output space.
|
||||
|
||||
Polish uses run-local transcript, report/log, and debug destinations; validation
|
||||
probes use `runs/.validation`. These are not latest-attempt views.
|
||||
|
||||
Extraction uses run-local receipt, stderr, and output-root helpers, then
|
||||
validates and renames the external bundle to the unique immutable Notarius
|
||||
bundle path supplied by `internal/artifacts`. Exact physical paths belong in
|
||||
[Operations](../operations.md#extraction-workflow).
|
||||
Polish and extraction write to actual run-local output, log, and debug paths.
|
||||
Each attempt advances managed relative `logs/<stage>` and `debug/<stage>` links;
|
||||
skips do not rotate them. Restore has its own diagnostic attempt. Extraction
|
||||
promotes validated lanes to flat artifacts and retains the original bundle in
|
||||
the producing run. See [Operations](../operations.md#local-state-layout).
|
||||
|
||||
Prepared references delivered to Notarius use session-durable paths owned by
|
||||
`internal/artifacts` beneath
|
||||
@@ -93,7 +91,7 @@ syntax and exact deletion scope belong in [CLI](../cli.md#session-clean) and
|
||||
- Path model and local store: `internal/artifacts/paths.go`,
|
||||
`internal/artifacts/local.go`
|
||||
- Run-local materialization: `internal/stage/run_local.go`
|
||||
- Immutable bundle installation: `internal/stage/extract.go`
|
||||
- Bundle validation and product promotion: `internal/stage/extract.go`
|
||||
- Workspace modes: `internal/fileops/modes.go`
|
||||
- Cleanup confinement: `internal/fileops/cleanup.go`,
|
||||
`internal/stage/cleanup.go`, `internal/stage/cleanup_plan.go`, and
|
||||
|
||||
Reference in New Issue
Block a user