Repository navigation
Description
Goal
The first patch after protocol 2.1. Running v2.1.0 across md-notes, a new hub with four spokes, the tradedesk repositories and a private hub surfaced seven places where the CLI falls short of what SPEC and GitHub already say: a merge the CLI refuses that GitHub would allow, evidence links a private repository cannot resolve, an init commit that breaks SPEC §4, a NO_CHECKS refusal nobody is warned about, a reviewer contract that contradicts CLI.md, a task left open after a successful finish, and runners that move image on 2026-10-19. All CLI patch fixes and contract clarifications; no protocol change — the 2.1 bedding-in rule stands (operator, 2026-10-10: CLI patch releases do not affect it). Deferred to protocol 2.2 as captures: #387 #365 #381 (the light path's author fence and an operator-authored small change), the self-close half of #386, #377–#379, and #391's scaffolded workflow.
Requirements
- M21-R1 — The release workflows run on a pinned ubuntu-24.04 image before the ubuntu-latest label moves on 2026-10-19 (adopts Backlog capture: ubuntu-latest moves to Ubuntu 26 on 2026-10-19 under every workflow, the release build included #380).
- M21-R2 — task finish merges in a way GitHub decides, so a ruleset bypass the caller legitimately holds is honoured instead of refused client-side, and the dry run reports when the merge will rely on one; task start and task finish --dry-run say as a note: when a check required by a branch policy has never reported on the PR (adopts task finish is refused by gh pr merge's client-side BLOCKED check even when the caller holds the ruleset bypass GitHub would honour #392).
- M21-R3 — milestone evidence resolves every github.com URL shape it meets — Actions run and job URLs, a repository root — through the authenticated API the way it resolves issues and PRs, so a private hub's record is not refused EVIDENCE_UNREACHABLE on reachable evidence (adopts Backlog capture: milestone evidence marks a private repository's Actions job URLs unreachable #388).
- M21-R4 — init, roles sync and migrate write a body on the commit they make naming the tool, its release and the protocol, as SPEC §4 requires of a housekeeping change, and CLI.md states the body each writes (adopts init's scaffold commit has no body; SPEC §4 requires the tool and version in it #389).
- M21-R5 — A fresh repository learns before its first task that task finish requires a reporting check: init's next: lines say so, task new and task start emit a note: when the target repository has no workflow on pull_request, and CLI.md cross-references NO_CHECKS from init and task finish (adopts A hub scaffolded by init cannot finish its first task (NO_CHECKS): say so at init, or scaffold a reporting workflow #391; the scaffolded workflow is deferred to 2.2).
- M21-R6 — The reviewer contract's task-start check says what the evidence is when the implementer is an App (no assignee: the start record and the linked branch), its housekeeping paragraph cites the commit body init writes, and the implementer contract asks the PR body to link the start record (adopts Reviewer contract: say what task-start evidence is for an App implementer (no assignee possible) #390).
- M21-R7 — After the merge, task finish reads the task — and the captures it closes by --adopts — back from GitHub, retrying briefly, and says plainly when one is still open instead of asserting that it closes; it does not close the task itself (that half of Backlog capture: task finish says the task closes but never checks that it did #386 is re-filed as a 2.2 capture) (adopts Backlog capture: task finish says the task closes but never checks that it did #386).
- M21-R8 — v2.1.1 ships: version flip, tag on the merge commit, release.yml assets, evidence on the milestone; the operator upgrades the installed extension, and the fleet's hubs pick up the contract changes through roles sync at their own pace.
Gates
What "done" means beyond CI: e2e suites, manual UAT, sign-offs.
Activity
davison commentedon Oct 10, 2026
Operator leg for M21-R8 (2026-10-10 23:20Z). After the v2.1.1 release (run 38094448333, five assets, evidence on #401), the operator ran
gh extension upgrade codecrewon the coordination machine:upgraded from v2.1.0 to v2.1.1;gh codecrew version→v2.1.1 (protocol 2.1).gh codecrew roles difffor all five roles: eachmatches the embedded v2.1.1 contract— the implementer/reviewer driftstatushad reported since #403 merged (the #399 text against the installed v2.1.0) is gone.gh codecrew status: every M21 task done, no gates raised; the only line left is the expected agents-file drift (this hub's.codecrew/AGENTS.mdis hand-written). The contract-history table for v2.1.1 is Part C of #401, in flight as a housekeeping PR.radiusred-testy commentedon Oct 10, 2026
M21-R1 — satisfied. On merged main,
go test ./...,go vet ./..., gofmt, andgo build ./cmd/codecrewpassed. I read both workflow files and found exactly threeruns-ondeclarations, allubuntu-24.04with the #380 migration comment. I queried the jobs API: both jobs on R1 PR #402 and every later M21 PR run reported labelubuntu-24.04; the earlier PR #403 run reportedubuntu-latestbecause it ran before #402 merged. Release run 38094448333'sreleasejob reportedubuntu-24.04and succeeded.M21-R2 — satisfied. On merged main,
go test ./...,go vet ./..., gofmt, andgo build ./cmd/codecrewpassed. At v2.1.1 I readtask.go,github.go, CLI.md and the focused BLOCKED-success, GitHub-refusal, no-cleanup-after-refusal, BLOCKED-note and never-reported-check tests; they passed, and the executable merge path isPUT repos/{o}/{r}/pulls/{n}/merge -f merge_method=rebase -f sha=<gated head>, with nogh pr mergecall. The live read-onlytask finish 401 --dry-runprintedrefused[CLOSED]at the first gate and no policy note because later gates were not reached; separately, the rules API named required contextLint commit messagesand PR #411's head reported it successfully, so no never-reported note was due. CLI.md states the reads, REST merge and both notes;git diff v2.1.0 v2.1.1 -- SPEC.mdwas empty and both releases expose the same 49 refusal codes.M21-R3 — satisfied. On merged main,
go test ./...,go vet ./..., gofmt, andgo build ./cmd/codecrewpassed. I read v2.1.1's 26-rowrecordShapestable and ranTestRecordAPIPath, whose coverage guard fails if any row lacks a case, plus the private-fixture tests for every row, the unmapped-private warning, public/dead mapped refusals and code-span exemption; all passed. With the released binary,milestone evidence 18resolved all 10 citations across 11 issues andmilestone evidence 21resolved all 3 across 9. I had no private hub for a live probe, so that path is test-proven: it warns without refusing, matchingroles show qa; a dead mapped/public GitHub link still refusesEVIDENCE_UNREACHABLE, whose SPEC meaning is unchanged.M21-R4 — satisfied. On merged main,
go test ./...,go vet ./..., gofmt, andgo build ./cmd/codecrewpassed. With released v2.1.1 I ran hub and--hub radiusred/gh-codecrewspokeinitin fresh local scratch repositories: both madechore: scaffold codecrewcommits whose bodies named the exact invocation, v2.1.1, protocol 2.1, every written file andHousekeeping (SPEC §4); no task., with no line over 100 columns; the hub wrote 15 scaffold files and the spoke four. In a scratch clone restored to the v2.0.2 QA contract,roles sync qacommitted only that file with the same shaped body and line bound. The 1.x migration/body and detached-HEAD pasted-command tests, including the deviation's removed-source staging fix and maximum 39/100 hub-name probe, passed; CLI.md states all three bodies.M21-R5 — satisfied. On merged main,
go test ./...,go vet ./..., gofmt, andgo build ./cmd/codecrewpassed. Both released-binary scratchinitruns printed thattask finishrequires a reporting check, refusesNO_CHECKSwithout one, and linked the no-path-filterpull_requestworkflow indocs/first-milestone.md. I did not runtask newortask startagainst a workflow-less live repository because neither has a read-only mode; the focused tests passed for zero workflows, missing triggers, scalar/list/mapon:forms, disabled/unreadable workflows and the hairbrush casepull_request_targetalone, which does not count. CLI.md cross-referencesNO_CHECKSfrominitandtask finish; deferred option 2 is the linked, open, unlabeled capture #409.M21-R6 — not satisfied. On merged main,
go test ./...,go vet ./..., gofmt, andgo build ./cmd/codecrewpassed.roles show reviewercontains the App/no-assignee start-record bullet and theinithousekeeping-body bullet,roles show implementerrequires a link to theStarted bycomment, all fiveroles diffcalls match embedded v2.1.1, and a clean clone's five-roleroles sync ... --dry-runkept every contract with nothing to write (the unscoped command correctly refuses this hub's deliberate.codecrew/AGENTS.mdfork). However, comparing every task's actualStarted bycomment URL with all eight M21 PR bodies found only 7/8 exact links: PR #405 callshttps://github.com/radiusred/gh-codecrew/issues/395the start record but does not link the actual commenthttps://github.com/radiusred/gh-codecrew/issues/395#issuecomment-6102671620. The required PR-body evidence is therefore incomplete.M21-R7 — satisfied. On merged main,
go test ./...,go vet ./..., gofmt, andgo build ./cmd/codecrewpassed. I read v2.1.1's post-merge path and ran the six focused tests: closed on first read, open then closed, four reads/three waits then still-open note with cleanup, wholly unreadable note, adopted captures with one left open, and unchanged dry run; all passed. The live path printsmerged PR #Nthen the read-back result, uses a four-read/two-second bound, and callsCloseIssueonly for adopted captures—not the task. CLI.md states that behavior and bound; Part C was housekeeping and therefore supplied no livetask finishobservation, and the self-close deferral is the linked, open, unlabeled capture #407.M21-R8 — satisfied. On merged main,
go test ./...,go vet ./..., gofmt,go build ./cmd/codecrew, and the tag-required contract-history guard passed.gh codecrew versionprintedv2.1.1 (protocol 2.1); SPEC remains 2.1; the annotated tag peels to9757001; the published, non-draft release has exactly five platform assets; and release run 38094448333 succeeded, including its contract-history guard step onubuntu-24.04. I traced the CHANGELOG lead's claims to its seven entries, and README plus the introduction name v2.1.1. PR #412 changed onlyinternal/cli/contract_history.go, adding the six v2.1.1 history rows; itschore:commit namesscripts/contract-history, has no task or CHANGELOG entry, was approved by checky and author-merged. The bedding-in probes found protocol constants still 2.1, no SPEC or verb-dispatch diff, no flag-declaration changes, and identical 49-code refusal sets versus v2.1.0. All eight tasks and adopted captures #380, #392, #388, #389, #391, #390 and #386 are closed withtask finishcomments naming their tasks; #407 and #409 remain open captures;statusshows every M21 task done, no gates, no role-contract drift, and only the hub's expected project-owned AGENTS-file drift.radiusred-testy commentedon Oct 10, 2026
M21-R6 — satisfied. This supersedes my first-round finding for this requirement alone; the other seven verdicts in that comment stand. On merged main,
go test ./...,go vet ./..., gofmt, andgo build ./cmd/codecrewpassed, andmilestone evidence 21found every cited link reachable. I reread M21-R6 verbatim on #393:roles show reviewercarries both the App/no-assignee start-record-and-linked-branch check and theinithousekeeping-body shape,roles show implementerrequires the PR body to link theStarted bycomment, androles diffreports a match to embedded v2.1.1 for implementer, reviewer, qa, doc-synthesizer, and coordinator. PR #405 now links the exactStarted bycomment. Its REST record, timeline, and two GitHub user-content snapshots show that its body was written before #403 merged and was corrected after #405 merged; the only prose/link change is the start URL from the task issue to that comment. The edit also added one trailing blank line, but changed no other content. The Deviation on #395 exists, is authored byradiusred-cody[bot], names the cause as the body predating #403 and its implementer-contract text, and records the post-merge correction. As the exhaustive probe, I derived each expected URL from the actual taskStarted bycomment and compared it with the current bodies of #402, #403, #404, #405, #406, #408, #410, and #411: 8/8 are exact matches.radiusred-wordy commentedon Oct 10, 2026
Deviation: the M21 record states facts that the trail carries only in part, and takes the rest from the coordination layer's dispatch brief for the record (2026-10-10). The brief states that every implementer session in M21 ran under Claude Opus 5.5 in Claude Code; that every review round ran in Codex under
gpt-5.6-terraand both QA rounds in Codex undergpt-5.6-sol; that the coordination layer was the operator's own Claude Code session; that the qa-contract sentence on PR #406 (commit e12e86b, recorded by the Decision on #396 at 22:13:46Z) was added at the coordination layer's request; and that each pull request was rebased ontomainbefore its gating review, meeting a CHANGELOG conflict each time. What the trail supports: all 24 commits onmainsince the M20 record carryCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>, and every task PR body ends "Generated with Claude Code";.codecrew/config.ymlroutes the reviewer togpt-5.6-terraand qa togpt-5.6-sol, bothharness: codex; the Decision on #396 records the qa-contract change but not who asked for it; the force-push times on #402, #404, #405, #406 and #408 follow sibling merges, and the approvals on #402 and #406 mention the rebase, but no comment mentions a conflict. No review or QA comment names its own harness or model.Why: the brief is not on the trail, so this comment puts its account there, and the record cites this comment rather than the brief, as the M18, M19 and M20 records did on #353, #382 and #384.
docs: the M21 record — v2.1.1 and what the fleet's first fortnight on…
docs: the M21 record — v2.1.1 and what the fleet's first fortnight on…
davison commentedon Oct 11, 2026
Closed by
gh codecrew milestone close 21: all 8 tasks done, milestone document merged.