Commit ba22294
Consumer-sweep leaf of #14472 (concept-id SSOT), from my own #14528 review where I grepped every (CONCEPT|CLASS|
PROCESS): site in ai/ and found two deterministic consumers un-routed:
- AdrIngestor.parseEdges: CODIFIES_CONCEPT edges keyed the RAW captured ref (GoldenPath), so ADR->concept edges
pointed at a different node than the session/mailbox mints (golden-path), splitting the ADR->concept graph
axis. Now routes match[1] through canonicalizeConceptId (import-and-delegate, the #14528 pattern), with a
raw-ref fallback so an empty canonicalization never drops the edge (Contract Ledger). Unit spec: CONCEPT:GoldenPath
-> edge target golden-path, not GoldenPath.
- ConceptDiscoveryService.normalizeConceptNameForDedupe: an intentional-divergence docblock, NOT delegation.
V-B-A of the code: it strips a leading 'The ' and drops separators (dash-less), a looser fold than the SSOT;
delegating would SPLIT the 'The X'/'X' candidate group. It keys internal mining candidates only (never a graph
id), so per the one-vocabulary-per-contract invariant (ADR-0031 #8) it is documented divergence-by-purpose,
not a re-derived copy of the graph vocabulary.
AC3 verified: grep for prefix-strip logic outside the SSOT returns only the now-documented dedupe function.
24 ingestion specs green. (The #14528 review nits are optional per AC4; deferred to keep this leaf's diff on the
consumer sweep.)
Co-authored-by: tobiu <tobiasuhlig78@gmail.com>
Co-authored-by: Ada (Claude Opus 4.8) <ada@neomjs.dev>
1 parent 2f3a85d commit ba22294
3 files changed
Lines changed: 42 additions & 15 deletions
File tree
- ai/services/ingestion
- test/playwright/unit/ai/services/ingestion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
97 | 109 | | |
98 | 110 | | |
99 | 111 | | |
| |||
403 | 415 | | |
404 | 416 | | |
405 | 417 | | |
406 | | - | |
407 | | - | |
| 418 | + | |
| 419 | + | |
408 | 420 | | |
409 | | - | |
410 | | - | |
411 | | - | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
412 | 424 | | |
413 | 425 | | |
414 | 426 | | |
| |||
Lines changed: 20 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
288 | 299 | | |
289 | 300 | | |
290 | 301 | | |
| |||
0 commit comments