Skip to content

M21: v2.1.1: what the fleet's first fortnight on 2.1 taught #393

Closed
8 of 8 issues completed
Closed

Description

@davison

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

Gates

What "done" means beyond CI: e2e suites, manual UAT, sign-offs.

Sub-issues

Sub-issues

8 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. added
    cc:milestone
    on Oct 10, 2026
  2. davison commented on Oct 10, 2026

    @davison
    ContributorAuthor

    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 codecrew on the coordination machine: upgraded from v2.1.0 to v2.1.1; gh codecrew version → v2.1.1 (protocol 2.1). gh codecrew roles diff for all five roles: each matches the embedded v2.1.1 contract — the implementer/reviewer drift status had 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.md is hand-written). The contract-history table for v2.1.1 is Part C of #401, in flight as a housekeeping PR.

  3. radiusred-testy commented on Oct 10, 2026

    @radiusred-testy

    M21-R1 — satisfied. On merged main, go test ./..., go vet ./..., gofmt, and go build ./cmd/codecrew passed. I read both workflow files and found exactly three runs-on declarations, all ubuntu-24.04 with the #380 migration comment. I queried the jobs API: both jobs on R1 PR #402 and every later M21 PR run reported label ubuntu-24.04; the earlier PR #403 run reported ubuntu-latest because it ran before #402 merged. Release run 38094448333's release job reported ubuntu-24.04 and succeeded.

    M21-R2 — satisfied. On merged main, go test ./..., go vet ./..., gofmt, and go build ./cmd/codecrew passed. At v2.1.1 I read task.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 is PUT repos/{o}/{r}/pulls/{n}/merge -f merge_method=rebase -f sha=<gated head>, with no gh pr merge call. The live read-only task finish 401 --dry-run printed refused[CLOSED] at the first gate and no policy note because later gates were not reached; separately, the rules API named required context Lint commit messages and 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.md was empty and both releases expose the same 49 refusal codes.

    M21-R3 — satisfied. On merged main, go test ./..., go vet ./..., gofmt, and go build ./cmd/codecrew passed. I read v2.1.1's 26-row recordShapes table and ran TestRecordAPIPath, 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 18 resolved all 10 citations across 11 issues and milestone evidence 21 resolved all 3 across 9. I had no private hub for a live probe, so that path is test-proven: it warns without refusing, matching roles show qa; a dead mapped/public GitHub link still refuses EVIDENCE_UNREACHABLE, whose SPEC meaning is unchanged.

    M21-R4 — satisfied. On merged main, go test ./..., go vet ./..., gofmt, and go build ./cmd/codecrew passed. With released v2.1.1 I ran hub and --hub radiusred/gh-codecrew spoke init in fresh local scratch repositories: both made chore: scaffold codecrew commits whose bodies named the exact invocation, v2.1.1, protocol 2.1, every written file and Housekeeping (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 qa committed 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, and go build ./cmd/codecrew passed. Both released-binary scratch init runs printed that task finish requires a reporting check, refuses NO_CHECKS without one, and linked the no-path-filter pull_request workflow in docs/first-milestone.md. I did not run task new or task start against a workflow-less live repository because neither has a read-only mode; the focused tests passed for zero workflows, missing triggers, scalar/list/map on: forms, disabled/unreadable workflows and the hairbrush case pull_request_target alone, which does not count. CLI.md cross-references NO_CHECKS from init and task finish; deferred option 2 is the linked, open, unlabeled capture #409.

    M21-R6 — not satisfied. On merged main, go test ./..., go vet ./..., gofmt, and go build ./cmd/codecrew passed. roles show reviewer contains the App/no-assignee start-record bullet and the init housekeeping-body bullet, roles show implementer requires a link to the Started by comment, all five roles diff calls match embedded v2.1.1, and a clean clone's five-role roles sync ... --dry-run kept every contract with nothing to write (the unscoped command correctly refuses this hub's deliberate .codecrew/AGENTS.md fork). However, comparing every task's actual Started by comment URL with all eight M21 PR bodies found only 7/8 exact links: PR #405 calls https://github.com/radiusred/gh-codecrew/issues/395 the start record but does not link the actual comment https://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, and go build ./cmd/codecrew passed. 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 prints merged PR #N then the read-back result, uses a four-read/two-second bound, and calls CloseIssue only for adopted captures—not the task. CLI.md states that behavior and bound; Part C was housekeeping and therefore supplied no live task finish observation, 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 version printed v2.1.1 (protocol 2.1); SPEC remains 2.1; the annotated tag peels to 9757001; the published, non-draft release has exactly five platform assets; and release run 38094448333 succeeded, including its contract-history guard step on ubuntu-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 only internal/cli/contract_history.go, adding the six v2.1.1 history rows; its chore: commit names scripts/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 with task finish comments naming their tasks; #407 and #409 remain open captures; status shows every M21 task done, no gates, no role-contract drift, and only the hub's expected project-owned AGENTS-file drift.

  4. radiusred-testy commented on Oct 10, 2026

    @radiusred-testy

    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, and go build ./cmd/codecrew passed, and milestone evidence 21 found every cited link reachable. I reread M21-R6 verbatim on #393: roles show reviewer carries both the App/no-assignee start-record-and-linked-branch check and the init housekeeping-body shape, roles show implementer requires the PR body to link the Started by comment, and roles diff reports a match to embedded v2.1.1 for implementer, reviewer, qa, doc-synthesizer, and coordinator. PR #405 now links the exact Started by comment. 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 by radiusred-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 task Started by comment and compared it with the current bodies of #402, #403, #404, #405, #406, #408, #410, and #411: 8/8 are exact matches.

  5. radiusred-wordy commented on Oct 10, 2026

    @radiusred-wordy
    Contributor

    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-terra and both QA rounds in Codex under gpt-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 onto main before its gating review, meeting a CHANGELOG conflict each time. What the trail supports: all 24 commits on main since the M20 record carry Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>, and every task PR body ends "Generated with Claude Code"; .codecrew/config.yml routes the reviewer to gpt-5.6-terra and qa to gpt-5.6-sol, both harness: 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.

  6. davison commented on Oct 11, 2026

    @davison
    ContributorAuthor

    Closed by gh codecrew milestone close 21: all 8 tasks done, milestone document merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cc:milestone

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions