Repository navigation
docs(adr): decide one workflow per concern, each called workflow judged by a verdict job (ADR-0102) - #239
Merged
Conversation
…ed by a verdict job (ADR-0102) ADR-0102 records the shape the CI split takes and the design the spike chose (research 0018): a thin ci.yml keeps the planner, one calling job per concern workflow and the one required gate; every called workflow ends with a `verdict` job that runs the one judging script and sets the output `verdict=pass`; gate requires each expected callee's result to be success and that output to be pass. Five designs against seven scenarios: the calling job's result alone was wrong on three, the same without the output on one, re-actors/alls-green on two, this one on none. It states six conventions for a called workflow, each tied to the fact that justifies it (it routes by an input, sets no workflow-level concurrency, asks for no permission its caller does not grant, and so on), and a Confirmation that names the check for each: the ones of stages 0.3 and 0.4 are in place when those merge, and two are enforced by GitHub itself. The five options are weighed, including a gate in every workflow, which ADR-0100 already named and rejected. ADR-0100 gets a dated note and the ADR index a row. The plan's status records stage 0.1 as written. Docs only: plan-ci.py plans no job for this diff. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.1 of Phase 0 of the CI split (plan): ADR-0102, which records the shape the
split takes and how
gatejudges a called workflow. Docs only; nothing in.github/changes.Merging this accepts the judging design (A+). The orchestrator, the name
verdict, the mutant driver andactionlintareyour recorded decisions of 2026-11-16, and the spike's results (#236) were merged; but A+ itself was chosen by the spike's
measurements, and this is the first place it is written as a decision. The ADR is
accepted, as the phase plan's acceptancecriterion says, so reading it is the moment to disagree.
The decision
ci.ymlstaysciand holdschanges, one calling job per concern workflow, andgate. The ruleset,deploy.yml'sworkflow_runtrigger and the namegatedo not change.verdictjob (if: always(), needs every job of its workflow). It runs the onejudging script, and only if that passes does it set the output
verdict=pass.gaterequires, for each expected callee,result == successandoutputs.verdict == pass. The output is the point ofthe
+: without it, averdictjob that is itself skipped leaves the callee green.Five designs against seven scenarios (research 0018): the calling job's result alone was wrong on 3, the same without the
output on 1,
re-actors/alls-greenon 2, A+ on 0.What else is in it
workflow-level
concurrency, because it deadlocks the run (F3); ask for no permission the caller did not grant, or the rundoes not start (F8); the lint rules it already satisfies (F10); an
ifthat errors skips its job (F9); depth.merge; conventions 3 and 6 are enforced by GitHub itself.
Verification
plan-ci.pyon this diff, run locally:0 jobs, 0 of 25 cells, so onlychangesandgateshould run.Next: stages 0.3 (the planner, the gate and the mutant driver) and 0.4 (the lint rules,
actionlintand the indexes); they canrun side by side.
🤖 Generated with Claude Code