Record STATE-WP-0093 release: rev 65 main-ef541f5, prod-copy migration trial.
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 63291@bnt-lap001
Assistant-Session: 8bd77868-ca68-4f49-bb1e-d539ecc0d703
This commit is contained in:
tegwick 2026-09-22 00:38:08 +02:00
parent 15587de3ad
commit b20412431b

View file

@ -183,7 +183,7 @@ T07 (release) still waits on its own founder go-ahead.
```task ```task
id: STATE-WP-0093-T02 id: STATE-WP-0093-T02
status: progress status: done
priority: high priority: high
state_hub_task_id: "6680d408-ebce-5b2c-8a97-84f0bf011754" state_hub_task_id: "6680d408-ebce-5b2c-8a97-84f0bf011754"
``` ```
@ -323,7 +323,7 @@ to subclass, see T04).
```task ```task
id: STATE-WP-0093-T07 id: STATE-WP-0093-T07
status: wait status: done
priority: high priority: high
state_hub_task_id: "e9978994-8b6a-5f98-8056-6ee3970342d1" state_hub_task_id: "e9978994-8b6a-5f98-8056-6ee3970342d1"
``` ```
@ -356,3 +356,12 @@ re-published as a standing notice (D6).
Done when the notice is live, visible on `/messages/notices`, the Done when the notice is live, visible on `/messages/notices`, the
templates carry the reader/ack line, and gate-house has answered. templates carry the reader/ack line, and gate-house has answered.
## Release record, 2026-09-22 (founder go-ahead; custodian session)
- **Migration trial on a production copy (closes T02).** A read-only `pg_dump` taken inside `databases/state-hub-db-1` (the pod's local postgres user; no credential handled) supplied the schema, `alembic_version` and `agent_messages` (998 rows). They were restored into a scratch database. `alembic upgrade head` applied `b5e6f7a8c9d0 → c6f7a8b9d0e1 → d7e8f9a0b1c2`: 5 of 5 broadcasts archived, direct messages untouched (2 archived before and after), 998 total, `message_receipts` created, kinds `message` and `news`. `downgrade -1` then `upgrade head` were clean. The dumps and the scratch database were deleted.
- The release carried exactly two app commits since `main-0747b4d`: `ddc3338` (STATE-WP-0092 flavor, migration `c6f7a8b9d0e1`, unreleased since 2026-09-14) and `ef541f5` (this workplan).
- **Gates:** the full suite passed, 894 of 894 (`uv run pytest`, local `custodian_test`). CI `build-and-push` for `ef541f5` succeeded. Headroom preflight `ok`, 585m CPU free. The render diff showed only the image changing on the API and MCP Deployments.
- **Release (T07):** `helm upgrade --atomic --set image.tag=main-ef541f5` gave **revision 65**, deployed. API and MCP both run `main-ef541f5`, 1/1. The migrate hook completed.
- **Verified live:** `/state/health` ok with schema `d7e8f9a0b1c2`; `GET /messages/notices` 200 (empty); `standing_notices` in `/state/summary`; the 5 old broadcasts archived and out of inboxes; direct-message mark-read unchanged.
- **Still open:** T04 hub-core (handoff `69fc387c` plus addendum). T05 check against a live notice, which comes with T08. T08: the first standing notice, the template line, and the gate-house question.