Skip to content

docs(plans): plan the split of CI into one workflow per concern - #223

Merged
aRustyDev merged 1 commit into
mainfrom
docs/ci-workflows-plan
Nov 16, 2026
Merged

aRustyDev merged 1 commit into
mainfrom
docs/ci-workflows-plan

Conversation

@aRustyDev

Copy link
Copy Markdown
Owner

What

Adds .agents/plans/ci-workflows/ (README.md, PLAN.md): the plan for splitting ci.yml into one workflow per
concern. Docs only; nothing in .github/ changes.

The plan in short

  • A thin ci.yml keeps the planner changes, the calls to each concern's workflow (workflow_call) and the one
    required gate. The ruleset, the deploy trigger and the gate's name do not change. Each called workflow ends with its
    own gate, because a calling job reports success when every job inside it was skipped.
  • Phase 0, foundation: an ADR for the pattern, a spike that proves the nested gate with must-fail controls, planner
    slices, workflow lint for called workflows, and a baseline of minutes per job.
  • Phase 1, migration: today's jobs move into test.yml, lint.yml, documentation.yml, security.yml, web.yml
    and e2e.yml as a pure refactor, with a parity table in each pull request and no eight passes.
  • Phases 2 to 14: each workflow, migrated or new, goes through the eight passes (proof of concept to
    production-grade documentation), in the owner's priority order (High: Build, Test, Release; Medium: PR, Lint, E2E,
    Deploy; Low: Docs, Perf, Bench, Security, Chores; Backlog: Web, UI/UX, Issue).
  • Actions are made for exact duplicate steps; for anything less than exact the owner is asked first.

For the reviewer

  • Prof was in none of the owner's priority groups. It is placed in Low as an assumption, marked as such in the plan.
  • Facts about GitHub's reusable-workflow limits (10 levels, 50 workflows) come from GitHub's November 2025 changelog.
  • This diff plans no job (plan-ci.py run locally on the two paths: 0 jobs, 0 of 25 cells), so only changes and
    gate should run.

🤖 Generated with Claude Code

A plan directory, .agents/plans/ci-workflows/, for splitting ci.yml into a thin
orchestrator (the planner, the calls, the one required gate) and one workflow
per concern. Phase 0 makes the split safe (an ADR for the pattern, a nested gate
proved with must-fail controls, planner slices, workflow lint). Phase 1 moves
today's jobs as a pure refactor. Phases 2 to 14 then take each workflow through
the eight passes, in the owner's priority order.

Docs only: plan-ci.py plans no job for this diff, so only changes and gate run.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev merged commit b8702d3 into main Nov 16, 2026
14 checks passed
@aRustyDev
aRustyDev deleted the docs/ci-workflows-plan branch November 16, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant