Commit 2dea858
committed
fix(contract+ogar): mirror OGAR #110 auth domain + bump workspace Cargo.lock → restore q2 build parity
OGAR PR #110 (2026-06-23, AuthStore class family) added 4 entries to
`ogar_vocab::class_ids::ALL` (auth_store 0x0B01, auth_zitadel 0x0B02,
auth_zanzibar 0x0B03, auth_ory_keto 0x0B04) and a `ConceptDomain::Auth`
variant. The `lance-graph-contract::ogar_codebook` wire-compatible mirror
was not updated when #110 landed — a 4-entry drift sat in main from
2026-06-23 until exposed by q2 #42's pin bump.
The q2 Railway build (against the bumped `302c284` OGAR pin + latest
lance-graph main) fired `lance_graph_ogar::parity::COUNT_FUSE`:
`mirror::CODEBOOK.len() (39) != ogar_vocab::class_ids::ALL.len() (43)`.
Three coordinated fixes:
1. lance-graph-contract: extend `ogar_codebook::CODEBOOK` with the 4
auth_* entries; add `ConceptDomain::Auth` variant; add `0x0B → Auth`
to `canonical_concept_domain`; refresh the module-doc count from
"two domains" → "four domains" (stale since the Health 0x09XX
promotion).
2. lance-graph-ogar: `parity::domains_agree`'s `matches!()` had explicit
`(O::X, C::X)` arms — needed an `(O::Auth, C::Auth)` arm. Without it,
the runtime `assert_codebook_parity()` panics with
"domain disagreement for auth_store (0x0b01)".
3. workspace Cargo.lock: bump pinned ogar-vocab / ogar-class-view /
ogar-ontology / ogar-adapter-surrealql from `08a9c979` → `302c284`
(current OGAR main, PR #110 merge). 4 references in this lock.
Safe SHA swap verified: Cargo.toml deps byte-identical between commits.
(The `crates/lance-graph-ogar/Cargo.lock` own-root lock is gitignored
and needs the same bump locally; the workspace lock + ogar-vocab
branch="main" git dep means consumer locks float to the latest commit
on main — q2 already pins `302c284` which has the parity-compatible
surface.)
Tests:
- lance-graph-contract: 9 doctests pass (compile-time fuse passes)
- lance-graph-ogar lib: 53/53 pass, including
`parity::tests::mirror_is_a_faithful_copy_of_ogar_codebook`
- `cargo build -p lance-graph-ogar`: clean
EPIPHANIES.md updated per Mandatory Board-Hygiene Rule with
E-OGAR-AUTH-MIRROR-DRIFT — names the standing reminder that the mirror
must be updated in the SAME commit as any OGAR-side ALL-list extension.
Source-of-finding:
- q2 Railway build error post-bump (the cross-pin coordination canary)
- OGAR PR #110 (introduced the drift; merged 2026-06-23)
- lance-graph #592 (introduced the mirror pattern; the parity guard)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent ebeacde commit 2dea858
4 files changed
Lines changed: 101 additions & 9 deletions
File tree
- .claude/board
- crates
- lance-graph-contract/src
- lance-graph-ogar/src
| 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 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
1 | 76 | | |
2 | 77 | | |
3 | 78 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| |||
244 | 248 | | |
245 | 249 | | |
246 | 250 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
252 | 258 | | |
253 | 259 | | |
254 | 260 | | |
| |||
292 | 298 | | |
293 | 299 | | |
294 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
295 | 311 | | |
296 | 312 | | |
297 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
0 commit comments