# 0.12.41 release verification

This record covers release preparation and source review. It does not claim publication, installation, a running-hub restart or native/live acceptance beyond the manual Codex check below.

## Candidate

Version 0.12.41, control protocol 16 (unchanged; no daemon feature added), from merged main. The person reported the 0.12.40 failure `invalid remote address ws://127.0.0.1:4602/?launchId=...` from an Orca launch and directed on 2026-10-20 "이슈 586만 구현하고 배포하라" (implement and ship only #586).

- Codex launch (#586, PR #587): the terminal launch id moved from the `--remote` URL query to `--remote-auth-token-env AGENTHUB_LAUNCH_ID`; the proxy reads `Authorization: Bearer <id>`; `--remote-auth-token-env` is a hub-owned Codex flag.
- Still open (unchanged from 0.12.40): every live leg listed in [the 0.12.40 record](2026-10-20-0.12.40.md), including a real upgrade that exercises the `terminal_owner` record (#482).
- Not in this release: everything else on the board; the person limited the release to #586.

## Reviews

| PR | Final head | Review | CI |
| --- | --- | --- | --- |
| #587 (#586) | 6c22808a | OCR delegation review of the source diff: no findings. codex-connector: P1 (the #482 leaf-wiring fixture still asserted the query) fixed at 6c22808a; P2 (negotiate bearer transport with a running 0.12.40 daemon) answered and declined: a 0.12.40 launcher's query makes Codex refuse to start, so a new daemon keeping query parsing serves no client, and a new CLI against an old daemon starts Codex and lacks only the terminal-owner proof until `ahub upgrade` restarts the daemon | exact head, success (both OS checks, 4/4 seeded shards) |

## Manual check

codex-cli 0.163.0, isolated `HOME`/`CODEX_HOME`, driven in a pty: `codex --remote ws://127.0.0.1:<p> --remote-auth-token-env X` sent `Authorization: Bearer <value of X>` on the loopback WebSocket upgrade. The same Codex refuses `--remote` with any path or query.

## Document review

Nine documents were stale against the 0.12.40 stamps (`e57b1936`), all through #587 and this release commit. Reviewed against `710c0771` and the release commit `644f9a45`.

| Document | Result | Checked claims and correction |
| --- | --- | --- |
| `README.md` | corrected | Status 0.12.41; the 0.12.40 Codex launch failure and its fix (#586); verification link. |
| `docs/quickstart.md` | corrected | Install pin `v0.12.41`; "Upgrading to 0.12.41" names the regression and points 0.12.39 users to the 0.12.40 notes; plugin restart names 0.12.41. |
| `docs/operations.md` | corrected | Version line, protocol 16 range and the upgrade commands name 0.12.41. |
| `docs/security.md` | corrected | The Codex proxy's bearer header carries only the launch id and is not a credential (#586). |
| `docs/agent-notes/adapters.md` | corrected in #587 | `terminalOwner(launchId)`: the id arrives as the bearer token because `codex --remote` refuses a path or query. |
| `docs/agent-notes/daemon.md` | no change | No daemon, recovery or control rule changed; the launch plan change is covered in `adapters.md`. |
| `docs/agent-notes/tasks.md` | no change | No task or tool rule changed. |
| `docs/agent-notes/tests.md` | no change | A fixture assertion changed; no test-gate rule changed. |
| `src/cli/help.ts` | no change | No command, subcommand or flag changed; `--remote-auth-token-env` is refused as hub-owned, like `--remote`. |

## Checks

- PR #587's exact-head CI passed (table above). A local `scripts/check.sh` on the PR head was stopped by the whole-suite watchdog at 600 s under host load (load average 5.7); its only failures before the stop were the fixture fixed at 6c22808a and a `CLAUDE_CONFIG_DIR` leak from the agent session's Orca profile into `test/terminal-recovery.test.ts`, which passes with that variable unset. CI is the full gate for this release.
- The release branch is merged main plus the version, release notes, bundle and document corrections. The bundle is rebuilt with the pinned Bun 1.4.2 (`scripts/build.mjs`) after `bun install --frozen-lockfile`; main's source reproduces the committed bundle byte-for-byte with that toolchain.
- The stale stamps are restamped to the release commit `644f9a45`; `node scripts/check-docs.mjs --require-fresh` result is recorded in the release PR.
- Exact-head CI on the release PR.
