Repository navigation
docs(plans): plan Phase 0 of the CI split, the foundation - #225
Merged
Merged
Conversation
phases/0001-foundation.md plans stages 0.1 to 0.5 in detail: the baseline, a spike that chooses how gate judges a called workflow, the ADR that records it, the planner and gate changes, and the lint conventions. Reading the scripts for it changed the plan in four places, which PLAN.md now says: - GitHub reports 0 billable minutes on this public repository, so passes 5 to 7 and the baseline measure runner-minutes and wall clock. - plan-ci.py runs everything for ci.yml and contract-cell.yml only, so a change to a new test.yml would plan just ci-scripts and deps. Stage 0.3 names the new workflow files, with a test over the real directory. - lint-all-workflows.sh needs no change for called workflows (a workflow it does not name gets the strictest policy); stage 0.4 adds rules for the conventions instead. - The driver for the 34 hand mutants of the planner and the gate is not in the repository, so invariant 6 could not be checked by anyone; stage 0.3 commits it. 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
Adds
.agents/plans/ci-workflows/phases/0001-foundation.md, the detailed plan for Phase 0 of the CI split (#223), andcorrects
PLAN.mdwhere reading the code for it showed the first plan was wrong. Docs only; nothing in.github/changes.
The phase in short
Five stages, in the order 0.5, 0.2, 0.1, 0.3, 0.4:
ci, so later passes have something to be measured against.gatejudges a job inside a called workflow, by runningtwo designs (a verdict per callee; the callee reports and the one gate judges) and
re-actors/alls-greenon sevenmust-fail scenarios, and by measuring eight facts the plan assumes.
lint rules for the conventions and the two index READMEs.
What reading the code changed in
PLAN.mdgh api .../actions/runs/43942132459/timing:total_ms: 0,run_duration_ms: 51000)plan-ci.pyruns everything forci.ymlandcontract-cell.ymlonly; any other workflow file plans justci-scriptsanddepstest.ymlcannot skip the testslint-workflow.shaccepts localuses:andlint-all-workflows.shgives an unnamed workflow the strictest policycicd.mdas "verified locally; not yet in CI", and the driver was a session scratchpad fileQuestions for the owner (also at the end of the phase document)
verdict.ci-scripts, or by hand? Recommended: in CI.actionlintas a pinned check? It validates thewith:contracts the split creates; it is not in CI today.Verification
plan-ci.pyon this diff, run locally:0 jobs, 0 of 25 cells, so onlychangesandgateshould run.mainatb8702d3.🤖 Generated with Claude Code