Skip to content

Commit 31522a6

Browse files
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_01TzqvDqbFRzyx17EkLKBoZF
1 parent 83561c3 commit 31522a6

5 files changed

Lines changed: 1118 additions & 0 deletions

File tree

Cargo.lock

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
2.07 KB
Binary file not shown.

crates/osint-bake/Cargo.toml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[package]
2+
name = "osint-bake"
3+
version.workspace = true
4+
edition.workspace = true
5+
description = "Light, standalone regenerator for cockpit-server's osint_scene.soa — the pure aiwar→SoA bake, with no lance/datafusion/deno closure."
6+
7+
[lib]
8+
name = "osint_bake"
9+
path = "src/lib.rs"
10+
11+
[[bin]]
12+
name = "osint-bake"
13+
path = "src/main.rs"
14+
15+
[dependencies]
16+
aiwar-ingest = { path = "../aiwar-ingest" }
17+
lance-graph-contract.workspace = true
18+
serde_json.workspace = true
19+
20+
[lints]
21+
workspace = true

0 commit comments

Comments
 (0)