generated from coulomb/repo-seed
feat: bootstrap accountability-root fabric snapshot
This commit is contained in:
@@ -84,6 +84,28 @@ railiance-fabric discover-roots --delta \
|
||||
--previous-ownership-review previous-ownership.json
|
||||
```
|
||||
|
||||
The current bootstrap artifacts live at:
|
||||
|
||||
```text
|
||||
fabric/discovery/snapshots/2026-05-24-railiance-bootstrap-identities.json
|
||||
fabric/discovery/snapshots/2026-05-24-railiance-bootstrap-ownership-review.json
|
||||
fabric/discovery/snapshots/2026-05-24-railiance-bootstrap-update-delta.json
|
||||
exports/state-hub/2026-05-24-railiance-financial-fabric-v1.json
|
||||
```
|
||||
|
||||
To refresh the same artifact set:
|
||||
|
||||
```bash
|
||||
railiance-fabric discover-roots --include-remote --max-items-per-root 200 \
|
||||
--identity-projection > fabric/discovery/snapshots/YYYY-MM-DD-railiance-bootstrap-identities.json
|
||||
railiance-fabric discover-roots --include-remote --max-items-per-root 200 \
|
||||
--ownership-review > fabric/discovery/snapshots/YYYY-MM-DD-railiance-bootstrap-ownership-review.json
|
||||
railiance-fabric discover-roots --include-remote --max-items-per-root 200 \
|
||||
--delta > fabric/discovery/snapshots/YYYY-MM-DD-railiance-bootstrap-update-delta.json
|
||||
railiance-fabric export --format financial . \
|
||||
> exports/state-hub/YYYY-MM-DD-railiance-financial-fabric-v1.json
|
||||
```
|
||||
|
||||
The financial export must satisfy these invariants:
|
||||
|
||||
- every accepted node has resolvable ownership;
|
||||
@@ -144,6 +166,25 @@ Hub graph import. The importer must preserve netkingdom, actors, fabrics,
|
||||
containment, ownership, accounting attribution, cross-boundary utility context,
|
||||
and unresolved gaps.
|
||||
|
||||
To import a saved financial export into State Hub:
|
||||
|
||||
```bash
|
||||
curl -s -X POST \
|
||||
"http://127.0.0.1:8000/fabric/graph-exports?source_repo_slug=railiance-fabric" \
|
||||
-H "Content-Type: application/json" \
|
||||
--data-binary @exports/state-hub/2026-05-24-railiance-financial-fabric-v1.json
|
||||
```
|
||||
|
||||
If the `/fabric/graph-exports` endpoints return `500` while ordinary State Hub
|
||||
routes work, run the State Hub migrations and retry:
|
||||
|
||||
```bash
|
||||
cd ~/state-hub
|
||||
make migrate
|
||||
# or, when uv is not on PATH:
|
||||
.venv/bin/alembic upgrade head
|
||||
```
|
||||
|
||||
## Discovery Work Handoff
|
||||
|
||||
The next discovery/update-loop work should replace the baseline projection with
|
||||
|
||||
Reference in New Issue
Block a user