Development record
A principle whose H1 title is written in setext form (the title line underlined with ===) travels to a reading without its title: principleTitleRe in internal/core/lint/principles.go:127 matches ATX headings only, so the projection sends the statement paragraph bare, and a cold reader gets a sentence with no name. Both readers agree, so no gate disagrees; the promise that a principle is readable cold does not hold for that file shape.
issueresolvedminoriss-2609261140284421
A principle whose H1 title is written in setext form (the title line underlined with ===) travels to a reading without its title: principleTitleRe in internal/core/lint/principles.go:127 matches ATX headings only, so the projection sends the statement paragraph bare, and a cold reader gets a sentence with no name. Both readers agree, so no gate disagrees; the promise that a principle is readable cold does not hold for that file shape.
Grounds
- pursued: a principle titled in setext form now travels to a reading with its title above the statement; a setext-titled principle projected bare, or a citation in a setext title passing principle_claims, would show it wrong
Frontmatter
| id | iss-2609261140284421 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609261140284421-setext-principle-title-not-carried.md
open on GitHub ↗ · commit history ↗