Commit df135ea
committed
fix(a2ml-core): make sectionTitlesOf total (trusted-base gate)
The governance / Trusted-base reduction policy flagged Profiles.idr:207 as
an undocumented `partial` escape hatch. Rather than document new proof debt,
eliminate it: sectionTitlesOf now recurses only on the block-list tail and
extracts TOP-LEVEL section titles, which is total by construction and exact
for the flat record dialects (the 6a2 family). Nested-section extraction for
general markup remains the translator's responsibility (it supplies DocFacts
directly), so conformance never depended on the recursive walk.
Verified locally: scripts/check-trusted-base.sh . exits 0 (15 pre-existing
documented hatches; zero new). No escape hatches in the new a2ml-core modules.
https://claude.ai/code/session_01XZhw6Fq27eoeyEB4LR3a2c1 parent d43acde commit df135ea
1 file changed
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
206 | 210 | | |
207 | | - | |
208 | 211 | | |
209 | | - | |
| 212 | + | |
210 | 213 | | |
211 | | - | |
212 | | - | |
213 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
214 | 218 | | |
215 | 219 | | |
216 | 220 | | |
| |||
0 commit comments