HF-13: retire med.gmac.io onto the cloud Worker; celld 0.6.3; ADR 0006 #9

Merged
gmackie merged 2 commits from feat/HF-13-cloud-cutover into main 2026-11-04 11:44:38 +00:00
Owner

HF-13 (Phase R): retire med.gmac.io onto the cloud Worker, record which commit each tier serves, pin celld 0.6.3, and propose ADR 0006.

  • med.gmac.io → hospital.gmac.io (owner decision 2026-11-04): med.gmac.io becomes a second custom domain on hospital-fabric-cloud, and LEGACY_HOSTS / CANONICAL_ORIGIN 301 every path. wrangler.demo.jsonc and the *:demo scripts are removed. build:cloud / check:cloud / migrate:cloud / deploy:cloud replace them (the release prep script is generalised from the demo one), and .forgegraph.yaml targets hospital-fabric-cloud. CI runs check:cloud. The old Worker and its D1 databases are exported, then deleted, at cutover (outside git).
  • Release stamp: /healthz reports commit and bundleSha256 (FG_COMMIT_HASH / FG_BUNDLE_SHA256), written by prepare-cloud-deploy.mjs on cloud and by deploy/site/labnuc/deploy.sh on site.
  • The real-demo publisher on hetzner-master posts to hospital.gmac.io (it uses redirect:'error').
  • labnuc Caddy ingress also binds the Tailscale IP, which ForgeGraph's tunnel origin uses after FORGE-312 (ForgeGraph PR #1071).
  • celld 0.6.3 pin: release digests match my own downloads. CI's smoke:celld is the check on the new version.
  • docs/adr/0006-cells-vs-d1.md (Proposed): D1 stays the system of record; per-destination connector, ward board and device gateway become cells.

Verification: npm test 58/58 (new redirect test), typecheck clean, check:cloud dry run shows both domains and vars.

🤖 Generated with Claude Code

HF-13 (Phase R): retire med.gmac.io onto the cloud Worker, record which commit each tier serves, pin celld 0.6.3, and propose ADR 0006. - **med.gmac.io → hospital.gmac.io** (owner decision 2026-11-04): med.gmac.io becomes a second custom domain on `hospital-fabric-cloud`, and `LEGACY_HOSTS` / `CANONICAL_ORIGIN` 301 every path. `wrangler.demo.jsonc` and the `*:demo` scripts are removed. `build:cloud` / `check:cloud` / `migrate:cloud` / `deploy:cloud` replace them (the release prep script is generalised from the demo one), and `.forgegraph.yaml` targets `hospital-fabric-cloud`. CI runs `check:cloud`. The old Worker and its D1 databases are exported, then deleted, at cutover (outside git). - **Release stamp:** `/healthz` reports `commit` and `bundleSha256` (`FG_COMMIT_HASH` / `FG_BUNDLE_SHA256`), written by `prepare-cloud-deploy.mjs` on cloud and by `deploy/site/labnuc/deploy.sh` on site. - The real-demo publisher on hetzner-master posts to hospital.gmac.io (it uses `redirect:'error'`). - labnuc Caddy ingress also binds the Tailscale IP, which ForgeGraph's tunnel origin uses after FORGE-312 (ForgeGraph PR #1071). - celld 0.6.3 pin: release digests match my own downloads. CI's `smoke:celld` is the check on the new version. - `docs/adr/0006-cells-vs-d1.md` (Proposed): D1 stays the system of record; per-destination connector, ward board and device gateway become cells. Verification: `npm test` 58/58 (new redirect test), typecheck clean, `check:cloud` dry run shows both domains and vars. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
HF-13: retire med.gmac.io onto the cloud Worker; celld 0.6.3; ADR 0006
All checks were successful
Scaffold conformance / test (pull_request) Successful in 5m45s
forgegraph/ci CI passed
Scaffold conformance / forgegraph-report (pull_request) Successful in 14s
e6f1c79d01
- med.gmac.io becomes a second custom domain on hospital-fabric-cloud;
  LEGACY_HOSTS/CANONICAL_ORIGIN 301 every path to hospital.gmac.io.
  wrangler.demo.jsonc and the demo scripts are removed; build:cloud,
  check:cloud, migrate:cloud and deploy:cloud replace them, and
  .forgegraph.yaml targets hospital-fabric-cloud.
- /healthz reports FG_COMMIT_HASH and FG_BUNDLE_SHA256, stamped by
  prepare-cloud-deploy.mjs and by the labnuc deploy.sh, so both tiers
  show which commit and bundle they serve.
- The real-demo publisher posts to hospital.gmac.io (it refuses redirects).
- Caddy ingress on labnuc also binds the Tailscale IP, which the fixed
  ForgeGraph tunnel origin targets (FORGE-312).
- celld pinned to 0.6.3 (release digests verified against downloads).
- docs/adr/0006-cells-vs-d1.md (proposed) and the CLOUD-DEMO rewrite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HF-13: bucket backup and restore drill for the labnuc site
Some checks failed
Scaffold conformance / test (pull_request) Successful in 1m58s
Scaffold conformance / forgegraph-report (pull_request) Has been cancelled
8d010b5f9f
Stops the node, copies the quiescent fleet bucket to R2
(hospital-fabric-site-backup, bucket-scoped credentials minted with
forge r2 create), restarts the site, then starts a fresh celld node on a
restored copy and requires an identical operator-state fingerprint
(operations, status, registry and every event history). Passed on
2026-11-04: 144 objects, backup backups/20261104T113243Z.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gmackie force-pushed feat/HF-13-cloud-cutover from 8d010b5f9f
Some checks failed
Scaffold conformance / test (pull_request) Successful in 1m58s
Scaffold conformance / forgegraph-report (pull_request) Has been cancelled
to e0babcd831
All checks were successful
Scaffold conformance / test (pull_request) Successful in 4m20s
Scaffold conformance / forgegraph-report (pull_request) Successful in 47s
2026-11-04 11:37:23 +00:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
gmackie/hospital-fabric!9
No description provided.