Commit 31522a6
committed
osint: bake facet edges into osint_scene.soa via standalone osint-bake
The served OSINT asset predated PR #44's entity->SchemaValue facet edges
(rel 10-15), so the dual-use dimension cluster (127 SchemaValue + 12
SchemaAxis) rendered as a 139-node island: connected only to itself via
VALID_FOR, touching the entity graph at zero points. In the cockpit it
floated free regardless of the dimensions toggle.
cockpit-server's own re-bake OOMs at the disk cap (lance+datafusion+arrow+
deno/V8), so lift the pure bake (aiwar-ingest + zero-dep lance-graph-
contract, no heavy closure) into a light tool crate, osint-bake, and
regenerate the asset through the REAL Rust path -- not a Python splice,
which would have diverged (the real bake emits 431 facet edges; an earlier
label-join estimate said 438).
Verified by decoding the bytes (before -> after):
- nodes 920 unchanged, GUID section byte-identical
- edges 3344 -> 3775 (+431 facet edges, rel 10-15; 0 originals changed)
- dimension<->entity bridges: {} -> System 297, Stakeholder 122, Hist 12
- BFS from a System now reaches 118/127 SchemaValues, 10/12 SchemaAxes
=> the dimensions share the entity graph's connected component
The 12 SchemaAxis nodes are the family/category nodes; the facet edges make
them connective tissue (entity -> value -> VALID_FOR -> axis) rather than a
detached legend.
osint-bake's bake is verbatim-identical to osint_gotham.rs's (single source
of truth until cockpit-server delegates to it -- deferred; that edit needs a
cockpit-server build to verify, blocked by the disk cap). Builds clean,
7/7 tests pass, clippy-clean. cockpit-server itself is untouched.
Incidental: osint_gotham.rs's soa_bytes_have_a_parseable_header test
hard-equates byte length to the fixed records and is stale (predates the
OSO1 label tail); corrected in the mirror, original still needs the fix.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TzqvDqbFRzyx17EkLKBoZF1 parent 83561c3 commit 31522a6
5 files changed
Lines changed: 1118 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments