Skip to content

Move the Section-Name Lookup Key Into spec/fidelity_text.py - #3708

Merged
ptr727 merged 3 commits into
developfrom
feature/burndown-3686
Oct 31, 2026
Merged

ptr727 merged 3 commits into
developfrom
feature/burndown-3686

Conversation

@ptr727

@ptr727 ptr727 commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Moves the section-name lookup key (strip, then case-fold) into spec/fidelity_text.py as section_key() and points every section-name site at it: section_span and strip_sections, scripts/build_dist.py heading_body, scripts/carry.py fold(), spec/audit.py, spec/audit_markdown.py (including readme_section_findings), and scripts/canonical_review.py. A future change to heading-key normalization now reaches every lookup path in those files. No behavior change: the existing tests are the proof, plus one new test of the helper. OPERATIONS.md's primitives entry names the new function.

Closes on promotion: #3686

Remaining findings:

🤖 Generated with Claude Code

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants