osint/fma/cpic: classid canon:custom half-order flip — q2 consumer sites to canon-HIGH#71
Conversation
…tes to canon-HIGH Lockstep q2 update for the 2026-07-02 flip (lance-graph #628 + OGAR quarto-dev#147; q2 push gate waived by operator 2026-07-02): - cockpit-server: osint_class_id() routes lance_graph_contract:: classid_concept (was '& 0xFFFF' — post-flip that reads the custom half); the hardcoded "00000700" props string composes dynamically from CLASSID_OSINT (now "07000000"); tests route classid_canon. - osint-bake: test assertions via classid_canon; doc comments to the canon-HIGH forms (0x0700_0000 / 0x0A01_1000). - cockpit BodyV3.tsx: dual-accept FMA_V3_CLASSID 0x0a011000 + legacy 0x10000a01 — the body.soa GitHub-Release asset keeps the pre-flip form until re-baked + re-released. - fma/ standalone: CLASSID_SOFT/SKELETON re-minted 0x0A01_0000/0x0A02_0000; docs + worked-example GUIDs updated. Tests 2/2 green. - cpic/ standalone: CID_* re-minted as INTERIM canon-high Genetics:q2 ids 0x0E01_0001..0x0E01_0006 (Genetics 0x0E, appid 0x01=q2 per the operator ruling; kind in the custom half until the full contract-pull re-mint — tracked follow-up, dissolves the old 0x000C scheme's Automation-domain collision). SAMPLE_GUIDS.tsv regenerated from a real ingest run against cpic/data/. Tests 2/2 green. - aiwar-ingest fixture generator: comment-only (emits the bare u16 canon id; never composes the u32 — no functional change). DEFERRED (environment): re-baking crates/cockpit-server/assets/ osint_scene.soa and cockpit/public/fma.soa — the root workspace's unrelated runtimelib/jupyter-protocol [patch] (cscheid/runtimed) is unfetchable through this sandbox's egress proxy, which blocks any cargo build of workspace members here. Safe to defer: pre-flip assets resolve via the upstream legacy aliases, cockpit never decodes classid bytes from the scene asset, and BodyV3 dual-accepts. Re-run 'cargo run -p osint-bake' and '--bin fma' (self-contained) in CI/dev, plus re-release body.soa, as the follow-up. Co-Authored-By: Claude <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (17)
📝 WalkthroughWalkthroughThis PR re-mints CPIC pharmacogenomics classid constants (0x000C→0x0E01), updates their documentation and GUID examples, and adds legacy classid support to the cockpit V3 UI. It also implements/documents a 2026-07-02 "half-order flip" for OSINT and FMA classid byte encoding across multiple crates, binaries, and docs. ChangesCPIC classid re-mint
Estimated code review effort: 2 (Simple) | ~12 minutes OSINT and FMA half-order flip
Estimated code review effort: 3 (Moderate) | ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
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 |
What
Lockstep q2 update for the 2026-07-02 classid half-order flip (AdaWorldAPI/lance-graph#628 + AdaWorldAPI/OGAR#147; q2 push gate waived by operator 2026-07-02): a full classid is now
[hi u16: CANON concept][lo u16: custom marker/prefix].osint_class_id()routeslance_graph_contract::classid_concept(the old& 0xFFFFwould now read the custom half); the hardcoded"00000700"props string composes dynamically fromCLASSID_OSINT(→"07000000"); tests routeclassid_canon.classid_canon; doc comments to0x0700_0000/0x0A01_1000forms.BodyV3.tsx— dual-accept:FMA_V3_CLASSID = 0x0a011000+FMA_V3_CLASSID_LEGACY = 0x10000a01(thebody.soaGitHub-Release asset keeps the pre-flip form until re-baked + re-released).CLASSID_SOFT/CLASSID_SKELETON→0x0A01_0000/0x0A02_0000; docs + worked GUIDs. Tests 2/2 green.CID_*re-minted as interim canon-high Genetics:q2 ids0x0E01_0001..0x0E01_0006(Genetics0x0E, appid0x01= q2 per the operator ruling — "same for cpic also under q2"; the kind sits in the custom half until the full contract-pull re-mint, tracked follow-up; dissolves the old0x000Cscheme's Automation-domain collision).SAMPLE_GUIDS.tsvregenerated from a real ingest run. Tests 2/2 green.Deferred:
.soare-bakes (environment-blocked here, safe by design)osint_scene.soa/fma.soacould not be regenerated in this sandbox: the root workspace's unrelatedruntimelib/jupyter-protocol[patch](cscheid/runtimed) is unfetchable through the session's egress proxy, blocking everycargo buildof workspace members. Deferring is safe: pre-flip assets resolve via the upstream legacy registry aliases, cockpit never decodes classid bytes from the scene asset, andBodyV3dual-accepts both forms. Follow-up: runcargo run -p osint-bakeandcargo run -p osint-bake --bin fma(self-contained; embedsfma-heart.ttl) in CI/dev to refresh both assets, and re-releasebody.soa.Merge order
After lance-graph #628 (the contract is a path dep on the sibling checkout / pinned lance-graph main in CI).
🤖 Generated with Claude Code
https://claude.ai/code/session_01MLBnPuScZy6w9di2QEjsXM
Generated by Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Documentation