Stage-2 ingest — DP
- Class code:
DP - Source:
/home/kenmen/code/src/github/kuebic/zettle/resources-raw/DivinePrinciple/extracted - Staged: 59 file(s)
- Unmatched: 0 file(s)
Staged files
| Part | Chapter | Section | Title (derived) | Target |
|---|---|---|---|---|
| 1 | 01 | 1 | The Dual Characteristics Of God And The Created Universe | DP/Part1/Chapter01-the-principle-of-creation/dp-1-the-dual-characteristics-of-god-and-the-created-universe.md |
| 1 | 01 | 2 | Universal Prime Energy Give And Take Action And The Four Position Foundation | DP/Part1/Chapter01-the-principle-of-creation/dp-2-universal-prime-energy-give-and-take-action-and-the-four-position-foundation.md |
| 1 | 01 | 3 | The Purpose Of Creation | DP/Part1/Chapter01-the-principle-of-creation/dp-3-the-purpose-of-creation.md |
| 1 | 01 | 4 | Original Value | DP/Part1/Chapter01-the-principle-of-creation/dp-4-original-value.md |
| 1 | 01 | 5 | The Process Of The Creation Of The Universe And Its Growing Period | DP/Part1/Chapter01-the-principle-of-creation/dp-5-the-process-of-the-creation-of-the-universe-and-its-growing-period.md |
| 1 | 01 | 6 | The Incorporeal World And The Corporeal World Whose Center Is Human Beings | DP/Part1/Chapter01-the-principle-of-creation/dp-6-the-incorporeal-world-and-the-corporeal-world-whose-center-is-human-beings.md |
| 1 | 02 | 1 | The Root Of Sin | DP/Part1/Chapter02-the-human-fall/dp-1-the-root-of-sin.md |
| 1 | 02 | 2 | The Motivation And Process Of The Fall | DP/Part1/Chapter02-the-human-fall/dp-2-the-motivation-and-process-of-the-fall.md |
| 1 | 02 | 3 | The Power Of Love The Power Of The Principle And God S Commandment | DP/Part1/Chapter02-the-human-fall/dp-3-the-power-of-love-the-power-of-the-principle-and-god-s-commandment.md |
| 1 | 02 | 4 | The Consequences Of The Human Fall | DP/Part1/Chapter02-the-human-fall/dp-4-the-consequences-of-the-human-fall.md |
| 1 | 02 | 5 | Freedom And The Human Fall | DP/Part1/Chapter02-the-human-fall/dp-5-freedom-and-the-human-fall.md |
| 1 | 02 | 6 | The Reason God Did Not Intervene In The Fall Of The First Human Ancestors | DP/Part1/Chapter02-the-human-fall/dp-6-the-reason-god-did-not-intervene-in-the-fall-of-the-first-human-ancestors.md |
| 1 | 03 | 1 | The Completion Of God S Purpose Of Creation And The Human Fall | DP/Part1/Chapter03-eschatology-and-human-history/dp-1-the-completion-of-god-s-purpose-of-creation-and-the-human-fall.md |
| 1 | 03 | 2 | God S Work Of Salvation | DP/Part1/Chapter03-eschatology-and-human-history/dp-2-god-s-work-of-salvation.md |
| 1 | 03 | 3 | The Last Days | DP/Part1/Chapter03-eschatology-and-human-history/dp-3-the-last-days.md |
| 1 | 03 | 4 | The Last Days And The Present Days | DP/Part1/Chapter03-eschatology-and-human-history/dp-4-the-last-days-and-the-present-days.md |
| 1 | 03 | 5 | The Last Days The New Truth And Our Attitude | DP/Part1/Chapter03-eschatology-and-human-history/dp-5-the-last-days-the-new-truth-and-our-attitude.md |
| 1 | 04 | 1 | Salvation Through The Cross | DP/Part1/Chapter04-the-messiah-his-advent-and-the-purpose-of-his-second-coming/dp-1-salvation-through-the-cross.md |
| 1 | 04 | 2 | The Second Coming Of Elijah And John The Baptist | DP/Part1/Chapter04-the-messiah-his-advent-and-the-purpose-of-his-second-coming/dp-2-the-second-coming-of-elijah-and-john-the-baptist.md |
| 1 | 05 | 1 | Resurrection | DP/Part1/Chapter05-resurrection/dp-1-resurrection.md |
| 1 | 05 | 2 | The Providence Of Resurrection | DP/Part1/Chapter05-resurrection/dp-2-the-providence-of-resurrection.md |
| 1 | 05 | 3 | The Unification Of Religions Through Returning Resurrection | DP/Part1/Chapter05-resurrection/dp-3-the-unification-of-religions-through-returning-resurrection.md |
| 1 | 06 | 1 | The Predestination Of God S Will | DP/Part1/Chapter06-predestination/dp-1-the-predestination-of-god-s-will.md |
| 1 | 06 | 2 | The Predestination Of The Way In Which God S Will Is Fulfilled | DP/Part1/Chapter06-predestination/dp-2-the-predestination-of-the-way-in-which-god-s-will-is-fulfilled.md |
| 1 | 06 | 3 | The Predestination Of Human Beings | DP/Part1/Chapter06-predestination/dp-3-the-predestination-of-human-beings.md |
| 1 | 06 | 4 | Elucidation Of Biblical Verses Which Support The Doctrine Of Absolute Predestination | DP/Part1/Chapter06-predestination/dp-4-elucidation-of-biblical-verses-which-support-the-doctrine-of-absolute-predestination.md |
| 1 | 07 | 1 | The Value Of A Person Who Has Realized The Purpose Of Creation | DP/Part1/Chapter07-christology/dp-1-the-value-of-a-person-who-has-realized-the-purpose-of-creation.md |
| 1 | 07 | 2 | Jesus And The Person Who Has Realized The Purpose Of Creation | DP/Part1/Chapter07-christology/dp-2-jesus-and-the-person-who-has-realized-the-purpose-of-creation.md |
| 1 | 07 | 3 | Jesus And Fallen People | DP/Part1/Chapter07-christology/dp-3-jesus-and-fallen-people.md |
| 1 | 07 | 4 | Rebirth And Trinity | DP/Part1/Chapter07-christology/dp-4-rebirth-and-trinity.md |
| 2 | 01 | 1 | The Principle Of Restoration Through Indemnity | DP/Part2/Chapter01-introduction-to-restoration/dp-1-the-principle-of-restoration-through-indemnity.md |
| 2 | 01 | 2 | The Course Of The Providence Of Restoration | DP/Part2/Chapter01-introduction-to-restoration/dp-2-the-course-of-the-providence-of-restoration.md |
| 2 | 01 | 3 | The History Of The Providence Of Restoration And I | DP/Part2/Chapter01-introduction-to-restoration/dp-3-the-history-of-the-providence-of-restoration-and-i.md |
| 2 | 02 | 1 | The Providence Of Restoration In Adam S Family | DP/Part2/Chapter02-the-providence-to-lay-the-foundation-for-restoration/dp-1-the-providence-of-restoration-in-adam-s-family.md |
| 2 | 02 | 2 | The Providence Of Restoration In Noah S Family | DP/Part2/Chapter02-the-providence-to-lay-the-foundation-for-restoration/dp-2-the-providence-of-restoration-in-noah-s-family.md |
| 2 | 02 | 3 | The Providence Of Restoration In Abraham S Family | DP/Part2/Chapter02-the-providence-to-lay-the-foundation-for-restoration/dp-3-the-providence-of-restoration-in-abraham-s-family.md |
| 2 | 03 | 1 | The Model Courses For Bringing Satan To Submission | DP/Part2/Chapter03-moses-and-jesus-in-the-providence-of-restoration/dp-1-the-model-courses-for-bringing-satan-to-submission.md |
| 2 | 03 | 2 | The Providence Of Restoration Under The Leadership Of Moses | DP/Part2/Chapter03-moses-and-jesus-in-the-providence-of-restoration/dp-2-the-providence-of-restoration-under-the-leadership-of-moses.md |
| 2 | 03 | 3 | The Providence Of Restoration Under The Leadership Of Jesus | DP/Part2/Chapter03-moses-and-jesus-in-the-providence-of-restoration/dp-3-the-providence-of-restoration-under-the-leadership-of-jesus.md |
| 2 | 04 | 1 | Parallel Providential Periods | DP/Part2/Chapter04-the-periods-in-providential-history-and-the-determination-of-their-lengths/dp-1-parallel-providential-periods.md |
| 2 | 04 | 2 | The Number Of Generations Or Years In The Periods Of The Age Of The Providence To Lay The Foundation For Restoration | DP/Part2/Chapter04-the-periods-in-providential-history-and-the-determination-of-their-lengths/dp-2-the-number-of-generations-or-years-in-the-periods-of-the-age-of-the-providence-to-lay-the-foundation-for-restoration.md |
| 2 | 04 | 3 | The Periods In The Age Of The Providence Of Restoration And Their Lengths | DP/Part2/Chapter04-the-periods-in-providential-history-and-the-determination-of-their-lengths/dp-3-the-periods-in-the-age-of-the-providence-of-restoration-and-their-lengths.md |
| 2 | 04 | 4 | The Periods In The Age Of The Prolongation Of The Providence Of Restoration And Their Lengths | DP/Part2/Chapter04-the-periods-in-providential-history-and-the-determination-of-their-lengths/dp-4-the-periods-in-the-age-of-the-prolongation-of-the-providence-of-restoration-and-their-lengths.md |
| 2 | 05 | 1 | The Period Of Slavery In Egypt And The Period Of Persecution In The Roman Empire | DP/Part2/Chapter05-the-parallels-between-the-two-ages-in-the-providence-of-restoration/dp-1-the-period-of-slavery-in-egypt-and-the-period-of-persecution-in-the-roman-empire.md |
| 2 | 05 | 2 | The Period Of The Judges And The Period Of Regional Church Leadership | DP/Part2/Chapter05-the-parallels-between-the-two-ages-in-the-providence-of-restoration/dp-2-the-period-of-the-judges-and-the-period-of-regional-church-leadership.md |
| 2 | 05 | 3 | The Period Of The United Kingdom And The Period Of The Christian Empire | DP/Part2/Chapter05-the-parallels-between-the-two-ages-in-the-providence-of-restoration/dp-3-the-period-of-the-united-kingdom-and-the-period-of-the-christian-empire.md |
| 2 | 05 | 4 | The Period Of The Divided Kingdoms Of North And South And The Period Of The Divided Kingdoms Of East And West | DP/Part2/Chapter05-the-parallels-between-the-two-ages-in-the-providence-of-restoration/dp-4-the-period-of-the-divided-kingdoms-of-north-and-south-and-the-period-of-the-divided-kingdoms-of-east-and-west.md |
| 2 | 05 | 5 | The Period Of Israel S Exile And Return And The Period Of The Papal Exile And Return | DP/Part2/Chapter05-the-parallels-between-the-two-ages-in-the-providence-of-restoration/dp-5-the-period-of-israel-s-exile-and-return-and-the-period-of-the-papal-exile-and-return.md |
| 2 | 05 | 6 | The Period Of Preparation For The Advent Of The Messiah And The Period Of Preparation For The Second Advent Of The Messiah | DP/Part2/Chapter05-the-parallels-between-the-two-ages-in-the-providence-of-restoration/dp-6-the-period-of-preparation-for-the-advent-of-the-messiah-and-the-period-of-preparation-for-the-second-advent-of-the-messiah.md |
| 2 | 05 | 7 | The Providence Of Restoration And The Progress Of History | DP/Part2/Chapter05-the-parallels-between-the-two-ages-in-the-providence-of-restoration/dp-7-the-providence-of-restoration-and-the-progress-of-history.md |
| 2 | 06 | 1 | The Period Of The Reformation 1517 1648 | DP/Part2/Chapter06-the-period-of-preparation-for-the-second-advent-of-the-messiah/dp-1-the-period-of-the-reformation-1517-1648.md |
| 2 | 06 | 2 | The Period Of Religious And Ideological Conflicts 1648 1789 | DP/Part2/Chapter06-the-period-of-preparation-for-the-second-advent-of-the-messiah/dp-2-the-period-of-religious-and-ideological-conflicts-1648-1789.md |
| 2 | 06 | 3 | The Period Of Maturation Of Politics Economy And Ideology 1789 1918 | DP/Part2/Chapter06-the-period-of-preparation-for-the-second-advent-of-the-messiah/dp-3-the-period-of-maturation-of-politics-economy-and-ideology-1789-1918.md |
| 2 | 06 | 4 | The World Wars | DP/Part2/Chapter06-the-period-of-preparation-for-the-second-advent-of-the-messiah/dp-4-the-world-wars.md |
| 2 | 07 | 1 | When Will Christ Return | DP/Part2/Chapter07-the-second-advent/dp-1-when-will-christ-return.md |
| 2 | 07 | 2 | In What Manner Will Christ Return | DP/Part2/Chapter07-the-second-advent/dp-2-in-what-manner-will-christ-return.md |
| 2 | 07 | 3 | Where Will Christ Return | DP/Part2/Chapter07-the-second-advent/dp-3-where-will-christ-return.md |
| 2 | 07 | 4 | Parallels Between Jesus Day And Today | DP/Part2/Chapter07-the-second-advent/dp-4-parallels-between-jesus-day-and-today.md |
| 2 | 07 | 5 | The Chaotic Profusion Of Languages And The Necessity For Their Unification | DP/Part2/Chapter07-the-second-advent/dp-5-the-chaotic-profusion-of-languages-and-the-necessity-for-their-unification.md |
Stage-2 work remaining (AI in chat)
Per ADR-0019. The script did tier-1 (move/rename/frontmatter, page-anchor strip, smart quotes). Still needed before promotion to resources/:
- Titles: derived from slug (title-case). Fix possessives (e.g.
God S→God's), capitalization (A→afor stop-words), and any chapter-internal punctuation. - Heading depth normalization (class-specific): e.g. CSG
## [Section 1]→# Section 1,#### 1.1.→## 1.1.. See the canonical resources/ examples. - Citation line-break (class-specific): e.g. CSG
paragraph. (35-156, 1970.10.13)→paragraph.\n(35-156, 1970.10.13). - Section breaks, footnote reshape, OCR-error fixes (interpretive) — per ADR-0015.
Stage-2 outcome (this session, 2026-05-22)
Tier-2 deterministic transforms applied via scripts/dp_normalize.py (new). Re-runnable, idempotent. Operations per file:
- Frontmatter title repair — fix Title-Case stop-word casing (
A→a,Themid-title →the, etc.), recoverGod S→God's,Jesus Day→Jesus' Day. - Chapter double-heading drop — strip the
### Chapter N.+## {chapter title}block at the top of each chapter’s section-1 file. Chapter context lives in folder name + frontmatterchapter-title:. - Section-title body heading drop — strip
## **Section N {title}**heading. Section title lives in frontmattersection-title:. - Heading-depth normalize — any
^#+ \** N.M[.M] Title \**$→## N.M. Title(H2 two-part) or### N.M.K. Title(H3 three-part). Bold stripped, trailing period added. - Footnote-orphan strip — digits glued to end of word/punct (e.g.
defiles a man."2,engrafted with him7,branch.16). Marker emitted footnote refs but lost the definitions entirely; the orphan digits are noise. - Paragraph-mid-break join — Marker page-break artifacts where a paragraph splits across two
\n\nblocks with the second starting lowercase → joined with single space.
Per-file tier-3 cleanup done manually in this session:
Part1/Chapter02-the-human-fall/dp-1-the-root-of-sin.md(pilot)- Bible-ref
#### - Jude 6-7heading reshaped to blockquote attribution. - OCR em-dash flatten
sin-illicit sexual desireis→sin — illicit sexual desire — is.
- Bible-ref
Part2/Chapter07-the-second-advent/dp-1-when-will-christ-return.md- Trailing-overflow leak from section 2 trimmed (10 lines). Marker’s
normalize_sections()did not catch it (regex requires bare## Section Jwithout bold; PDF emitted## **Section 2 …**).
- Trailing-overflow leak from section 2 trimmed (10 lines). Marker’s
- 9 frontmatter titles repaired against PDF bookmarks (commas, colon, parens, question marks).
FLAGS.md written by the normalizer lists 1 remaining Bible-ref heading (the Jude 6-7 case, already fixed in pilot; no other instances).
Stage-3 work remaining (interpretive, before promotion)
- OCR em-dash flattens. Sparse across the corpus; one confirmed instance fixed in pilot. Surface during stage-3 reading — no scripted detection (false-positive rate too high vs valid hyphenated compounds like
like-minded,two-faced). - Per-section reading pass. No corpus-wide review yet — only pilot file + Part2/Ch7 trailing-overflow have been individually inspected. User should spot-check at least one section per chapter for residual OCR artifacts, citation formatting consistency, and subsection-numbering quirks.
- Front matter (Preface, Introduction). Deferred per ADR-0021. Re-extract via
ingest_pdf.pywith explicit page ranges (PDF pp.15-28 covers both). Routes via existing00-front-matter/classifier.
Promotion checklist (when stage-3 is done)
Per ADR-0009:
- Move
staging/dp-resource-ingest/DP/*→resources/DP/*. - Copy this
REVIEW.mdto_meta/batch-reviews/dp-resource-ingest.md. - Update index notes (Person/Glossary backlinks —
## Referenced byregen). - Delete
staging/dp-resource-ingest/. - Commit. Pre-commit hook will validate citation grammar against the new
[[DP/Part…/Chapter…/dp-…]]shape.
Proposed work
- Open questions raised — (none yet; fill in during review).
- Proposed threads — (n/a for resource ingest).
- Stale wrestling — (n/a for resource ingest).