generated from coulomb/repo-seed
31 lines
618 B
Markdown
31 lines
618 B
Markdown
## Custodian State Hub Integration
|
|
|
|
State Hub: http://127.0.0.1:8000
|
|
|
|
### Session Protocol
|
|
|
|
**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
|
|
```
|