Give each CLI run its own invocation lifecycle
This commit is contained in:
@@ -488,6 +488,11 @@ remain independently verifiable; avoid a generic string-named stage dispatcher.
|
||||
|
||||
### CAT-023 — CLI Declaration And Invocation Lifecycle Are Entangled
|
||||
|
||||
**Status:** Resolved. The native declaration creates a per-invocation owner for
|
||||
execution, capture finalization, publication state, and reporting. Regressions
|
||||
cover combined causes and published versus unpublished locations; existing CLI
|
||||
and integration checks and affected CLI race checks pass.
|
||||
|
||||
**Assessment:** Local maintainability opportunity; original medium.
|
||||
|
||||
**Source:** [CPLX-006](03-complexity.md#cplx-006--the-run-command-owns-declaration-and-the-whole-invocation-lifecycle).
|
||||
|
||||
@@ -591,6 +591,12 @@ full tests/vet/build at this milestone. Update pipeline/state internals.
|
||||
|
||||
## Stage 20 — Give CLI Invocation A Private Lifecycle Owner
|
||||
|
||||
**Completed.** The native declaration creates a private invocation owner for
|
||||
configuration, execution, publication, capture finalization, and reporting;
|
||||
mutable lifecycle state is no longer captured by the declaration. Regressions
|
||||
cover combined causes and publication locations. CLI and integration suites and
|
||||
affected CLI race tests pass; existing delivery and allocation coverage remains.
|
||||
|
||||
**Coverage:** CAT-023. **Prerequisites:** Stages 13, 17–19.
|
||||
|
||||
Reduce pipelineRunCommand in internal/cli/pipeline_run.go to native declaration
|
||||
|
||||
Reference in New Issue
Block a user