# 0.21.0 release verification

This record covers release preparation and source review. It claims no installation, no running-hub upgrade to 0.21.0 and no live TUI launch.

## Candidate

Version 0.21.0, prepared first from main 3254c912 (57 commits since v0.20.0, 36 of them `feat`; bump rule: minor) and merged untagged as b35a05b1. It was then completed from main 26a8a835 with seven more PRs (see Second release pass), 68 non-merge commits since v0.20.0 in all. The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.

## Reviews

Pull requests named by the commits since v0.20.0: #961, #960, #548, #954, #933, #955, #959, #957, #950, #948, #958, #956, #945, #951, #947, #952, #554, #953, #555, #949, #941, #944, #946, #801, #936, #798, #934, #942, #943, #940, #938, #939, #901, #937, #786, #928, #927, #515, #926, #923, #925, #924, #922, #919, #921, #920, #918, #914, #917, #916, #911, #913, #915, #902, #910, #909, #907, #908, #906, #904, #905, #903, #898, #894, #879, #897, #896.

Each of these merged with `gh pr merge --squash --match-head-commit <head>` after its hub review, with exact-head CI green and no unresolved review thread at that head. Approvals that were bound to an earlier head than the one merged:
- #954 (task 548): codex-review approved code-only at 1928e88e. The conductor reviewed the delta to 7ee6e5cb, which added the shard names in ci-gates, the git warm-up and the shard-variable unset, and merged on green exact-head CI.
- #959 (task 556): approved before a conflict-only rebase to ee2c146d. seeds.json was rebuilt from main's seeds plus the PR's own.
- #955 (task 557): the person approved the merge before the review-fix commit f8d3b5b0, which answered the two connector threads with tests. The hub approval was then recorded by the person.
- #960 (task 535): approved at a23caea2, the merged head. Shard 4 of its exact-head run was green on a rerun of the failed job, an unchanged PTY test (task 559).
- #961 (task 539): approved at 07de10c6, the merged head. Shard 1 was green on a rerun of the failed job, an unchanged code-facts deadline test (task 559).
This record does not re-read the review history of each PR merged before 2026-10-29; they were merged under the same rule.

## Native acceptance receipts

Receipts added under `docs/verification/` since v0.20.0: `docs/verification/2026-10-28-claude-2.1.311-2.1.312-bash-permission.json`, `docs/verification/2026-10-28-claude-2.1.311-2.1.312-permission-transport.json`, `docs/verification/2026-10-28-claude-implementer-permission-triage.md`, `docs/verification/2026-10-28-jcode-0.99.1-usage.md`, `docs/verification/2026-10-28-realpath-name-audit.md`, `docs/verification/2026-10-28-routing-f0bb8ad0.md`, `docs/verification/2026-10-29-model-effort-capabilities.md`, `docs/verification/claude-implementer-permission-triage.ts`.

This list is read from the repository, never written by hand. Native acceptance and the person's release consent are separate records: consent is `ahub sdlc authorize-release 0.21.0`, person only, and is not recorded in this file. The tag run refuses without it.

## Document review

`node scripts/check-docs.mjs --require-fresh` reported 15 stale documents. Each was reread against `git log <stamp>..HEAD -- <its source paths>`, corrected in aeeaeb04, and restamped at aeeaeb04 in 97b59d60:
- src/cli/help.ts (16 commits): the `sdlc merge` output flags, `task label --created` being the person's, and the start rule for external module instances.
- README.md (47): the release report link.
- docs/quickstart.md (47): the install pin, the historical 0.20.0 amem pin, and a new "Upgrading to 0.21.0" note.
- docs/operations.md (49): 20 corrections. Commands the conductor may now run (queue resolve, stop, roster add/remove, board import, task role), the queue backpressure settings row, the tier-3 structural keys, `ahub down`, the CI watcher's rerun behaviour, the console Rooms table, dirty submodules, and the external module instances.
- docs/security.md (45): the new machine-local fields (including `rooms`), typed-name judging, `doc_read`/`web_fetch`, source and corpus screening, the intake split, the rooms X1 to X5b status, the DOING line, the external module instances, and the read-only planner instances.
- docs/agent-notes (adapters 36, budget 28, bus 29, daemon 36, local-worker 9, models 2, tasks 40, tests 54, README 9, benchmarks 8): renamed or moved rules corrected (conductor operations, recovery target floors, schedule timers, pack resolution, remote recipients in the bus, context admission, the Codex planner sandbox, Claude failure stages, CLI print guards). Rationale moved into docs/agent-notes/README.md. benchmarks.md needed no change.
The CHANGELOG 0.21.0 section was completed with the merged PRs that had no entry: rooms #908/#910/#922/#941/#956/#959, #927, #951, #961, #905, #894, #950, #928, #903, #952, #942 and the test fixes. The #933 entry now names the agy launcher as well as Jcode.

## Second release pass

The person asked on 2026-10-30 to merge the open PRs before tagging, so the first release merge (b35a05b1, PR #965) was not tagged. These PRs merged after it, each after its hub review, with exact-head CI green and no unresolved review thread:
- #966 (task 440, #489 H1) and #967 (task 561, #963), both approved at their merged heads.
- #969 (task 562, #964), approved at its merged head.
- #968 (task 324, #637 part 2): codex-review approved code-only at 51d1c934; the conductor made a conflict-only rebase to f3483920 and merged on green CI.
- #962 (task 559): approved at 5b86e10d; two conflict-only rebases by the conductor to 82e05552.
- #971 (task 400): approved; a conflict-free rebase by the conductor to a22c914e.
- #970 (task 441, #489 H2): codex-review approved code-only at b91c8a09; the conductor made a conflict-free rebase to d3d0cfe9, plus a docs-only dogfood row at 5d2b841d that answered the connector thread.
Each conductor rebase was verified as content-identical for the PR's own files. CI flakes in this pass, each passing on a single rerun of the failed job: the release-tag, qwen-dual and peer-stop timing tests (task 563, PR #973, not in this release) and path-policy, smoke-pty and code-facts (fixed by #962). PRs whose heads predated a workflow change on main failed with "Module not found" until rebased (hub memory b659b689).
The CHANGELOG 0.21.0 section gained #966, #967, #969 and #971, and #970's entry moved in from Unreleased. The 11 documents stale after these merges were reread and restamped in this pass.

## Checks

First pass at 97b59d60: `node scripts/check-docs.mjs --require-fresh` printed `docs: OK (0 stale documents)`, `bun x tsc --noEmit` was clean, `bun scripts/build.mjs --check` exited 0 and `node scripts/check-package.mjs` printed `package: OK (635 files, @staix/agent-hub@0.21.0)`.
Second pass, after the restamp at e2ee0ad4 in a worktree with its own frozen install: `check-docs --require-fresh` printed `docs: OK (0 stale documents)`, tsc was clean, `build.mjs --check` exited 0 and `check-package` printed `package: OK (637 files, @staix/agent-hub@0.21.0)`. A build run before that worktree's own install resolved the main checkout's older dependency and looked stale; that was the known ancestor-import-path trap, not a bundle change. The release PR's exact-head CI is the full gate.

## Known gaps, not blocking

- The release adds no live receipt. Still open: #912 AC1 (a fresh Jcode peer calling hub_send in its first turn), #793 AC6 (task 468, pi's remote check; it needs the hub restarted with the remote runner), #418 AC8 (managed-Pi receipts), and native/account execution of #900 conductor recovery and #802 context admission.
- Three timing flakes on the sharded macOS leg (path-policy, smoke-pty, code-facts) each passed on a rerun of the failed job. The test fixes are task 559 (PR #962), and the macOS PTY bridge hang under load is task 560. Neither is in this release.
- docs/operations.md has no section yet for schedules and folder triggers, sources, intake, corpus.paths, doc_read/web_fetch or `ahub smoke run`. They are described in the spec, data-policy, memory.md and smoke.md.
- The full `scripts/check.sh` was not run locally; the release PR's CI runs it on both OSes.
- Not in this release (still open or after the cut): task 563 (PR #973, the round-2 timing fixes), task 323 (PR #972, `ahub learn`) and task 444 (#489 H3).
