25 lines
481 B
Markdown
25 lines
481 B
Markdown
|
|
## Custodian State Hub Integration
|
||
|
|
|
||
|
|
State Hub: http://127.0.0.1:8000
|
||
|
|
|
||
|
|
### Session Protocol
|
||
|
|
|
||
|
|
**Step 1 — Orient**
|
||
|
|
```
|
||
|
|
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
|
||
|
|
```
|