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.py handled this chapter without modification.

Sub-theme files produced

FileLinesSub-sub-themesSMM blocksFootnotes used
ws-01-founders-prophets-and-saints.md199331–8
ws-02-noah.md94229
ws-03-abraham.md1554410–13
ws-04-isaac.md970114–19
ws-05-jacob.md1634420–23
ws-06-joseph.md1273324–25
ws-07-moses.md12422(none)
ws-08-women-of-the-bible.md2878826–33
ws-09-buddha.md1062234–36
ws-10-confucius.md902237
ws-11-jesus.md678151538–46
ws-12-muhammad.md792247–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

  1. ws-11-jesus.md is 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.

  2. ws-07-moses.md has 0 footnotes used. This is correct — Moses-related footnotes in ws-notes.md Ch9 fall into the ws-01-founders-prophets-and-saints range (1–8) and the ws-08-women-of-the-bible range (26–33); the standalone Moses sub-theme has citation-only scripture passages with no annotations in the source.

  3. SMM number-prefix convention preserved per feedback_smm_prefix.

  4. 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"
done

Finalize plan

When user approves:

  1. cp staging/ws-2-9-history-of-god-s-providence/REVIEW.md _meta/batch-reviews/ws-2-9-history-of-god-s-providence.md
  2. mkdir -p resources/WorldScripture/Part2/Chapter09-history-of-god-s-providence && mv staging/.../Chapter09-.../ws-*.md resources/WorldScripture/Part2/Chapter09-history-of-god-s-providence/
  3. Delete staging dir per 9c5d7a3 convention.
  4. 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).