Repository navigation
Description
Goal
M14-R3 in full, last. Part A: the [Unreleased] changelog becomes 2.0.0, leading with what broke and the migration steps; docs/introduction.md and README flip; PR finished by the protocol. Part B: the annotated tag by the implementer identity, release.yml, five assets. Then the OPERATOR verifies gh extension upgrade codecrew prints v2.0.0 and status runs clean on this hub, migrates the remaining twelve repos hubs-before-spokes with gh codecrew migrate, and records the run on #269.
Requirements
M14-R3
Plan
Part A — the flip PR (this PR). As #242's PR #246 did for v1.2.0, with one addition the size of this release earns: a lead block.
- CHANGELOG.md.
## [Unreleased]becomes## [2.0.0] — 2026-09-06(the tag's date; amended before tagging if the tag slips a day), with a fresh## [Unreleased]carryingNothing yet.above it, in the form of the 1.2.0 flip (f64d4c9) and the 1.1.0 flip before it (a7a459d). The nineteen###sections under Unreleased today — M13's protocol-2.0 work, M14's bookkeeping, and the M12 and M13 records — move into 2.0.0 unchanged but for the tidy in step 3. No entry for this task itself, as with Ship v1.1.0: the changelog flip, the docs at the boundary, the tag and the verified release #186 and Ship v1.2.0: the changelog flip, the introduction at the boundary, the tag and the verified release #242. - The lead block. Between the
## [2.0.0]heading and the first###, a short "What broke, and what to do" block in the shape of 1.0.0's opening paragraph and its "What 1.0 promises" section: the layout move in one sentence; that a 2.0 binary refuses a 1.x repo withrefused[LAYOUT_LEGACY]and there is no dual read; then the migration steps as a numbered list — upgrade the extension,gh codecrew migratein each repo with hubs before their spokes (a spoke reads its hub's.codecrew/roles/), read the commit, push and open the PR yourself, and paste theaction neededlines into a kept rootAGENTS.md/CLAUDE.md. It points at the migrate entry below for the detail rather than repeating it, and names the other four breaks (typed identities, routing failing closed, the entry point's move, the 1.0 shims and the tightened record grammar) as a sentence with pointers, not a second copy. - The one tidy. The
cc:labels entry's third bullet still closes "The asymmetry is deliberate:migrateruns once, on a repository whose labels nobody chose;initreruns, on one whose labels somebody may have" — the sentence SPEC §4 stopped saying in dd5913d, whose fourth bullet already carries the corrected reading (the move runs once; the label step is what a rerun repeats, and a deliberately restyled label is set back). Bullet three is reworded to SPEC §4's current wording so the two bullets agree; nothing else in the entry changes. - Link definitions.
[Unreleased]comparesv2.0.0...HEAD;[2.0.0]added asv1.2.0...v2.0.0; the rest kept. - docs/introduction.md. "What exists":
**Shipped:** v1.2.0 … protocol 1.0→v2.0.0 … protocol 2.0, and theversionexample →v2.0.0 (protocol 2.0). The verb list gainsmigrate(checked againstinternal/cli/cli.go's dispatch, which is where it has been missing since gh codecrew migrate: the one-shot 1.0 to 2.0 move #256 — it was correct to omit while 2.0 was unreleased). The dated "Onmainand not yet released:" paragraph Synthesize the M13 milestone document #284 added goes entirely: the migration guidance it carried lives in the changelog's lead block, which it already pointed at. - README.md. The matching "On
mainand not yet released:" block under "Start now" goes the same way, replaced by one sentence naming v2.0.0 as the current release and pointing a 1.x adopter atgh codecrew migrateand the changelog.git grep '1\.2\.0'outsideCHANGELOG.mdanddocs/milestones/is then only ROADMAP.md's M12 row, which records which milestone shipped it and stays. - Tests. Docs only, no Go touched;
go test ./...,go vet ./...andgofmt -l .run as the boundary check, plus a grep that no "not yet released" orv1.2.0-as-current claim survives outside CHANGELOG history,docs/milestones/and ROADMAP.md. - The PR carries no
Closes #272: this task closes after Part B and the operator's verification, so the body says "Part A of Ship v2.0.0 and migrate the fleet #272". The reviewer (an App) arrives by dispatch;task finish 272is not run here.
Part B — after the flip merges, on the coordination layer's word. Annotated tag v2.0.0 with message v2.0.0 (protocol 2.0) on the merge commit, tagged and pushed as radiusred-cody[bot]; watch release.yml (gh-extension-precompile) to success; confirm the five platform assets on the release; post the evidence on this issue — tag SHA, run URL, assets — as #242's evidence comment did. Then stop: the operator's own checks (gh extension upgrade codecrew → v2.0.0, status clean on this migrated hub, migrate --dry-run saying already 2.0) and the twelve-repo migration are the operator's to run and record on #269, and the operator closes this issue after that.
Ask-the-human points
None. The release content is what M13's and M14's merged tasks already decided; the version follows from protocol 2.0 being a breaking major, and the date from when the tag is cut. The one judgment inside the flip — how much of the migration guidance the lead block repeats versus points at — is an ordinary editorial call, recorded as a Decision.
Activity
radiusred-cody commentedon Sep 6, 2026
Started by @radiusred-cody[bot].
radiusred-cody commentedon Sep 6, 2026
Decision: the flip PR adds no
### …entry of its own under the fresh## [Unreleased]. The changelog rule ("every PR adds an entry under Unreleased") is suspended for a release flip, as it was on #186's and #242's flips (PR #246: "No entry for this task itself, as with #186"). An entry describing the 2.0.0 release, sitting under the Unreleased heading that release just created, would be a changelog line about the changelog — and the first real entry after this merge would then have to work around it.Trade-off: a reader diffing
## [Unreleased]across the flip commit sees the section empty rather than self-documenting; the flip itself is legible from the## [2.0.0] — <date>heading, the compare links and this task issue.Rejected: an entry under 2.0.0 saying the release was cut — the tag and the heading say that, and every other entry in the section describes a change to the software rather than to the record.
radiusred-cody commentedon Sep 6, 2026
Decision: the "What broke, and what to do" block leads the 2.0.0 section as a
### What broke, and what to doentry: one paragraph on the layout move andLAYOUT_LEGACY, the five migration steps as a numbered list, and one paragraph naming the other breaks — typed identities, routing failing closed, the entry point's move, the three deleted 1.0 shims and the tightened record grammar — each pointing at its own entry below rather than restating it. The heading form follows 1.0.0's### What 1.0 promises, which is likewise a summary rather than a change entry.Trade-off: the migration steps now appear twice in the file — here, and in the Protocol 2.0: the .codecrew/ layout entry's "Moving a repo forward" block, which arrived with #256 before the release had a section to lead. The duplication is deliberate: the block a 1.x adopter needs must be the first thing under the version heading, not four hundred lines down, and the older block carries detail (the
action neededshape, the label step's failure mode) the lead deliberately compresses.Rejected: deleting the older block and leaving only the lead — it is part of a merged entry describing what #256 shipped, and editing an entry to remove content it recorded rewrites the history the file exists to keep. Also rejected: a lead of two sentences pointing at that block, which would make an adopter hunting the migration steps scroll past nineteen entries to find them.
radiusred-cody commentedon Sep 6, 2026
Decision:
docs/introduction.md's shipped-verb list gainsmigrate, which it has never carried. The verb shipped in #256 while 2.0 was onmainand unreleased, so omitting it from a paragraph headed Shipped: was correct until this flip and is wrong the moment the claim reads v2.0.0. The list is checked againstinternal/cli/cli.go's dispatch —init,migrate,status,identity new/token/webhook,milestone new/close/evidence,task new/start/finish,checkpoint,role,roles,version,help— andhelpstays out of the list here as it always has.Trade-off: none; the paragraph is one verb longer.
Rejected: leaving the list as it stands and letting the changelog carry
migratealone — the introduction's list is the one an adopter reads to know what the installed binary can do.docs: the changelog's [Unreleased] becomes 2.0.0, leading with what b…
docs: the label entry's asymmetry reads the way SPEC §4 now does (#272)
docs: the introduction and README name v2.0.0 as the shipped release (#…
radiusred-cody commentedon Sep 6, 2026
Deviation: checky's change request on PR #298 asked for two things — the literal closing keyword out of the PR body, and
closingIssuesReferencesempty afterwards. The first is done. The second cannot be reached by editing the body, and the PR still reportsclosingIssuesReferences: [#272].Why: the link is not body-derived.
gh codecrew task startcreates the working branch withgh issue develop(internal/tracker/github.go:230), which is a linked branch on the issue's development panel; when a pull request is opened from that branch GitHub converts the branch link into a linked pull request that closes the issue on merge. That link has no public API handle:gh issue develop 272 --listand thelinkedBranchesGraphQL connection are both empty (the branch link was consumed by the PR), the public schema offerscreateLinkedBranch/deleteLinkedBranchand nothing for a PR link, and the survivingConnectedEvent(REST timeline id30648824719) is not deletable. RemovingCloses #272from the body produced noDisconnectedEventand left the reference in place, which is the same evidence read from the other side.What this means for Part B: merging #298 will close #272, whatever the body says. This is how every task in this hub has closed —
task finishdoes not close the task issue itself (its onlyCloseIssuecall is for adopted captures,internal/cli/task.go:689); it relies on exactly this link. M12's precedent went the same way: #242 was closed by the merge at 2026-09-04T23:59:41Z and Part B's tag, the release evidence and the operator's verification were all posted on the closed issue, with no reopen.Not mine to decide, so it goes to the coordination layer rather than into a commit. The options, as I see them: (a) accept the close and run Part B on the closed #272, as M12 did — the evidence comment and the operator's verification read the same either way; (b) reopen #272 immediately after the merge and close it again after the operator's verification, which costs one
gh issue reopen; (c) close PR #298 and open a replacement from the same branch, which is the one act that would clear the link — GitHub does not re-link a PR to an issue whose linked branch it has already consumed — at the price of the PR number, its URL and checky's review. I have done none of these and made no commit and no push.davison commentedon Sep 6, 2026
Decision: PR #298's merge will close this task through the linked branch
task startcreated (the body no longer carries a closing keyword; the implementer's Deviation above shows the link is not body-derived and cannot be cleared). Accepted, as in M12 (#242): Part B — the annotated tag, the release run and the evidence — and the operator's verification and fleet migration are posted on this issue after it closes; no reopen. Rejected: closing #298 and reopening a replacement PR from the same branch — it would discard the reviewed PR and its number for a cosmetic difference in the timeline. Coordination layer, 2026-09-06.docs: the changelog's [Unreleased] becomes 2.0.0, leading with what b…
docs: the label entry's asymmetry reads the way SPEC §4 now does (#272)
docs: the introduction and README name v2.0.0 as the shipped release (#…
radiusred-cody commentedon Sep 6, 2026
v2.0.0 release evidence (M14-R3, implementer side)
Merge commit:
2b75fdc6fdf5f6c8bb44a7ce8068fd0e3ebfad09onmain— PR #298 merged (rebase) bytask finish 272; every gateok, and the verb reportedradiusred/gh-codecrew#272 closes via its closing keyword, deleted the remote branch, fast-forwarded the localmainand deleted the local task branch at the merged head87ca855. The commit's date, 2026-09-06, matches the## [2.0.0] — 2026-09-06heading it ships, so the heading needed no amendment.Tag:
v2.0.0, annotated, tag object93bf2f37818e1ccc7f2f3cff497628aae846d805→ commit2b75fdc6fdf5f6c8bb44a7ce8068fd0e3ebfad09; taggerradiusred-cody[bot] <270330637+radiusred-cody[bot]@users.noreply.github.com>at 2026-09-06T18:46:35Z; messagev2.0.0 (protocol 2.0). Confirmed through the API as well as locally:repos/radiusred/gh-codecrew/git/ref/tags/v2.0.0resolves to that tag object and the tag object'sobject.shais the merge commit.release.yml: run 34052790620 —
completed, conclusionsuccess, 1m11s, built bycli/gh-extension-precompile@v2. The one annotation is the runner's standing Node 20 deprecation notice onactions/checkout@v4andactions/setup-go@v5, not a failure.Release: https://github.com/radiusred/gh-codecrew/releases/tag/v2.0.0 —
gh release view v2.0.0 --json tagName,name,assets→v2.0.0,gh-codecrew 2.0.0, published (not a draft, not a prerelease), five assets:gh-codecrew_v2.0.0_darwin-amd64gh-codecrew_v2.0.0_darwin-arm64gh-codecrew_v2.0.0_linux-amd64gh-codecrew_v2.0.0_linux-arm64gh-codecrew_v2.0.0_windows-amd64.exeThis issue closed at the merge through the linked branch
task startcreated, which is the accepted outcome recorded above; Part B was run on it closed, as M12's was on #242.The installed-binary checks are the operator's to run and post —
ghextensions are user-global, so a seat cannot install one in its dispatch dir:gh extension upgrade codecrew→ v2.0.0,gh codecrew version→v2.0.0 (protocol 2.0),gh codecrew statusclean on this migrated hub, andgh codecrew migrate --dry-runreporting it already on protocol 2.0. Then the remaining repos, hubs before their spokes, recorded on #269.davison commentedon Sep 6, 2026
Operator legs for v2.0.0 — release https://github.com/radiusred/gh-codecrew/releases/tag/v2.0.0 (tag
v2.0.0→2b75fdc, run 34052790620, five assets). Coordination layer, 2026-09-06; tick off on this issue as you go:gh extension remove codecrew, thengh extension install radiusred/gh-codecrew, thengh codecrew version→ expectv2.0.0 (protocol 2.0).gh codecrew statusruns clean (no drift, no refusal);gh codecrew migrate --dry-runsays already on the 2.0 layout and labels at the protocol defaults.gh codecrew migrate --dry-run, thengh codecrew migrate, thengit show --statto review the commit, then push (or open a PR where the branch is protected), then paste the printedaction neededlines into a kept AGENTS.md if any.Then the QA seat verifies M14 and the doc-synthesizer writes the record.