Treat superseded Smart CI plans as non-red in shadow - #2415
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e30f067949
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Independent review disposition Reviewed head:
Scoped reproof at the fix head:
The fix changes only the declared receipt schema and its regression, not gate logic or the risk boundary. Exact-head hosted checks restarted after the push. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6d86464d40
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Current-base reconciliation
The base change touches only backend archive/proposal files and has no path overlap with this Smart CI/schema diff. Current-base proof:
Hosted exact-head checks restarted. The prior full required run was correctly cancelled by this superseding push and is not being used as merge evidence. |
|
Final current-base review at Reviewed effective diff: Known residual: cancellation provenance cannot distinguish manual from concurrency cancellation. It is classified MEDIUM/non-blocking while the policy is shadow-only and is retained under #2327 as a pre-registration requirement. Hosted exact-head CI is still running. |
Summary
cancelledPlan job as non-red only while Smart CI is in shadow mode.wouldFail: true,plan-job-cancelled, and an observation-exclusion note.failure,timed_out,skipped, invalid, or mismatched plans.Advances #2327
Failure model
The shadow workflow always instantiates
Smart CI / Required Gateand passes the trustedneeds.plan.result. A concurrency-superseded Plan job previously becameplan-job-failed, which made the stable gate context red even though the replacement run was the useful observation. The new result is green only in shadow mode and remains deliberately unusable as enforcement or recall evidence.Verification
node --test --test-name-pattern='superseded cancelled plan|gate fails closed on missing' scripts/ci/smart-ci/plan.test.mjs: 2 passed.node --test scripts/ci/smart-ci/*.test.mjs: 86 passed.evaluate-gate.mjs: exit 0,ok=true,wouldFail=true,plan-job-cancelled, null head identity.node scripts/check-github-ops-governance.mjs: passed.node scripts/check-docs-governance.mjs: passed.git diff --check: passed.node --test scripts/ci/*.test.mjs: 262 passed; the two installed-binary tests were not run locally becauseACTIONLINT_BIN,ACTIONLINT_SHELLCHECK_BIN, andACTIONLINT_PYFLAKES_BINare not installed/configured on this machine. Exact-head hosted CI supplies those tools.Residual
This does not enable Smart CI selection or satisfy #2327's observation, landed-verifier, branch-current, consolidation, or maintainer-settings acceptance. The separate moving-base observation residual remains out of scope.