Batch ws-2-9-history-of-god-s-providence — REVIEW
Content-cleanup variant per ADR-0009. Stage-2 cleanup of WS-II Chapter 9 (“History of God’s Providence”), Part 2 (“Sin and Salvation”). Eighth Phase B chapter. Largest chapter so far by raw size (~310 KB).
What changed
- New (12 files):
resources/WorldScripture/Part2/Chapter09-history-of-god-s-providence/ws-{NN-subtheme-slug}.md. Per-sub-theme files; line counts 79–678 (the Jesus sub-theme dominates at 678 lines / 15 sub-sub-themes). - Intermediate (1 file, staging-only):
staging/ws-2-9-history-of-god-s-providence/resources/WorldScripture/Part2/ws-2-9-history-of-god-s-providence.md. - No script changes. Existing
clean_ws_chapter.pyhandled this chapter without modification.
Sub-theme files produced
| File | Lines | Sub-sub-themes | SMM blocks | Footnotes used |
|---|---|---|---|---|
ws-01-founders-prophets-and-saints.md | 199 | 3 | 3 | 1–8 |
ws-02-noah.md | 94 | 2 | 2 | 9 |
ws-03-abraham.md | 155 | 4 | 4 | 10–13 |
ws-04-isaac.md | 97 | 0 | 1 | 14–19 |
ws-05-jacob.md | 163 | 4 | 4 | 20–23 |
ws-06-joseph.md | 127 | 3 | 3 | 24–25 |
ws-07-moses.md | 124 | 2 | 2 | (none) |
ws-08-women-of-the-bible.md | 287 | 8 | 8 | 26–33 |
ws-09-buddha.md | 106 | 2 | 2 | 34–36 |
ws-10-confucius.md | 90 | 2 | 2 | 37 |
ws-11-jesus.md | 678 | 15 | 15 | 38–46 |
ws-12-muhammad.md | 79 | 2 | 2 | 47–48 |
48 inline footnote markers converted (= Ch9’s full back-matter count in ws-notes.md). Per-file footnote refs == defs in every sub-theme file (sum: 8+1+4+6+4+2+0+8+3+1+9+2 = 48).
Cleanup decisions (script-applied)
Same base transformations as prior chapters. Zero flags raised in the flag log — Marker did clean work on this chapter, every footnote matched the primary regex (no orphan-space fallbacks fired), no blockquote attribution lines, no SMM mash, no chapter-title artifact.
Ch2–Ch8 unaffected (no script changes).
No manual fixes needed
Cleanest run since Ch8 set the bar. Specifically:
- 0 SMM mash flags
- 0 chapter-title artifact flags
- 0 orphan-space footnote conversions
- 0 blockquote unwrap flags
Flagged for human review
-
ws-11-jesus.mdis 678 lines, ~30% of the chapter. 15 numbered sub-sub-themes (the longest list in the chapter — covering Birth, Baptism, Temptations, Galilean Ministry, Sermon on the Mount, Parables, Healings, Transfiguration, Last Supper, Gethsemane, Trial, Crucifixion, Resurrection, Pentecost, etc.). Per-file refs/defs match, structure is correct, but the file is conspicuously large and may warrant manual eyeballing — the rendering will be long. No structural concern from this script’s perspective. -
ws-07-moses.mdhas 0 footnotes used. This is correct — Moses-related footnotes inws-notes.mdCh9 fall into thews-01-founders-prophets-and-saintsrange (1–8) and thews-08-women-of-the-biblerange (26–33); the standalone Moses sub-theme has citation-only scripture passages with no annotations in the source. -
SMM number-prefix convention preserved per feedback_smm_prefix.
-
Tradition-tag italics kept as-extracted per pilot convention.
Verification
head -16 resources/WorldScripture/Part2/Chapter09-history-of-god-s-providence/ws-01-founders-prophets-and-saints.md
for f in resources/WorldScripture/Part2/Chapter09-history-of-god-s-providence/ws-*.md; do
refs=$(awk 'BEGIN{p=1} /^## Footnotes/{p=0} p' "$f" | grep -oE '\[\^[0-9]+\]' | sort -u | wc -l)
defs=$(awk '/^## Footnotes/,0' "$f" | grep -cE '^\[\^')
echo "$(basename $f): refs=$refs defs=$defs"
doneFinalize plan
When user approves:
cp staging/ws-2-9-history-of-god-s-providence/REVIEW.md _meta/batch-reviews/ws-2-9-history-of-god-s-providence.mdmkdir -p resources/WorldScripture/Part2/Chapter09-history-of-god-s-providence && mv staging/.../Chapter09-.../ws-*.md resources/WorldScripture/Part2/Chapter09-history-of-god-s-providence/- Delete staging dir per 9c5d7a3 convention.
- Commit; Ch10 (“Eschatology and Messianic Hope”) closes Part 2.
Out of scope
- Chapters 10–22 (13 batches remaining).
- Front/back-matter (Phase C).
- Atomization (stage-3).