Skip to content

docs(baseline): B12 accepts the make ci targets as separate CI jobs (ADR-0073) - #211

Merged
bketelsen merged 4 commits into
mainfrom
lucilla/b12-separate-jobs
Nov 6, 2026
Merged

bketelsen merged 4 commits into
mainfrom
lucilla/b12-separate-jobs

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Brian decided (T973a, 2026-11-05): "Amend core B12: separate jobs OK." Baseline row B12 said that ci.yml runs make ci on pull requests. The 5 suite repositories (frostmail, frostnotes, frostread, lodge, porter) run every part of make ci as separate ci.yml jobs, because 1 full make ci job builds the app again (about 45 minutes).

  • ADR-0073 amends ADR-0071 item 12 in part: CI runs make ci in 1 job, or in separate jobs that together run each prerequisite of the ci target as make <target> (extra variables allowed) and each command of the ci recipe. The rest of item 12 (the ci.yml name, job names kept) stays. ADR-0071 says a change to a row's rule needs an amending ADR, so the amendment is an ADR, not only a spec edit.
  • Row B12 in docs/specs/repository-baseline.md names both forms, and the check says how the sweep confirms the second form: each ci: prerequisite has a make <target> step and each recipe command is a step; a part of make ci that no job runs is the finding.
  • Guard: test/repository-baseline.test.mjs (from core#205) checked B12 with assert.match(ci, /make ci/). It now uses ciCoverageGaps(makefile, workflow), with a fixture for each form, reading only the run: commands of job steps (single line, quoted, literal and folded blocks; comments, step names and env.run do not count): 1 make ci step passes; separate jobs that cover every prerequisite and the recipe command pass; a missing target (make app-build), a changed recipe command (go test -race ./...) and a Makefile with no ci target each fail with their name. Core's own ci.yml (form 1) still passes.
  • docs/org-adrs.md and the ADR index name ADR-0073.

ADR number: core#206 (README standard, open) holds 0072; this PR takes 0073 so that it can merge first.

Evidence on the real repositories (ciCoverageGaps on origin/main of each Makefile and ci.yml): frostmail, frostnotes, frostread, lodge, porter: [] (form 2, every part covered); nsl: [] (form 1). updex and chairlift run neither form in test.yml (their own steps; make ci only in chairlift's nightly workflow): they were B12 findings before and stay findings. snosi has no ci target (a B4 finding).

Risk tier

Risk tier: 1 — docs and a test in core. No workflow, script, risk path or skills-sync change.

Docs housekeeping

  • New docs started from their category's TEMPLATE.md
  • Every new doc indexed in docs/README.md
  • Cross-links in both directions (ADR-0073 ↔ baseline spec, ADR-0071 via "Amends in part", org-adrs)
  • New significant decision recorded as an ADR first, in this PR
  • ADR-0073 is fact-only
  • Conformance aliases untouched

Verification

  • node scripts/check-docs.mjs green
  • npm run check green at the head: 352 tests pass
  • Revert test: in a scratch worktree at 0cd5f42, ciCoverageGaps stubbed to return no gap: 4 B12 tests fail on assertions (separate jobs; run commands only, whole; run keys outside steps, folded text, shell comments; commented steps:, indentless lists, quoted values). Worktree removed.
  • Cross-review (openai/gpt-6.1-sol; coder claude-opus-5.5): initial review at d092fc3, 4 blocking findings (comments counted as commands; recipe commands as substrings; recipe cut at a blank line; no ADR-0071 back-link), all fixed. Re-review 1 at 1259baa: 3 more (env.run, folded blocks, shell comments), fixed. Re-review 2 at e977008: 2 more (commented steps: and indentless lists; quoted values), fixed. Re-review 3 at 0cd5f42: Ready, Blocking: none.
  • Guard: the fixtures in test/repository-baseline.test.mjs, and 1 line in .memory/corrections.jsonl.
  • ADR-0071's References gain "Amended in part by: ADR-0073" (link-only maintenance, ADR-0033).

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 6, 2026
@bketelsen
bketelsen merged commit 30ab348 into main Nov 6, 2026
5 checks passed
@bketelsen
bketelsen deleted the lucilla/b12-separate-jobs branch November 6, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants