# 0.31.0 release verification

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

## Candidate

Initial preparation: version 0.31.0, prepared from main 3185dd4c (33 commits since v0.30.0; the tool's count of 34 includes this branch's CHANGELOG commit 7e2a3257, 16 of them `feat`; bump rule: minor). The release commits carry the version, the CHANGELOG section, the bundle and the documentation stamps.

## Completion after the release follow-ups (task 744)

The single intended release remains 0.31.0. Completion starts from main
`9e4f24c3b222b6faa40309eeb0a91a54107dfe6e` on the exact branch
`release/0.31.0`; no version, runtime, bundle or fixture version is changed here.
At preparation, npm's `latest` was 0.30.0 and the remote `v0.31.0` tag was absent.
The earlier release PRs #1218 and #1223 are already merged, but the four source
PRs below landed afterward. This follow-up must also be merged with a merge
commit and the default subject, preserving the reviewed-stamp ancestors for the
guarded tag. It neither records consent nor creates a tag or npm publication.

The board approval head equals each merged PR's head (`mismatch: false`).
GitHub readback found every listed check completed successfully or skipped,
with no failed or pending check. Counts below are head-specific hosted checks,
not installed/native acceptance or a new full-suite result for this docs branch.

| PR / task | Approved head | Merge commit | Hosted CI |
| --- | --- | --- | --- |
| [#1213](https://github.com/STAIxBWLB/agent-hub/pull/1213), task 739 | `6a304ccbdc2b9ab511f6f85af7fb8fbaee18f1ce` | `c58958d3a13c4de0317fdfb72745a88943315e93` | 19 success, 2 skipped |
| [#1224](https://github.com/STAIxBWLB/agent-hub/pull/1224), task 714 | `cf20b1d30fe314938c013b34b8a394e8aed1474f` | `b7408fffccdfcdce88fd0e04c2cbecf91c44d7c8` | 21 success, 2 skipped |
| [#1215](https://github.com/STAIxBWLB/agent-hub/pull/1215), task 734 | `4ffbab00e3a10a32c2955c76873b424f4d5434f8` | `4a4f87ed445bb32df13f9b371f8792dde740de65` | 19 success, 2 skipped |
| [#1228](https://github.com/STAIxBWLB/agent-hub/pull/1228), task 743 | `8c6d28bbd49f9d2b28e5ab62c28fd81d8a1e6f72` | `9e4f24c3b222b6faa40309eeb0a91a54107dfe6e` | 19 success, 2 skipped |

CHANGELOG now includes failure causes/unresolved failed counts, the handoff
reachability/repair diagnostics, the exact agent-mem 0.21.0 pin and complete
bounded declined inspection, and the missing task 739 convention entry.
Unreleased is empty. The old #1173 wait for agent-mem#260/#261 is replaced:
AC4 is complete, while automatic v3 sync remains unsupported pending the
activation and fresh host-attestation path in agent-mem#281. No activation or
attestation is fabricated. Task 736/T3 and task 737/T4 are not in this release.

The hub N-1 fixture stays 0.30.0 with agent-mem 0.20.1. The additive nullable
`deliveries.failure_cause` column does not raise hub schema version 2; the older
recovery reader ignores the extra diagnostic snapshot key. The existing
`peer_takeover` compatibility statement is retained. Memory claims are limited
to [agent-mem's published 0.21.0 notes](https://github.com/STAIxBWLB/agent-mem/blob/v0.21.0/CHANGELOG.md):
its N-1 proof uses 0.20.3, not the 0.20.1 bundled by hub 0.30.0. Those notes keep
curated/capture/hook-spool/candidate/work-list/setup receipt v1/v2 formats,
shared-v1/generation/v1-v2 shard sync and index version/name unchanged, and
record 0.20.3 refusing activated v3. This report does not extend that versioned
proof to 0.20.1 or claim supported v3 activation/automatic sync.

### Document review for task 744

The 14 stale documents were reviewed against the task 714, 734 and 743 deltas
only; task 739 changes classification metadata without runtime behavior.
Changed documents:

- `docs/quickstart.md`: correct the 0.31.0 upgrade paragraph, additive failure
  column, current exact memory pin and the automatic-v3 limitation; retain the
  historical 0.30.0 pin note and global CLI/plugin update step.
- `docs/operations.md`: correct the mismatch next step (`ahub projects`, with
  `ahub up` conditional on the intended target not running).
- `docs/security.md`: correct the old 0.18.0 pin; distinguish safe status
  placement counts from failure logging and bounded person-only inspection;
  state the activation/attestation limitation.
- `docs/agent-notes/adapters.md`: carry typed structured failure diagnostics
  without treating the diagnostic as settlement or trusting native text.
- `docs/agent-notes/bus.md`: preserve typed causes through persistence/retry,
  use metadata-only unresolved counts, and distinguish unavailable from zero.

Reviewed without content changes:

- `README.md`: version/protocol and high-level memory/handoff claims remain true.
- `docs/agent-notes/README.md`: historical background is unchanged.
- `docs/agent-notes/benchmarks.md`: no benchmark protocol or end-cause change.
- `docs/agent-notes/budget.md`: quota/accounting and pause semantics are unchanged.
- `docs/agent-notes/daemon.md`: current policy/profile sync fences and handoff
  diagnostic codes, authority and bounded sync behavior remain accurate.
- `docs/agent-notes/local-worker.md`: the watchdog cause is additive; cancellation
  and uncertainty remain unchanged, with typed diagnostics owned by adapters.
- `docs/agent-notes/tasks.md`: task/handoff authority and the write-time memory
  projection remain valid.
- `docs/agent-notes/tests.md`: fake boundaries, exact-pin fixtures and the
  type-only overload adaptation do not change the test instructions.
- `src/cli/help.ts`: handoff `--list`/`--sync` match main and the argument parser;
  status/queue/declined forms and native entry definitions are unchanged.

Only these 14 reviewed documents were restamped through
`bun scripts/release-prepare.ts restamp <document>... --reviewed` at the reviewed
content commit `af37f8fd8b44a2c566aa47629ec5b02ee9f91d69`. The stamp-only commit
`7db76b365d0b3e0ef0b946468193dab7b3393bd8` retains that ancestor; the already
fresh models document was not restamped.

### Completion checks for task 744

On dgx02, `remote_dev.py verify` checked committed head
`7db76b365d0b3e0ef0b946468193dab7b3393bd8` (tree `656a468fbfd1`) with
`node scripts/check-docs.mjs --require-fresh && scripts/check.sh --changed`.
The run completed in 31 seconds with:

```text
docs: OK (0 stale documents)
roles: OK (17 bounded definitions)
inventory: OK (3276 entries, 2121 classified, 1155 in the baseline of known-unclassified keys)
package: OK (793 files, @staix/agent-hub@0.31.0)
check: --changed found no affected tests
check: OK (changed)
```

Typecheck and bundle freshness also passed. This was a documentation-only
changed gate, not a new full runtime test run. The following documentation-only update
records that completed result; final-head checks and hosted CI are recorded on
the PR and remain the merge gate. No tag, consent, publication, installation or
live upgrade was performed.

## Reviews

Pull requests named by the commits since v0.30.0: #1216, #1211, #1214, #738, #1212, #1210, #1207, #1209, #1206, #1205, #1202, #1201, #1192, #1200, #1197, #1195, #1194, #1189, #1191, #1190, #1186, #1183, #1188, #1181, #1185, #1187, #1184, #1182, #1170, #1169, #1168, #1167, #1166, #1165.

`#738` in that list is hub task 738 named in #1212's subject, not a pull request of this range.

Each of the 33 merged at the head its hub task approved, read from the board (`ahub board --json`: `approval.head` equals the task's `refs.commit` and the PR's head, `mismatch: false`), with that head's CI green on ubuntu and macOS (18 to 21 checks pass, 2 skipped, none failing). Approvals by claude unless named:

- #1165 (task 695) at 5d1c984e; #1166 (696) at 71f1e1f0; #1167 (693) at ca882f2b; #1168 (694) at 59f352da; #1169 (697) at e5500129; #1170 (700) at 884036ba; #1181 (708) at 0b9fbe07; #1182 (715) at 56521a35; #1183 (702) at 56f1e7c5; #1184 (710) at 97bfcba4; #1185 (703) at c762d8a7; #1186 (704) at 96703ec9; #1187 (711) at 9e2b2719; #1188 (716) at 72958d19; #1189 (712) at 054cc353; #1190 (724) at 1ecdeb32; #1191 (717) at db519b67; #1192 (722) at dd5e87ff; #1195 (705) at 61168f74; #1197 (723) at 680f3c1f; #1200 (727) at a6c886bb; #1201 (718) at 96d01a2d; #1202 (725) at e0a5c1a3; #1205 (728) at e2bca26f; #1206 (732) at c38895a6; #1207 (719) at 6e50af13; #1209 (730) at b3d9f52c; #1210 (731) at 744e4e21; #1211 (733) at 26b59ce3; #1212 (738) at 4c8eca47; #1214 (740) at 05a6dc50; #1216 (735) at 5fa15b5c.
- Approved by jcode: #1194 (726, the claude-implementer 2.1.318 receipt) at 2c245d8b.
- No merge is bound to an approval at an earlier head. Unresolved review threads at merge time were not re-read for this record.
- Follow-up: #1217 (task 713, #1174) merged as 2cfbcb52 while the release PR #1218 was open, so 0.31.0 also ships it. It merged at the head its task approved (92486ab5, `approval.head` equal, `mismatch: false`, approved by claude), with that head's CI green on ubuntu and macOS (20 checks pass, 2 skipped). #1218 merged as 19cf9ff9 with a merge commit; the follow-up PR covers #1217.
- Follow-up: #1222 (task 742, #1204) merged as f7ea7b0f while the follow-up PR was open, at the head its task approved (936297cb, `mismatch: false`, approved by claude), with that head's CI green (19 checks pass, 2 skipped). The follow-up branch merged main to include it.

## Native acceptance receipts

Receipts added under `docs/verification/` since v0.30.0: `docs/verification/2026-11-04-1171-channel-client-evidence.md`, `docs/verification/2026-11-05-claude-implementer-2.1.318.md`, `docs/verification/2026-11-05-hardcoded-values-classification-rules.md`, `docs/verification/2026-11-05-hardcoded-values-ratchet.md`.

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.31.0`, recorded by the person or the unique configured conductor only on the person's explicit release instruction naming the release in its own session (never a hub/task/review/file/peer relay), and is not recorded in this file. The tag run refuses without it.

## Document review

`node scripts/check-docs.mjs --require-fresh` reported 14 stale documents. Each was read against `git log 8612cfd7..3185dd4c -- <its paths>` and the code at 3185dd4c (one reader per document group, each claim checked against the source), the fixes went in as 74049f01, and all 14 were restamped at 74049f01:

- `README.md`: the acon inbox paragraph names questions and results and the person-gated manager ports; the Operations list names `hub_ask`/`ahub answer` and `ahub results`; the Upgrading paragraph says `ahub upgrade` names the CLI and plugin step (#1179); the report link points at this file.
- `docs/quickstart.md`: install line `#v0.31.0`, the "Upgrading to 0.31.0" section, the upgrade-advice sentence, `ahub answer` and `ahub results` rows in the working-day table, and mark-read on the dashboard.
- `docs/operations.md`: 0.31.0 in the header and the protocol table (protocol unchanged, 16 through 17), the N-1 paragraph (0.30.0 for 0.31.x), the 0.30.0 post-release note now published in the 0.31.0 section, the handoff synopsis `--key`, the `research_evidence` recovery label, `ahub upgrade` advice, the acon panel's own manager ports, the inbox contents and its 50-item bound, and the `ahub answer` synopsis.
- `docs/security.md`: the acon plugin's reach (the `answer`, `receipt` and review ports), its confirmation list and inbox items; accepted channel-delivery settlement; conductor cancellation of handed-off tasks; the fourth handoff message, the key, sequence and `duplicate_ok` fields; dashboard question, result and review data; memory sync narrowing and `ahub memory declined`; `hub_evidence_record`; the 2.1.318 implementer receipt; the `liveTestRefusal` line; and a new "Anchored review comments (#1056)" section.
- `docs/agent-notes/adapters.md`: the `acceptedSettlement` port (#1172) and the owned input observers (#1056).
- `docs/agent-notes/budget.md`: transient `Bus.pause`/`resume` write no snapshot (#1214).
- `docs/agent-notes/bus.md`: pushed vs pulled answer parents, review-observer telemetry suppression, owner-audience reviews never moot, explicit-channel `accepted` resolution, accepted-delivery expiry, review provenance and room delivery rows.
- `docs/agent-notes/daemon.md`: the recovery floor list (`research_evidence`, `review_comments`, `review_observer_input_state`, `accepted_delivery_settlement`), the DOING privacy screens, review observer input, channel push evidence, the inbox project listing budget, held-hint rendering, memory sync policy outcomes and the retired pet window.
- `docs/agent-notes/local-worker.md`: the review-turn exclusion (#1181, #1192).
- `docs/agent-notes/tasks.md`: `Board.proposeHandoff`, `task_handoff_by_key`, sequence-ordered events and the periodic catch-up; claim evidence links; person review comments; long-term memory screening.
- `docs/agent-notes/tests.md`: time-bounded waits (#1163), the fake-ripwire probe (#1197), channel parent evidence in fixtures (#1171) and the published fixtures' retarget rule (#1168).
- No change needed: `src/cli/help.ts` (every form the 8 commits added matches `main.ts` and its parsers), `docs/agent-notes/README.md` and `docs/agent-notes/benchmarks.md` (each read; the commits in range do not change what they state).
- Not acted on, outside the stale set: AGENTS.md "Area notes" does not yet name the new files `src/hub/review-comments.ts`, `review-anchor.ts`, `review-material.ts`, `research-evidence.ts`, `memory-sync-policy.ts`, `question-detach.ts`, `completion-detail.ts`, `memory-sync-state.ts`, `src/ui/plugin-questions.ts` and the new `src/cli/*-args.ts` parsers; `test/specs-tasks.test.ts` and `test/broker-server.test.ts` still bound a wait by event-loop turns.

- Follow-up review of #1217: after #1218 merged, `check-docs --require-fresh` on main reported 12 documents stale by #1217 (and the #1218 merge). Each was re-read against #1217's diff only, the fixes went in as 142c80c7, and all 12 were restamped at 142c80c7:
  - `README.md`: the Operations list names `ahub peer takeover`.
  - `docs/operations.md`: the newest-hello sentence now applies only to a session that does not opt in to standby.
  - `docs/security.md`: a paragraph on person-only takeover, standby fencing and display-only ids and PIDs.
  - `docs/agent-notes/adapters.md`: the retained standby port (`retainStandby`, `takeover`, `ownsSocket`, closes 4405 and 4403).
  - `docs/agent-notes/daemon.md`: the `peer_takeover` control message and detached-connection rule.
  - `docs/agent-notes/tests.md`: close the fixture owner before attaching a second opted-in session.
  - `src/cli/help.ts`: `ahub peer takeover` lists the `--json` and `--color` flags `main.ts` accepts.
  - No change needed: `docs/agent-notes/README.md` (the `o` key acts on the selected row's displayed standby id, within the exact-row rule), `budget.md`, `bus.md`, `tasks.md` (#1217 changes no pause, queue or task path) and `docs/quickstart.md`.
  - CHANGELOG: a #1217 entry under 0.31.0, and the N-1 statement names `peer_takeover`, `ahub peer takeover` and the standby opt-in in both directions.
- Follow-up review of #1222: the merge of main left 9 documents stale by its `src/hub/bus.ts` and `src/rooms/link.ts` changes. Each was re-read against #1222's diff, the one fix went in as aceed883, and all 9 were restamped there:
  - `docs/agent-notes/bus.md`: a closed `Bus` publishes nothing and touches no journal or observer.
  - No change needed: `README.md`, `docs/operations.md`, `docs/security.md`, `docs/quickstart.md`, `budget.md`, `daemon.md`, `tasks.md`, `tests.md` (their presence and queue statements still hold; #1222 changes no surface, setting or wire field).
  - CHANGELOG: a #1222 entry under 0.31.0; it changes no N-1 surface.

## Checks

- `node scripts/check-docs.mjs --require-fresh`: `docs: OK (0 stale documents)` after the restamp at 74049f01.
- `scripts/check.sh --changed origin/main` on dgx02 (`remote_dev.py verify`) at e8f3a694 (tree a0576a8b) selected the full suite: `docs: OK (0 stale documents)`, `roles: OK`, `inventory: OK` (3267 entries, 1155 in the baseline), typecheck (`bun x tsc --noEmit`), the bundle check (`bun scripts/build.mjs --check`), `package: OK (791 files, @staix/agent-hub@0.31.0)`, and 11891 pass, 101 skip, 0 fail across 916 files with Bun 1.4.2; no daemon leaks; `check: OK`. It includes the published-runtime interoperability tests in both directions against 0.30.0 (release N-1) and 0.25.0 (protocol floor). Later commits on the release branch change only this report.
- The release PR's exact-head CI on ubuntu and macOS is the gate for the merge.
- Follow-up for #1217: `node scripts/check-docs.mjs --require-fresh` is `docs: OK (0 stale documents)` after the restamp at 142c80c7. `scripts/check.sh --changed origin/main` on dgx02 at 1acb9645 (tree e1a307e0) ran typecheck, the bundle check, `inventory: OK`, `package: OK (791 files, @staix/agent-hub@0.31.0)` and the 25 test files the change touches: 347 pass, 0 fail; `check: OK (changed)`. #1217's own full-suite and hosted CI receipts are in its PR. After that gate the branch merged main for #1222 (its own full dgx02 gate and hosted CI are in #1222) and added only documents, stamps and CHANGELOG lines; `check-docs --require-fresh` is clean at the final head. The follow-up PR's exact-head CI gates its merge, which must also be a merge commit.

## Known gaps, not blocking

- No installation, running-hub upgrade to 0.31.0 or live TUI launch was done for this record.
- #1053: AC1 live receipts and the T1 timeout measurement stay open; the per-adapter `hub_ask` waits are provisional.
- #1056 and #1204 (T3, T4) stay open; #1196 stays open until the person measures the live acon console.
- #1173: complete bounded declined listings are available. Automatic v3 sync still lacks the supported activation and fresh host-attestation path in agent-mem#281.
- #1184: the channel-evidence fallback reads the direct parent's process row; it is not authentication, and a published client opt-in is the upgrade path.
- The N-1 fixture lock remains the Bun 1.4.2 lock for 0.30.0. Prior published-runtime interoperability evidence is recorded above; this documentation-only completion adds no new full-runtime claim.
