Files
the-custodian/workplans/CUST-WP-0000-state-hub-v0.1-build-deploy.md
tegwick 890b2f9fc7 feat(ops+workplans): fix tunnel targets, plan custodian migration, close legacy ADR-001 gaps
Tunnel (state-hub/Makefile):
- Replace interactive `make tunnel` (now non-blocking with -N flag)
- Add tunnel-daemon (autossh background), tunnel-loop (reconnect fallback),
  tunnel-status, tunnel-stop
- Default COULOMBCORE=tegwick@92.205.130.254; TUNNEL_PORT configurable
- Clarified server topology: COULOMBCORE=92.205.130.254 (old),
  Railiance01=92.205.62.239 (ThreePhoenix node 1)

Workplans:
- CUST-WP-0011: Migrate Custodian State Hub to ThreePhoenix cluster —
  9-task plan with hard pre-condition gates (3-node cluster, Longhorn HA,
  backup drill), data migration, 2-week stabilisation, WSL2 retirement
- CUST-WP-0000: Retroactive record for state-hub v0.1 (pre-ADR-001)
- CUST-WP-0000b: Retroactive record for state-hub v0.2 (pre-ADR-001)

Consistency: repo now ✓ PASS (0 fail, 18 warn — all pre-ADR-001 C-12 history)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-11 01:09:07 +01:00

43 lines
1.5 KiB
Markdown

---
id: CUST-WP-0000
type: workplan
title: "State Hub v0.1 — Build & Deploy"
domain: custodian
repo: the-custodian
status: completed
owner: custodian
topic_slug: custodian
created: "2026-02-24"
updated: "2026-02-24"
completed: "2026-02-24"
state_hub_workstream_id: "2b0efa54-0209-4ca9-8ab3-30dfbdb991b0"
note: >
Pre-ADR-001 record. This workstream was created DB-first during the first
Custodian session (2026-02-24) before the workplan-as-repository-artefact
convention was established. This file is a retroactive record written on
2026-03-11 to satisfy the ADR-001 consistency checker (C-08).
---
# State Hub v0.1 — Build & Deploy
## What was built
The first live implementation layer of the Custodian system, delivered in the
initial session on 2026-02-24:
- PostgreSQL schema (topics, workstreams, tasks, decisions, progress_events)
- FastAPI app with routers for all entities + `/state/summary`
- FastMCP stdio server (11 tools, 5 resources/templates)
- Observable Framework dashboard (4 pages: index, workstreams, decisions, progress)
- Docker Compose for local PostgreSQL
- Alembic migration `0001_initial_schema`
- Seed script inserting 6 canonical topics
- `.mcp.json` at repo root for Claude Code discovery
- `make register-project` automation for onboarding domain repos
## References
- Commit range: initial state-hub implementation (2026-02-24)
- Superseded by: CUST-WP-0000 (this file) covers only v0.1 baseline;
subsequent features tracked in CUST-WP-0001 onward