ops-bridge/.claude/rules/session-protocol.md
tegwick 1c7c6eedf8 chore(session): read .custodian-brief.md before MCP call in session init
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-26 17:48:52 +01:00

618 B

Custodian State Hub Integration

State Hub: http://127.0.0.1:8000

Session Protocol

Step 1 — Orient

Read the offline-safe brief first:

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/:

make fix-consistency REPO=ops-bridge