Give each CLI run its own invocation lifecycle
This commit is contained in:
@@ -90,7 +90,9 @@ Framework/model code transports it rather than deriving another session.
|
||||
|
||||
## Run Orchestration
|
||||
|
||||
[pipeline_run.go](../../internal/cli/pipeline_run.go) performs the ordered handoff:
|
||||
The native command declaration in [pipeline_run.go](../../internal/cli/pipeline_run.go)
|
||||
creates a private owner for each invocation. That owner performs the ordered
|
||||
handoff and keeps capture and publication state local to that run:
|
||||
|
||||
1. Load/validate the selected application result and derive runtime configuration.
|
||||
2. Generate a safe run identity and allocate requested capture. If enabled,
|
||||
|
||||
@@ -106,7 +106,7 @@ writes files with confined atomic helpers. This is per-file publication, not
|
||||
an all-files transaction. A later write can leave a partial new directory;
|
||||
existing siblings are preserved. No rollback deletes available artifacts.
|
||||
|
||||
After complete publication, the run handler finalizes requested capture before
|
||||
After complete publication, the private invocation owner finalizes requested capture before
|
||||
[reportRunResult](../../internal/cli/run_result.go) submits the small native
|
||||
completion value. The report is not automatically persisted or required to decode
|
||||
domain files. No index, manifest, receipt, or process-diagnostic sidecar is emitted.
|
||||
|
||||
Reference in New Issue
Block a user