Commit 1a87bc0
committed
feat(callcenter): odoo savant families + Layer-2 axioms + style wiring (D-ODOO-SAV-1/2/3)
Picks up the cross-repo handover boundary declared in
.claude/odoo/SAVANTS.md §"lance-graph handover boundary": the woa-rs
session defined the 25-Savant roster + delegation tuples; this lands the
lance-graph side's first three deliverables. Reasoner impls (D-ODOO-SAV-4)
are scoped in the plan and deferred to a follow-up PR.
Integration plan:
- .claude/plans/odoo-savant-reasoners-v1.md (new) + INTEGRATION_PLANS.md
prepend, per board-hygiene.
D-ODOO-SAV-1 — two new OGIT families:
- FAMILY_PRODUCT_CATALOG = 0x64 (100), FAMILY_HR_FOUNDATION = 0x90 (144)
in odoo_alignment.rs + family_registry.ttl rows.
- CORRECTION of the SAVANTS.md proposal: it named 0x63 for ProductCatalog,
but 0x63 (=99) is already ogit:MRORepair in the authoritative registry.
lance-graph is authoritative for the registry, so ProductCatalog gets the
next free commercial-cluster byte 0x64 (=100). Documented on the constant
+ in family_registry.ttl + guarded by a test.
- Seed rows: product.pricelist→schema:PriceSpecification,
product.pricelist.item→schema:UnitPriceSpecification, uom.uom→qudt:Unit
(ties into the bO-4 QUDT spine), hr.employee→vcard:Individual,
hr.department→org:OrganizationalUnit, hr.job→org:Role,
hr.contract→fibo:Contract (base only; payroll is Enterprise/absent).
- product.template / product.product STAY on BillingCore 0x61 (billable
items, not catalogue structure) — no drift of the existing seed/tests.
D-ODOO-SAV-2 — Layer-2 alignment axioms (data/ontologies/odoo/alignment/
odoo-to-foundation.ttl, new):
- Honest semantic alignment for account.account.tag → skos:Concept.
- Documented-None-with-rationale for the genuinely cross-cutting classes
(stock.move/rule/orderpoint, account.analytic.distribution.model): no
foundry family minted (Option B — None stays None without an honest
pivot), matching their family=None status in the savant roster.
- Public OWL vocabularies referenced, never modified.
D-ODOO-SAV-3 — StyleCluster wiring:
- family_default_style(OgitFamily) -> Option<StyleCluster> + resolve_odoo_style(class).
Pins 0x60→Direct, 0x61/0x62/0x64→Analytical, 0x80/0x90→Empathic, 0x81→Direct
per SAVANTS.md inherited-style map.
- dolce_odoo gains a `uom.` → Quality suffix rule.
Tests: 144 lance-graph-callcenter tests pass (19 odoo_alignment incl. 9 new:
new family bytes free in registry, catalogue→ProductCatalog, billable-items-
stay-BillingCore deviation guard, hr→HRFoundation, live-table end-to-end for
both basins, classes-still-None-after-D1, family_default_style pins,
resolve_odoo_style chains, uom dolce rule). Updated the pre-existing
unmapped_classes_return_none test (hr.employee no longer None). Clippy clean
(only pre-existing CausalEdge64 deprecations elsewhere).1 parent c6aa31d commit 1a87bc0
5 files changed
Lines changed: 534 additions & 1 deletion
File tree
- .claude
- board
- plans
- crates/lance-graph-callcenter
- data
- src
- data/ontologies/odoo/alignment
| 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 | + | |
1 | 23 | | |
2 | 24 | | |
3 | 25 | | |
| |||
| 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 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
164 | 174 | | |
165 | 175 | | |
166 | 176 | | |
| |||
198 | 208 | | |
199 | 209 | | |
200 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
201 | 221 | | |
202 | 222 | | |
203 | 223 | | |
| |||
0 commit comments