Inline aphorism publication
Maintenance ID: 0.1.00303.inline-aphorism-publication
Date: 2026-12-01
Scope: scripts/verse_publish_stage.py, scripts/verse_publication_check.py, scripts/test_verse_publish_stage.py, scripts/test_verse_publication_check.py, content/changelog.md, README.md.
What changed
- Extended the existing staged inline-verse publication pipeline from haikus and limericks to all 568 canonical aphorism records without editing or deleting those source records.
- Treated blank-line-separated aphorism paragraphs as the witness blocks used by the existing full-body ownership comparison and post-render evidence checks.
- Added stable fallback publication for unmatched, partial, reordered, independent, stub-titled, and unanchored aphorism copies beneath explicit
aphorisms.html#verse-...anchors, so independent records remain public instead of being dropped. - Rewrites staged aphorism wiki links and relations to the same mapped owner destinations used for haikus and limericks, while canonical source IDs and relations remain unchanged.
- Retired staged standalone aphorism HTML, search, and sitemap routes and added 568 extensionless legacy redirects plus trailing-slash and
.htmldynamic normalizers for all verse collections. Static redirect targets use extensionless canonical host paths so fragments are not exposed to an additional Pages.htmlcanonicalization hop. The resulting 1,689 static verse redirect rules remain below Cloudflare's 2,000 static-rule cap. - Generalized compilation-internal heading handling. Copied internal labels are flattened only at the heading level used by the source compilation body, preventing labels such as Care Event Lifecycle from destroying same-named haiku or limerick owner headings in compilation host pages.
- Prevents collection container labels such as Related Aphorisms from serving as verse-specific owner anchors; one otherwise complete untitled copy of
aphorisms/APH-FREF-0510-AKDBtherefore uses trunk fallback.
What was deliberately left alone
- Canonical aphorism Markdown, IDs, collection parentage, relations, counts, IR/RAG/Context source exports, host wording, and the existing haiku/limerick ownership preference principles.
- Cooklang staging and the Form 44-FEL inline recipe pilot; the recipe remains a single host-page section with no standalone recipe route.
- Boris semantic relation structure. Remapped relation slots still expose whole owner records because Boris relations have no fragment field.
Verification performed
python3 scripts/test_verse_publish_stage.py— PASS.python3 scripts/test_verse_publication_check.py— PASS../scripts/filed-build.sh— PASS on the full archive, including verse publication certification, residue verification, HTML ID audit, and Boris evidence certification../bin/validate_graph.sh— PASS../scripts/filed-publish.sh— PASS.
Edge cases retained
- Fifteen stub-titled aphorisms use trunk fallback because deliberately suppressed titles cannot provide dependable owner headings.
- Six non-stub records use trunk fallback because their apparent host copies are partial, reordered, or not uniquely anchored:
APH-0018,APH-0041,APH-0292,APH-0408,APH-0424, andAPH-FREF-0510-AKDB. - Thirty-four additional non-stub aphorisms have no complete host-copy evidence and are published only through stable trunk fallback rather than being omitted.