Commit 85963fe
committed
feat(hhtl): signal NiblePath depth-exhaustion (is_full/try_child) + record #442 scale-freezes (D-ARM-14 review)
The D-ARM-14 session's review of #442 (merge-worthy verdict) flagged two non-blocking
'name the freeze' items; acting on both:
Flag 1 (the strong one) — NiblePath::child() saturated SILENTLY past MAX_DEPTH=16, so two
distinct deep P279 chains truncated at 16 would collide on one path (is_ancestor_of/basin
treat them as one). Same no-silent-aliasing class as the root()/FieldMask fixes. Added
is_full() (the depth_exhausted flag) + try_child() -> Option (returns None instead of
saturating), so the deferred 115M loader DETECTS the ceiling and switches to a ref instead
of colliding. child() stays the saturating convenience, now documented to gate on is_full().
Flag 2 + minors — recorded as TD-WIKI-SCALE (TECH_DEBT, append-only): StructuralSignature u32
birthday ceiling (~77k shape-families — a #441 contract decision to widen to u64, WITH the
deferred loader, not unilaterally here); signature() per-call Vec alloc; dolce_category_id
default-ENDURANT-on-unknown. All fine at curated/Odoo scale; bite only at the 115M load.
signature() doc now cites the u32 freeze.
503 contract + 246 ontology lib green; clippy -D warnings + fmt clean. Firewall preserved;
the proposer-side dolce_id alignment remains the D-ARM-14 session's lane.
https://claude.ai/code/session_01R9AWgFa65uPnLyS2my2d2R1 parent 5ad7c68 commit 85963fe
3 files changed
Lines changed: 97 additions & 4 deletions
File tree
- .claude/board
- crates
- lance-graph-contract/src
- lance-graph-ontology/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 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 | + | |
16 | 42 | | |
17 | 43 | | |
18 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| |||
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
99 | 131 | | |
100 | 132 | | |
101 | 133 | | |
| |||
262 | 294 | | |
263 | 295 | | |
264 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
265 | 326 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| |||
0 commit comments