ci: the two checks every pull request reports (WR-13) #19
No reviewers
Labels
No labels
needs-info
needs-triage
ready-for-agent
ready-for-human
review
merge-ready
review
needs-fix
review
needs-human
review
needs-operator
review
needs-review
review
waiting
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
olympus/workshop!19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/wr-13-pr-checks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The repo's first workflow: two of its five suites, one job each, publishing a
named check on every pull request. It gates nothing yet — WR-12 turns the switch
on.
Each job is the same three steps:
pr-checks / loop-decide (pull_request)node pr-review-loop/tests/decide.test.jspr-checks / protect-main (pull_request)scripts/tests/protect-main.test.shThere is deliberately no
needs:between the jobs: on this Forgejo version askipped job publishes as success, so a chain turns a red check into a false
green. Triggers are
pull_request(opened, synchronize, reopened) andworkflow_dispatch— nopush.Tickets: WR-13 — A basic CI pipeline for workshop.
Evidence
Before: no
.forgejo/in the repo; both suites ran by hand only.After: run 1 on this PR —
pr-checks / loop-decide (pull_request)success andpr-checks / protect-main (pull_request)success, both in the same run.A red stays on its own job — run 2,
the same workflow over one flipped assertion (
round 1expected as2):pr-checks / loop-decide (pull_request)failure,pr-checks / protect-main (pull_request)success. Captured on PR #20, closed
unmerged, its branch deleted; the run is the record.
Suite level, at this head (
mise exec -- …):head,
make deps, on agit archive HEADcopy with a fresh emptyHOMEand nomiseonPATH:Then the job's last step, with that manager on
PATHand in the same tree:71/71 checks passedandall 63 checks pass. On the forge,run 3 at
56a9b6freports both contexts success —loop-decidein 9s,protect-mainin 14s.Merge Danger
Door: two-way — one revert PR restores the previous tree; the workflow writes
nothing outside its own jobs.
Blast Radius: the pull requests that follow. Every PR from here queues two
one-job-at-a-time runs on the instance's single runner, so the queue is the cost.
Nothing merges differently:
enable_status_checkonmainstaysfalse, readback from
GET /repos/olympus/workshop/branches/mainbefore this PR, and therule's switch is WR-12's edit.
olympus/workshop #19 · head
050fbb2· round 1/5 · axes: standards, specRecommendation: fix
Round 1 on this head — no earlier review, no comments, nothing to verify against a prior round.
Spec source: WR-13 (Vikunja task 64). The body links it and the repo keeps its tickets off-forge.
Standard sources:
AGENTS.md,docs/adr/0001,docs/adr/0002,README.md,Makefile,GLOSSARY.md,docs/agents/*.md, plus the Fowler baseline.Spec — WR-13's acceptance criteria
docs/automations/pr-checks.md:29-38states the gate plainly; whether what it runs is complete is S-1successon050fbb2, and the job logs show the suites runningdocs/automations/pr-checks.md:14-17matches the live contexts character for character;scripts/protect-main.sh:65-71is the switchS-1 ADVISORY —
docs/automations/pr-checks.md:3(and.forgejo/workflows/pr-checks.yml:1)The repo has five test suites —
README.md:39(decide),:46(protect-main),:47(
onboard-repo),:49(scan),:50(render) — and a build check of its own,make docs-check(
Makefile:61), whose subject is exactly the docs tree this PR edits. CI wires two of the six. I ranthe three unwired ones at this head:
onboard-repo41/41,scan24/24,render141/141 — all green,so "one per suite" is not a statement about suites that cannot run. Nothing in the change says which
suites are out or why, so whoever writes the WR-12 switch will read the page and believe the repo's
checks are fully covered.
Clearing: one sentence naming the excluded suites (and WR-49 for the third check). Not a blocker —
the shipped behaviour is exactly the two named checks the title promises; the completeness gloss is
what is false.
S-2 ADVISORY —
docs/automations/pr-checks.md:25-27Of the four siblings:
olympus/infra-tracker/.forgejo/workflows/checks.yaml:27-28also triggers onpush: branches: [main], deliberately — itsedgejob needs the identity only a push run has(
:55-59);infra-siloandinfra-secretshave no workflow at all (.forgejo/workflowsand.gitea/workflowsboth 404); onlyinfra-forgematches. The sentence is the stated reason for thetrigger choice and is true of one repository in four.
Clearing: narrow it to
infra-forge, or drop the cross-repo reason and keep "nopushtrigger".Standards
N-1 ADVISORY —
.forgejo/workflows/pr-checks.yml:27-37and:45-55The toolchain-install block is pasted into both jobs — the same six lines twice — and it is a copy of
the README's step at
README.md:22-25. The branch's own base already carries the named Target forexactly this:
Makefile:37deps, whose comment says "The README's install step is the same twolines for a machine that has never run a Target; this is the Target that does it". The sibling
workflow this file is modelled on calls it —
olympus/infra-forge/.forgejo/workflows/pr-checks.yml:18-19(
- run: make deps) — and that repo's six jobs are green on this instance's runner image. DuplicatedCode; judgement call, not a written rule.
Clearing:
- run: make depsin both jobs, keeping thePut mise on PATHstep. A matrix is not thefix — it would rename the jobs, which the header at
:3-9correctly identifies as the contract.Checked and accepted (not counted)
declared at
docs/automations/pr-checks.md:29-38, bounded by WR-12, and pre-existing: statuschecks were already off before this PR.
docs/automations/pr-review-loop.mdis the house shape for a page about a mechanism.concurrency:block. The body declares the queue as accepted blast radius; measurement putsit below the body's own figure — both jobs 10 s and 11 s, ten seconds apart, not "about a minute".
Not charged.
docs/automations/pr-checks.md:16-17anddocs/index.md:11are table rows; theindex's other rows run to 279 characters, so they are in register.
Verified
050fbb2:pr-checks / loop-decide (pull_request)success,pr-checks / protect-main (pull_request)success/root/.local/bin,mise ✓ python@3.13.16,mise ✓ node@22.23.3,71/71 checks passed; other joball 63 checks passmise exec -- node pr-review-loop/tests/decide.test.js→ 71/71, rc 0;mise exec -- scripts/tests/protect-main.test.sh→ all 63, rc 0ef253fa):loop-decidefailure,protect-mainsuccess — on the forge, not a scratch copy:16-17against the status array, string-identicalGET /repos/olympus/workshop/branches/main:enable_status_check: false,required_approvals: 1main"git diff --name-status origin/main...050fbb2= 4 files), so the head result is main's resultREADME.md:24,66,73,Makefile:23, workflow:33and:51all2026.10.8mise exec -- make docs-check→ 16 relative links resolve, 3/3 assertions, rc 0refs/pull/19/head=refs/heads/hermes/wr-13-pr-checks=050fbb2Not verified
.forgejo/workflows/pr-checks.yml:17-19,docs/automations/pr-checks.md:42-45). The instance is15.0.9+gitea-1.22.0; proving it needs aneeds:chain pushed somewhere, which I will not do.olympus/infra-forge's workflow carries thesame note (
:8), so the belief is at least consistent across the org.workflow_dispatch— not exercised; a dispatch would mint a run in this repo for evidence thechange does not need.
Summary
Spec: 2 findings, both ADVISORY — worst is S-1, a completeness claim ("one per suite") that the
repo's own README lists five suites against. Standards: 1 finding, ADVISORY — the install block
duplicated where the repo has a Target for it. No blockers.
The recommendation turns on the advisory count (3), not on the weight of any one finding: one batched
edit — a sentence on the page, one clause narrowed, and
make depsin two jobs — clears all three.Round 1 fixer comment
olympus/workshop #19 · head
56a9b6f· round 1/5 · 3 findings, all resolvedThe review's own tally is what I worked to:
REQUEST_CHANGESwith 0 blockersand 3 advisories — the recommendation turned on the count, not the weight —
and it invited the batch ("one batched edit … clears all three"). One commit,
one round, on the existing branch (
hermes/wr-13-pr-checks, no force-push, noother label touched).
docs/automations/pr-checks.md:3,pr-checks.yml:1)56a9b6fpushtrigger (pr-checks.md:25-27)56a9b6fpr-checks.yml:27-37,:45-55)56a9b6fS-1 — the completeness gloss
Both places the finding names now say what is wired rather than what exists. The
page opens:
and the workflow's header reads "two of the repo's suites, one job each".
WR-49 was read at the tracker rather than taken from the finding: task 169,
A check that this repo's scripts invoke only declared tools, blocked by WR-13 —
so it is a third check that this pipeline will one day carry, not one of the four
that exist today. The page's context table is untouched: the two strings the
protection rule pastes in are still the two the workflow publishes.
S-2 — the sibling-repository reason
Narrowed to the one sibling the sentence is true of, as the finding's first
clearing change asks:
Re-measured at the siblings' live
main, not from the finding:infra-forge's.forgejo/workflows/pr-checks.ymltriggers onpull_requestandworkflow_dispatchonly;infra-tracker's.forgejo/workflows/checks.yamlcarries
push: branches: [main]beside them;infra-siloandinfra-secretshave no workflow file at all (
git ls-tree -r --name-only origin/mainlistsnothing under
.forgejo/workflowsor.gitea/workflows). The false clause isgone rather than quietly weakened.
N-1 — the duplicated install block
Both jobs now carry
- name: Install the toolchain/run: make deps, and thePut mise on PATHstep stays:depsinstalls the manager to$HOME/.local/binand deliberately puts nothing on
PATH(its own note says so), so the job stillhas to add it before
mise execruns in the next step. A matrix was not taken —it would rename the jobs, which the file's header correctly calls the contract.
That moves the manager's pin:
MISE_VERSION := 2026.10.8is read by theMakefile's
depsnow, not by an inline copy in the workflow. The README sentencethat listed where the pin lives was edited in the same commit so it names
depsand the workflow that calls it — the reviewer charged the workflow, notthe README, and this is the one place the change made it false.
Verification
Run at
56a9b6f, unpiped, exit codes as printed:The tallies did not move, and that is the measurement, not a copy-paste: this
round changes the workflow and prose no suite parses —
docs-checkis the onethat reads the tree and it is in the list above.
The install step, rehearsed as the job runs it —
git archive HEADof56a9b6finto a fresh tree, an empty
HOME, nomiseonPATH:then the job's last step in that same tree with that manager on
PATH:71/71 checks passed,all 63 checks pass.On the forge, run 3
at
56a9b6f, both jobs:pr-checks / loop-decide (pull_request)pr-checks / protect-main (pull_request)What I could not read: the run's own step-level log. This instance does not
expose it to my token —
GET /api/v1/repos/olympus/workshop/actions/runs/3/jobsanswers
404 page not foundand the job page'slogs.stepsLogcomes back emptywithout a browser session. So the output quoted above is my rehearsal of the same
three steps from the pushed tree; the run's contribution is the two status rows,
which also show the jobs still queue (9s, then 14s) rather than run together.
The PR body moved with the commit
No commit shows it — the body is metadata. Four places described the old inline
install block or repeated the "one job per suite" gloss, and all four were
corrected at the same head: the Summary's first sentence, the
README.mdline inthe file tree, the
install the toolchainline in the steps block, and theinstall-step transcript in Evidence (replaced with the run above at this head).
The stored body was read back byte-for-byte against what was sent, and each
edited phrase appears exactly once.
Left alone, and why
needs:-skipped job publishes as success" — still unverified, as thereview's own Not verified list says. Proving it needs a
needs:chain pushedsomewhere, which this round still will not do.
workflow_dispatch— unexercised, same reason.in WR-12 names exactly them.
The
code-reviewskill's two passes were mine, run in sequence in this contextrather than by parallel sub-agents: no
claude,codexoragentCLI exists inthis environment (
command -vconfirms), so a report claiming children ran themwould be a claim about a mechanism that never executed.
olympus/workshop #19 · head
56a9b6f· round 2/5 · axes: standards, specRecommendation: merge
Round 2 on
56a9b6f, reviewed against round 1's050fbb2. The delta is one commit (56a9b6f) overthree files —
.forgejo/workflows/pr-checks.yml,README.md,docs/automations/pr-checks.md— and050fbb2is an ancestor of the head, so the tree diff is the round's own change.Spec source is unchanged: WR-13, Vikunja task 64, whose triage brief (comment 166) is the binding
contract rather than the placeholder description. Standards sources read out of this head:
AGENTS.md,docs/adr/0001,docs/adr/0002,docs/agents/*.md,README.md,Makefile, plus theFowler baseline. Both axes were held by one reviewer in sequence — this session has no sub-agent
runner — and are kept in separate sections below, un-reranked.
Round 1 carried 0 BLOCKER and 3 ADVISORY. All three are closed at
56a9b6f.Prior findings — driven closed, not read closed
56a9b6fdocs/automations/pr-checks.md:3-8,.forgejo/workflows/pr-checks.yml:1pushtriggerdocs/automations/pr-checks.md:27-29.forgejo/workflows/pr-checks.yml:27-28,:38-39S-1. The page now says
They are not every check the repo has: onboard-repo, scan, render and make docs-check have no job here, and the third check, WR-49's, is not written yet(
docs/automations/pr-checks.md:4-6), and the workflow header readstwo of the repo's suites(
:1). The replacement list is complete and correct, measured rather than taken from the finding:git ls-filesgives five suites —pr-review-loop/tests/decide.test.js,scripts/tests/protect-main.test.sh,scripts/tests/onboard-repo.test.sh,nas-disk-report/tests/scan.test.py,nas-disk-report/tests/render.test.py— plusmake docs-check(
Makefile:61); two are wired, and the four the page names are exactly the unwired ones. TheWR-49 clause is real: Vikunja task 169, project 5, index 49, A check that this repo's scripts
invoke only declared tools,
done: false, its description endingBlocked by — WR-13 — a basic CI pipeline for workshop. The check needs somewhere to run.S-2. The sentence is narrowed to the one sibling it is true of:
There is no push trigger, matching olympus/infra-forge's workflow that this one is modelled on(:27-28). Read live, not fromthe fixer's summary:
olympus/infra-forge's.forgejo/workflows/pr-checks.ymlat itsmaincarrieson: pull_request: types: [opened, synchronize, reopened]andworkflow_dispatch, and nopush.The false generalisation over four siblings is gone rather than weakened.
N-1. Both jobs now carry
- name: Install the toolchain/run: make deps(:27-28,:38-39),and the
Put mise on PATHstep stays (:29-30,:40-41), which it must —depsputs the manager in$HOME/.local/binand prints that it added nothing toPATH(Makefile:45). The header's reason fornot using a matrix (a matrix renames the jobs, which is the contract) still holds.
Spec
New findings in the delta: 0.
WR-13's nine criteria stand as round 1 found them, and nothing in this delta moves any of them. The
two that the delta could have touched were re-driven at this head:
pr-checks / loop-decide (pull_request)andpr-checks / protect-main (pull_request)are bothsuccesson56a9b6f(statuses on the head SHA, both
target_url/actions/runs/3/jobs/{0,1}).enable_status_checkstillfalse) —GET /repos/olympus/workshop/branches/main→
enable_status_check: false,status_check_contexts: null,required_approvals: 1. The deltawrites nothing to the rule.
Standards
New findings in the delta: 0.
The one behavioural thing this delta changed is the install step: it stops running
mise install --lockedinline and runs the repo'sdepsTarget, which runs a baremise install(
Makefile:47) and relies onmise.toml's[tool_config] locked = truefor strictness — whichMakefile:31-36asserts in so many words. That is a claim about a mechanism, so it was driven. Fourrows, one
git archivecopy of this head per row, all at the locked mise2026.10.8:make depsjq = "1.7.1") added under[tools],locked = truekeptmake depsjq@1.7.1 is not in the lockfile/ hintdisable tool_config.lockedmise install --locked[tool_config]removedmake depsmise ✓ jq@1.7.1 … installed 1 toolB and C refuse identically, and D installs — so the config-root key enforces what
--lockeddid, andthe switch to
make depsweakens nothing. ADR-0001 (declare and lock the toolchain) is served atleast as well by the new step as by the old one. The
README.md:62-66edit that follows from it istrue at this head: the pin is
Makefile:23(MISE_VERSION := 2026.10.8), the workflow callsdeps,and the README's own install step above carries
v2026.10.8(README.md:24).Verified
56a9b6f:loop-decidesuccess 08:31:37,protect-mainsuccess 08:31:52/actions/runs/3/jobs/{0,1}/attempt/1/logs: job 0installing mise 2026.10.8 to /root/.local/bin/mise,mise ✓ python@3.13.16,mise ✓ node@22.23.3,71/71 checks passed; job 1installing mise 2026.10.8,all 63 checks passmake depsis the whole bootstrap (nomiseon the runner image)mise exec -- node pr-review-loop/tests/decide.test.js→ rc 0,71/71 checks passed;mise exec -- scripts/tests/protect-main.test.sh→ rc 0,all 63 checks passmake depsrc 0 at this headmake deps→ rc 0make docs-check→ rc 0,16 relative links … each resolves, 3/3 assertionsdocs/automations/pr-checks.md:18-19against the status array, string-identicalneeds:between the jobsgrep -rn 'one per suite|sibling repositories run'over the tree → no hitsmerge_base=main=b5e2c63(livels-remote), PRmergeable: true, 3 files in the diffrefs/pull/19/head=refs/heads/hermes/wr-13-pr-checks=56a9b6f, re-resolved before composingNot verified
needs:-skipped job publishes as success" (.forgejo/workflows/pr-checks.yml:17-19,docs/automations/pr-checks.md:44-45) — unchanged by this delta and still unproven by me. Settlingit needs a
needs:chain pushed somewhere, which I will not do.olympus/infra-forge's workflowcarries the same note, so the belief is at least consistent across the org.
workflow_dispatch— declared and unexercised; a dispatch would mint a run for evidence thischange does not need.
A note on one of the round's own claims
The fixer's comment reports the run's step-level log as unreadable to their token
(
GET /api/v1/repos/olympus/workshop/actions/runs/3/jobs→404). That is true of the API route andnot of the instance: the web route
/olympus/workshop/actions/runs/3/jobs/<i>/attempt/1/logsanswers 200, and both logs were read forthis review. Nothing in the change rests on it — the two status rows were already green — but the
report above quotes the run's own output rather than the author's rehearsal of it.
Summary
corrected and the list it now carries is complete against the tree.
own Target in both jobs, and the Target's lock strictness was driven rather than assumed.
Nothing blocks, and the advisory count is zero, so the volume rule has nothing to trip on. The one
round-1 review on
050fbb2is superseded by this one; the state label moves toreview/merge-ready, with no other label touched.