test: one red check, evidence for WR-13 (do not merge) #20
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!20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hermes/wr-13-red-demo"
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?
Evidence only — do not merge. This branch carries a deliberately broken copy of
pr-review-loop/tests/decide.test.js(one assertion: round 1 expected as 2), pushed to showthat a red check reds its own job and nothing else — the broken-copy criterion of
WR-13. The real change is #19.
The PR is a draft on purpose: the review loop skips drafts, so the break is not
reviewed as if it were a change. It closes unmerged as soon as both runs are recorded.
olympus/workshop #20 — reviewed
ef253fa— round 1/5 — verdict: do not merge (evidence branch, already closed unmerged)Recommendation: fix
What this change claims, and what happened
The body says: this branch carries a deliberately broken copy of
pr-review-loop/tests/decide.test.js(one assertion, round 1 expected as 2) to show that a red check reds its own job and nothing else — WR-13's broken-copy criterion; the real change is #19; the PR closes unmerged as soon as both runs are recorded.That claim is true, and I reproduced it on the forge rather than at suite level. The branch then did what it said:
GET /repos/olympus/workshop/pulls/20→state: closed,merged: false,closed_at: 2026-10-29T08:26:35Z— about 18 seconds after the second job finished.mainis untouched (git ls-remote origin refs/heads/main→b5e2c63).So the verdict below is not a request for work. It is the record of why this diff must not land, and its clearing action — closure, unmerged — has already been taken. It is written this way because the branch still exists and
mergeablestill readstrue: reopening it without dropping the break would put a failing suite onmainwith this review'scommit_idon file.Spec
Spec source: the PR description, read against WR-13 (Vikunja task 64), whose Agent Brief the body names and whose criterion 5 this branch exists to close:
BLOCKER —
pr-review-loop/tests/decide.test.js:78— the branch carries a suite that fails by constructionmise exec -- node pr-review-loop/tests/decide.test.jsatef253fa→70/71 checks passed, exit 1, the single failure at that line (FAIL PR opened -> round 1 -> 1 (want 2)). The same command atb5e2c63(origin/main, this PR's merge base) →71/71 checks passed, exit 0. Red and green are one comment apart, so the failure is the diff's, not a flake.actions/runs/2onef253fareportspr-checks / loop-decide (pull_request)failure andpr-checks / protect-main (pull_request)success; the job log names the same assertion at08:26:04.098. Runactions/runs/1on050fbb2reports both success. Two independent contexts, one red — the unchained-jobs property does what the workflow comment promises.main, and every pull request branched frommainthen carries it:loop-decidereds on the base's content, not on the contributor's change. WR-13's criterion says the break is removed before merge; ADR-0002 makes the repository's own checks the gate.08:26:35, and nothing else is needed. If the branch is ever reopened, dropef253fafirst, so it is050fbb2alone; that commit is byte-identical to PR #19's head (git diff --stat 050fbb2 ef253fa→ one file, one line, one insertion, one deletion).To a fixer dispatched from this label: do not commit. The clearing action is closure, already taken. Any commit to
hermes/wr-13-red-demothat restores the assertion deletes the artefact this PR exists to record.ADVISORY — PR body: "The PR is a draft on purpose: the review loop skips drafts"
The second half is true — the loop's gate is
if (pr.draft === true) { … 'draft PR' … }(pr-review-loop/workflows/forgejo-pr-review-loop.json, thepull_request/openedbranch of Parse event) — but the first half is not: the PR came back"draft": false,"state": "open","mergeable": trueat the moment it was opened. The skip never fired, which is exactly why this review ran. The safeguard the body leans on to keep the break out of the review path was never in place; for the next evidence PR, setdraft: trueat creation (or rely on the fact that the loop dispatches onpull_request/openedonly for authors onengage_authors), rather than on a sentence asserting it.Standards
0 findings. Sources:
AGENTS.md(docs/index.mdis the entry point; the README carries what a machine needs),README.md§Running the scripts ("Through the manager, never bare"), ADR-0001 (declare and lock the toolchain), ADR-0002 (protectedmain),docs/index.md's section-table convention, and the neighbour pagedocs/automations/pr-review-loop.md..forgejo/workflows/pr-checks.yml050fbb2(PR #19's head). Both suites invoked asmise exec -- …(:39, :57) per the README; triggers exactlypull_request(opened, synchronize, reopened) andworkflow_dispatch(:12–15), nopush; noneeds:(:17–20).actions/checkout@v5resolved against the runner'sDEFAULT_ACTIONS_URLin the live run — both jobs' Checkout steps succeeded. Pass.README.md:64–66pr-checks.yml:33and:51both carryMISE_VERSION=v2026.10.8. Pass.docs/automations/pr-checks.mdmake docs-check→ 3/3 (16 relative links … each resolves, index row present, floor rules hold). Its "gates nothing" paragraph names its own deviation from ADR-0002 and bounds it by WR-12. See checked and accepted. Pass.docs/index.md:11pr-review-loop/tests/decide.test.js:78Verified, and how
GET …/commits/ef253fa/statuses; job logs atactions/runs/2/jobs/{0,1}/attempt/1/logsloop-decidefailure,protect-mainsuccess, distinct contextsgit diff b5e2c63 ef253fa -- pr-review-loop/tests/decide.test.jsgit diff --stat 050fbb2 ef253fa; PR #19head.sha050fbb2is #19's head; the delta is one linemainwhen run by handmise exec --both suites atb5e2c63make docs-checkatef253faGET …/pulls/20closed_at 08:26:35,merged: falseChecked and accepted
docs/automations/pr-checks.md— "Nothing requires the checks yet", against ADR-0002's "the checks the repository defines gate the merge". Declared in the page itself and filed as another ticket's work (WR-12, task 63). Read back live:GET /repos/olympus/workshop/branches/main→protected: true,enable_status_check: false,status_check_contexts: null,required_approvals: 1,user_can_push: false. Accurate today, ticketed, and not charged.loop-decide08:25:57–08:26:05,protect-main08:26:07–08:26:17). True.Summary
decide.test.js:78, the failing suite the branch carries and must never land), 1 ADVISORY (the body's draft claim, refuted bydraft: false). Worst: the BLOCKER.The state is REQUEST_CHANGES on the blocker, not on the count, and the
review/needs-fixlabel records a do-not-merge rather than work to do: the only clearing action is closure, which happened at08:26:35Z. The change that should reachmainis #19.No commit — the blocker's clearing action is closure, and it was taken before I was dispatched
I read the whole PR before touching anything: body, the single review (
id=307, round 1/5,REQUEST_CHANGES), the timeline, the diff, and the live label. Three facts decide this round, each re-derived this dispatch rather than taken from the review:GET /repos/olympus/workshop/pulls/20state: closed,merged: false,closed_at: 2026-10-29T08:26:35Zgit ls-remote origin refs/heads/hermes/wr-13-red-demorefs/pull/20/head→ef253faexists, which is read-only and cannot carry a pushgit diff --stat 050fbb2 ef253fa1 file changed, 1 insertion(+), 1 deletion(-)Findings
BLOCKER —
pr-review-loop/tests/decide.test.js:78— satisfied by the closure; nothing committedThe finding's own clearing change is "Close unmerged — done,
08:26:35, and nothing else is needed." The timeline carries that close bybot-efestoat08:26:35Z; the review was submitted at08:28:39Z. The round was already answered when its label was written.I re-drove the mechanism at both revisions from detached worktrees (
git worktree add --detach), so the trees driven are byte-identical to the branch and to the merge base:ef253fa(reviewed head)mise exec -- node pr-review-loop/tests/decide.test.jsFAIL PR opened -> round 1 -> 1 (want 2)/70/71 checks passed/ rc=1b5e2c63(origin/main, merge base)71/71 checks passed/ rc=0ef253famake docs-checkall 3 assertions hold/ rc=0The reviewer's account is correct in every part: red and green are one comment apart, so the failure belongs to the diff and is not a flake, and the docs tree the branch also carries still holds.
Why no commit, when the dispatch asks for one. Both of the dispatch's own preconditions fail here, and a commit would be worse than leaving the finding:
hermes/wr-13-red-demois deleted. Creating a branch would break "do not open a new branch", and would put a green suite on the one PR whose purpose was to show a red.hermes/wr-13-red-demothat restores the assertion deletes the artefact this PR exists to record." Restoring that line would remove the evidence WR-13's criterion 5 is closed with.Restoring a file to make a red go green is the shape of a fix that destroys the thing under test.
ADVISORY — the body's draft claim — left alone; the reviewer is right about it
GET /pulls/20reads"draft": false, so "The PR is a draft on purpose" was never true of this PR. The mechanism the sentence leans on does exist —Parse eventreturnsdraft PRforpr.draft === trueonopened/reopened/ready_for_review— it simply never fired.I left it, because the clearing action the finding names is not a change to this PR: it is "for the next evidence PR, set
draft: trueat creation". This PR is closed and its body is the record of what was attempted; rewriting a closed evidence branch's description to make a past sentence read better is not a fix, and there is no commit for it to ride on. Named here so it is not read as met.Self-review
code-reviewover my own change had nothing to review: this round adds no commit and no body edit, so the diff against the base is still the single line the reviewer read. Reported plainly rather than as a pass over an empty diff.What is left, and whose it is
mainis #19, which is open and carries it050fbb2alone — dropping the breakrefs/pull/20/head, so the run's record stays readable without a mergeable branchLabel
Moved
review/needs-fix→review/needs-human, notreview/needs-review:needs-reviewwould dispatch a review of a PR nobody can merge — work with no possible outcome.review-only inDecide), soneeds-fixleft live on a closed PR invites another fixer to re-derive this same dead end on the next label event.needs-humanmaps tonotify-human, which is the true state.One process note for whoever reads the trail: the label was written by
bot-minossix seconds after its own review. That is the loop's own bookkeeping on aREQUEST_CHANGESverdict, not a human asking for work — and it arrived after the close, so it dispatched a fixer onto a round that was already answered.Pull request closed