Repository navigation
docs(plans): choose how gate judges a called workflow, from the spike (stage 0.2) - #236
Merged
Merged
Conversation
… (stage 0.2) research/0018-gate-spike.md records what the spike (draft #232, closed) measured: five designs against seven scenarios, and eleven facts, in two identical samples. The choice is A+: every called workflow ends with a `verdict` job, and gate requires the callee's result to be success and its `verdict` output to be pass. It was right on all seven scenarios; the control (the calling job's result only) was wrong on three, the same without the output on one, and re-actors/alls-green on two. The measurements corrected the plan, and PLAN.md and phases/0001-foundation.md say so: - A calling job is success when at least one job inside it succeeded, even if a planned sibling was skipped; with nothing inside run it is skipped. The plan had said success when every job inside was skipped. - A callee's workflow-level concurrency deadlocks the run and starts no job (the group is built from the caller's name), and a permission its caller did not grant stops the run from starting, so no gate would report. - An if that cannot be evaluated skips the job without failing it. - actionlint refuses a broken call contract, but only inside a git repository. Also recorded: flagship.yml (#229) on the inventory, and the test-suites plan (#234), whose pull requests edit commands inside jobs that Phase 1 moves. Docs only: plan-ci.py plans no job for this diff. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Stage 0.2 of Phase 0 of the CI split (plan): what the gate spike (draft #232, closed
unmerged) measured, the design it chose, and the corrections it forced into the plan. Docs only; nothing in
.github/changes.The choice: A+
Every called workflow ends with a
verdictjob, andgaterequires the callee's result to besuccessand itsverdictoutput to bepass. Five designs ran against seven scenarios, in two identical samples:naive(the calling job's result only; the control)a(averdictjob, no output required)verdictjob leaves the callee green and nothing noticesaplusb(the callee reports,gatejudges)successallsgreen(re-actors/alls-greenas the verdict)What measuring corrected in the plan
successwhen every job inside was skippedsuccesswhen one inner job succeeded and a planned one was skipped;skippedwhen none ran (a valid empty plan, run 43964175381)concurrencymight cancel or wait on its callerdeadlock was detected for concurrency group 'spike-f3-refs/pull/232/merge' between a top level workflow and 'call'startup_failure: the run does not start, so nogatewould reportifthat cannot be evaluatedactionlintwould check thewith:contractsAlso:
flagship.yml(#229) is added to the inventory, and the test-suites plan (#234) is cross-referenced, since its pullrequests edit commands inside jobs that Phase 1 moves.
Eleven facts in all, each with its run id, in
research/0018-gate-spike.md; the 35 legs are appended to it as the runsreported them.
Verification
plan-ci.pyon this diff, run locally:0 jobs, 0 of 25 cells, so onlychangesandgateshould run.aplus's green leg carriedverdict=pass,b's carried itsresults, the F3 and F8 messages are from the run pages (the REST API does not expose them), and the second sample's matrix is
identical to the first.
The spike's branch
chore/spike-gate-judgingis left in place: its commits are what the results refer to.🤖 Generated with Claude Code