Commit feb8be5
committed
fix(odoo): PR #433 council + tester findings — rename OdooStyleRecipe, FNV exemption doc, clippy
Addresses findings from the PR #433 review wave (brutally-honest-tester
+ epiphany-council dto-soa-savant on the E-INTERPRET-NOT-STORE-1
draft):
## dto-soa-savant (MINOR drift): StyleRecipe name collision
`odoo_blueprint::StyleRecipe` shadowed
`lance_graph_contract::recipe::StyleRecipe` — both `Vec<(atom, weight)>`
cognitive fingerprints, different layers (contract = runtime thinking-
style over the 33-TSV/I4x32 basis; ours = codegen-time IR over the
Odoo-specific 12-DAtom basis). Renamed ours → `OdooStyleRecipe`.
Cascade-impact-savant confirmed 0 consumers, so the rename is free now
and avoids forced `use` aliasing once the codegen crate (which reads
both contract + ontology) lands.
Added a module-doc section spelling out the two-layer distinction +
the iron rule that the Odoo DAtom basis must NEVER be fused into the
canonical atom layer (per atom-basis-inventory: "business is not an
atom — it rides as an OGIT/Marking::Financial sidecar").
## creative-explorer + prior-art (tension): recipe_id FNV exemption
`recipe_id` uses FNV-1a, which sits in tension with
`E-CODEBOOK-INHERITS-FROM-OGIT` pt.4 ("no FNV-seeded IDs; identity
resolves through OntologyRegistry"). Documented the exemption:
recipe_id is NOT an identity — it's an ephemeral content-addressed
collapse key for codegen-time dispatcher dedup, never stored in the
graph, never crossing a mailbox boundary, never naming a row. If it
ever became a stored/transmitted identity the exemption lapses and it
routes through OntologyRegistry.
## brutally-honest-tester (P2) + clippy
- AGENT_LOG test count corrected 12 → 13 (the reviewer-added
`all_matches_discriminant_order` test landed after the log was
written).
- clippy `manual_contains`: `t.guards.iter().any(|g| *g == name)` →
`t.guards.contains(&name)`.
- Removed unused imports `OdooDecorator` + `OdooDecoratorKind` (the
cascade reads kind/return_kind/triggers/fields/regulation/
state_machine; decorators are a Stage-2 enrichment signal not yet
consumed).
## Toolchain (orchestrator-run; agents stayed code-only per disk discipline)
- `cargo test ...style_recipe` → 13/13.
- `cargo clippy -p lance-graph-ontology --lib` → 0 findings in
style_recipe.rs (remaining doc-indent warnings are pre-existing in
l5/l13/l15).
- geiger-equivalent: 0 unsafe blocks in the entire ontology crate.
- machete-equivalent: every declared dep referenced; this PR adds zero
new deps (Cargo.toml untouched).
brutally-honest-tester verdict: LAND (anti-pattern + conventions
layer; toolchain confirmed green by orchestrator).1 parent 41a289b commit feb8be5
2 files changed
Lines changed: 49 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 48 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
56 | 88 | | |
57 | 89 | | |
58 | | - | |
59 | | - | |
| 90 | + | |
| 91 | + | |
60 | 92 | | |
61 | 93 | | |
62 | 94 | | |
| |||
65 | 97 | | |
66 | 98 | | |
67 | 99 | | |
68 | | - | |
| 100 | + | |
69 | 101 | | |
70 | 102 | | |
71 | 103 | | |
| |||
160 | 192 | | |
161 | 193 | | |
162 | 194 | | |
163 | | - | |
| 195 | + | |
164 | 196 | | |
165 | 197 | | |
166 | 198 | | |
| |||
174 | 206 | | |
175 | 207 | | |
176 | 208 | | |
177 | | - | |
| 209 | + | |
178 | 210 | | |
179 | 211 | | |
180 | 212 | | |
| |||
194 | 226 | | |
195 | 227 | | |
196 | 228 | | |
197 | | - | |
| 229 | + | |
198 | 230 | | |
199 | 231 | | |
200 | 232 | | |
| |||
207 | 239 | | |
208 | 240 | | |
209 | 241 | | |
210 | | - | |
| 242 | + | |
211 | 243 | | |
212 | 244 | | |
213 | 245 | | |
| |||
242 | 274 | | |
243 | 275 | | |
244 | 276 | | |
245 | | - | |
| 277 | + | |
246 | 278 | | |
247 | 279 | | |
248 | 280 | | |
| |||
321 | 353 | | |
322 | 354 | | |
323 | 355 | | |
324 | | - | |
325 | | - | |
| 356 | + | |
326 | 357 | | |
327 | 358 | | |
328 | 359 | | |
| |||
343 | 374 | | |
344 | 375 | | |
345 | 376 | | |
346 | | - | |
| 377 | + | |
347 | 378 | | |
348 | 379 | | |
349 | 380 | | |
| |||
357 | 388 | | |
358 | 389 | | |
359 | 390 | | |
360 | | - | |
361 | | - | |
| 391 | + | |
| 392 | + | |
362 | 393 | | |
363 | 394 | | |
364 | 395 | | |
| |||
482 | 513 | | |
483 | 514 | | |
484 | 515 | | |
485 | | - | |
| 516 | + | |
486 | 517 | | |
487 | 518 | | |
488 | 519 | | |
| |||
0 commit comments