Issue #86: Plans report remediated after aborting (false green) #95
Loading…
Reference in a new issue
No description provided.
Delete branch "issue/86-abort-false-green"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes three defects from #86: outcome derives from step exit codes (any nonzero/timed-out step without allow_failure => failed), aborted is a first-class execution status set by the agent on workflow abort, and verify gains an exit-code mode (expect: {command, exit_code}). verificationOutcome can no longer be fix_claimed when a step failed.
UCs: UC-MW-170 (new), UC-AG-68 (new), UC-MW-16/107/122, UC-AG-12/64 updated.
Gates: UC catalog, ai-headers, type-mirror clean; middleware 605 pass / 1 pre-existing UC-MW-19 fail; dashboard test/check/build green; agent go test: touched workflow pkg ok, pre-existing env failures only; gofmt clean.
Review: round-1 REVIEW: PARTIAL fixes applied (
9aee73b,64b673d); round-2 reviewer session was interrupted mid-fix, its partial edits preserved on branch killed-reviewer-86-capture.Refs #86
- applyResult scores from the last step: a failing or aborted run can never be remediated - ExecutionStatus gains aborted; result enum, terminal lists, overview, and control poll include it - PlanVerify.expect accepts { command, exit_code }; object form without an integer exit_code is rejected at create/patch - recheck only compares the string form against PromQL output Refs #86