Give each CLI run its own invocation lifecycle

This commit is contained in:
2026-11-26 02:19:32 +00:00
parent b85467cc3c
commit add2811a64
6 changed files with 218 additions and 149 deletions

View File

@@ -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,