## Custodian State Hub Integration State Hub: http://127.0.0.1:8000 ### Session Protocol **Step 0 — Tunnel health** Before anything else: ```bash bridge status ``` Bring up any stopped or stale tunnels before accessing remote services. **Step 1 — Orient** Read the offline-safe brief first: ```bash cat .custodian-brief.md ``` Then call the MCP tool for richer context (skip if unreachable): ``` get_domain_summary("custodian") ``` **Step 2 — Scan workplans** ``` ls workplans/ ``` **During work:** use `record_decision()`, `add_progress_event()`, `resolve_decision()`. **Session close:** `add_progress_event()` with workstream_id. If workplan files were modified, run from `~/the-custodian/state-hub/`: ```bash make fix-consistency REPO=ops-bridge ```