cockpit: unified ClassView card — OSINT node detail popup + generic /api/card.html route#84
Conversation
Plan file for the operator-ratified unification: contract-side facet value projection + is_a-walk resolution (lance-graph PR, merges first), then cockpit-server fragment/guid/generic-route + React popup (this repo). Wave/worker breakdown and locked design decisions inside. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012jEwwaT5JZ5x8qWvcnaMYC
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
cockpit: unified ClassView card + guid2 McClelland decode (restores PR #84 code, never merged)
First consumer proof of the unified ClassView render (companion to AdaWorldAPI/lance-graph#650, which must merge first — the Dockerfile clones lance-graph @ main HEAD): click a node in the OSINT cockpit → a server-rendered askama fragment fills a detail popup from the node's ClassView fieldmask, values read from the 12-byte content-blind facet. Two routes, one code path —
resolve → carve → emit, routes as skins.Routes
GET /api/osint/card.html?name=&fragment=1(+ existingclass/mask)0x0700, GUID2→person card0x0701for persons)GET /api/card.html?guid=&class=&mask=&fragment=b0..b11), never a 404GET /api/osint/card,/api/osint/card.html(no new params)The R1 decision (recon finding, ratified)
The live gotham scene's GUID bytes 4..16 are HHTL routing tiers, not facets — the true 12-byte facet GUIDs (+ GUID2 for persons) live in
data/osint-v3/(611 nodes, unserved until now). Resolution: keep the live scene; a server-sidename → (guid1, guid2, is_person)index overosint_v3_nodes.jsonresolves clicked labels; the ~309 unmatched nodes fall back to the schema card — the zero-fallback ladder behaving as designed. Reconciling gotham's 11-byte tenant order instead was rejected (it would mint a second field-order truth); the durable fix is re-baking gotham with V3 facet GUIDs (follow-up, data work).Decoding the bake against the declared field order lands only 16/611 (guid1) / 52/133 (guid2) values in-vocabulary; swapping each tier's hi/lo byte pair yields 609/611 and 133/133 — near-proof the bake stores u16 tiers LE
(lo,hi)whileOSINT_SYSTEM_FIELDSdeclares(hi,lo)reading order. Per the don't-guess rule this PR does not reorder bytes —OSINT_DECODEis mechanical and will show low hit rates until the field-order declaration or the bake is corrected (one deliberate follow-up, either side).guid2/McClelland is left undecoded entirely (mcclelland_vocabis a plain array; 0- vs 1-indexing would be a guess).React popup
NodeDetailPopupinOsintGraph.tsx— rides the existing click handler (keepsreasonFromuntouched), fetches the fragment, injects it schema-blind (dangerouslySetInnerHTML+ popup-scoped CSS in the cockpit palette, ReasonBox pattern). New node classes get working popups with zero cockpit rebuild. Empty-space clicks close it. Also adds the missing/osint.soavite dev-proxy line.Verification (honest status)
-D warningsclean; askama templates compile-checkedcargo check -p cockpit-servercannot complete in the dev sandbox —deno_core → v8needs a static-lib download the egress policy 403s (pre-existing; any edit to this crate hits it). Verification ran in an isolated harness against the reallance-graph-contractpath dep + real templates + anaxum::Routerwiring test matchingmain.rs. The Railway build (open egress) is the true compile gate for this crate.cd cockpit && npm run build(tsc + vite): cleanclaude-notes/plans/2026-07-06-classview-unified-render.md🤖 Generated with Claude Code
Generated by Claude Code