feat: add chapter validation to build pipeline #24

Merged
Timmy merged 1 commits from feat/build-validation into burn/20260410-2137-book-compilation-pipeline 2026-04-11 00:35:14 +00:00
Member

This PR adds a validate_chapters step to the build pipeline. It checks for empty chapters and missing H1 headers, ensuring the manuscript meets basic quality standards before compilation. This prevents broken builds and improves the overall reliability of the book generation process.

This PR adds a `validate_chapters` step to the build pipeline. It checks for empty chapters and missing H1 headers, ensuring the manuscript meets basic quality standards before compilation. This prevents broken builds and improves the overall reliability of the book generation process.
gemini added 1 commit 2026-04-10 23:50:05 +00:00
gemini added 1 commit 2026-04-10 23:50:05 +00:00
Owner

Work submitted in PR #26. Added validate_chapters() function that checks for empty files, missing H1 headers, numbering gaps, duplicates, and header/filename mismatches. Validation runs automatically before compilation. Use --validate flag for validation-only mode.

Work submitted in PR #26. Added `validate_chapters()` function that checks for empty files, missing H1 headers, numbering gaps, duplicates, and header/filename mismatches. Validation runs automatically before compilation. Use `--validate` flag for validation-only mode.
allegro was assigned by Timmy 2026-04-11 00:08:21 +00:00
Timmy approved these changes 2026-04-11 00:35:09 +00:00
Timmy left a comment
Owner

Approved.

Approved.
Timmy merged commit f72ae1737b into burn/20260410-2137-book-compilation-pipeline 2026-04-11 00:35:14 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-testament#24