fix(pi-workflow): consume interrupted implementation recovery
This commit is contained in:
@@ -70,7 +70,7 @@ An analysis run uses `action: "start"` with `workflow: { mode: "analysis-script"
|
||||
|
||||
## Recovery
|
||||
|
||||
Interrupted work opens a Recovery Gate with retry, inspect, and abort choices. Completed Assignments and Decisions remain persisted. Potentially mutating interrupted Assignments are preserved and are not replayed automatically; an explicit retry creates newly fenced work where policy permits it. Startup recovery leaves an idle run already waiting at Recovery under its current parent instead of letting another Pi session claim it. If that parent's process has exited, an explicit retry from a previously attached parent session may reclaim the stale lease before continuing. Retry clears prior failed-command output and reruns verification from a pending state.
|
||||
Interrupted work opens a Recovery Gate with retry, inspect, and abort choices. Completed Assignments and Decisions remain persisted. Potentially mutating interrupted Assignments are preserved and are not replayed automatically; an explicit retry creates newly fenced work where policy permits it. Startup recovery leaves an idle run already waiting at Recovery under its current parent instead of letting another Pi session claim it. If that parent's process has exited, an explicit retry from a previously attached parent session may reclaim the stale lease before continuing. Retry clears prior failed-command output and reruns verification from a pending state. Once remediation completes the Implement stage, an older interrupted mutating Assignment no longer triggers duplicate remediation on later retries.
|
||||
|
||||
## Artifacts
|
||||
|
||||
|
||||
@@ -520,6 +520,7 @@ On process or session interruption:
|
||||
- Potentially mutating Assignments are never replayed automatically.
|
||||
- The run opens a Recovery Gate offering retry, inspect, or abort.
|
||||
- Explicit retry resets failed verification commands to pending and clears their prior output before host execution.
|
||||
- An interrupted mutating Assignment routes to remediation only while the Implement stage is incomplete; after remediation completes that stage, later retries continue into verification.
|
||||
- Completed Assignments and accepted Decisions remain intact.
|
||||
|
||||
## Child Execution
|
||||
|
||||
Reference in New Issue
Block a user