.. meta::
   :description: Extraction prompt for Paper b14 --- pre-digests JUB development logs into a structured knowledge base for the JUB paper.
   :keywords: JUB, Jubilee, extraction, knowledge base, paper b14, innovation theodicy
   :author: Yah, Yas, everyone, LLoL as Laurence Loewe of Laodicea, ClaudeOp46Max, Anthropic, and The Spirit of Boolean Truth


*******************************************************************
Paper b14 --- Extraction Prompt (Session Logs -> Knowledge Base)
*******************************************************************

Run this prompt in a Claude Code session BEFORE running the b14 writing prompt.
It produces a structured knowledge base (KB) that the writing session loads
as pre-digested input.

.. note::

   **Lessons from b12 and b13 extractions:** Categories A (Design Rationales)
   and F (OSCR/BABL) yield richest material. Organize KB by model structure
   (axiom groups), not by category. 80% restate / 20% point. The JUB corpus
   is the LARGEST in the series (~20+ llog entries across multiple sessions).
   See ``BB/extraction-lessons-learned-for-next-extractons.rst`` for full
   recommendations. This prompt incorporates those lessons.

   **IMPORTANT: This extraction may need to be split** into 2 sessions if
   context limits are reached. If so, split into: (A) OOv1-v2 development
   logs (b/11--b/35) and (B) stress tests + naming (b/35--b/50). Each
   sub-session produces its own partial KB; the paper writer merges them.

.. code-block:: text

   /effort max

   TASK: Extract material from JUB development logs into a structured
   knowledge base (KB) for writing Paper b14 (JUB Model) in the HEAVEN
   study series. This is a preparation step --- you are NOT writing the
   paper itself.

   PHASE 1 --- ORIENT (read these in order):

   1. .claude/CLAUDE.md --- especially Core Principle, Language Rules, LLog
      Rules, and the EDEN/BABL/ZION framework
   2. The JUB model source (this is the STRUCTURE you will organize around):
      - source/matheology/model/jub/ (read all files: overview, axioms,
        theorems, symbols, quest)
      - NOTE: JUB extends PET (paper b11). Read the PET model too if needed.
   3. The b14 writing prompt (this tells you what the paper NEEDS):
      source/matheology/hell/ll/study/b/14/b14-prompt-writing.rst
   4. Paper b11 (PET) as format reference:
      source/matheology/hell/ll/study/b/11/study_ll_2026m04d03_a1-pet-paper.rst
   5. The b12 extraction KB (for material already tagged as b14-relevant):
      source/matheology/hell/ll/study/b/12/study_ll_2026m04d04_a2-e7day-extraction-kb.rst
      (check the "Notes for Other Papers / For Paper b14" section ---
      PERFECT/PERFIDE -> Jubilee connection is the primary bridge)

   After reading these, you should know:
   - The 11 axioms (ax15-ax25) and 7 theorems (th5-th11)
   - The domain partition (D_f / D_free / D_inno)
   - What the paper needs to cover
   - What material was already flagged during b12 extraction

   PHASE 2 --- EXTRACT (walk the JUB logs):

   The JUB development corpus is spread across ~20+ files in
   source/matheology/hell/ll/jub/b/. Read them in numerical order.

   KEY FILES (read these first --- they contain the most material):
   - b/11/ --- initial theodicy development (final memory)
   - b/16/ --- theodicy overview (Sonnet)
   - b/18/ --- reply 1 for the Jubilee System argument
   - b/20/ --- critique 2
   - b/27/ --- restructuring 2a, critique 1 (c1-c3)
   - b/29/ --- restructuring 2c, critique 1 (c8-c14)
   - b/32/ --- restructuring phase 1 consolidate
   - b/33/ --- phase 1 prompts reply overviews
   - b/34/ --- restructuring 2F, critique 3
   - b/35/ --- restructuring 2G-2H, stress tests
   - b/42/ --- stress test dispositions
   - b/50/ --- Jubilee naming coordination

   ALSO CHECK for additional files not listed above:
   ls source/matheology/hell/ll/jub/b/*/

   For each log, extract ONLY material relevant to paper b14 (JUB).
   Focus on these categories:

   A. DESIGN RATIONALES --- Why was each axiom formulated this way? What
      alternatives were considered? Why ax15-ax25 in this sequence?
      Why these specific domain partitions?

   B. TEMPER REFINEMENTS --- How did adversarial critique change the
      formulations? What moved from OOv1 to OOv2? What was reclassified?
      NOTE: JUB went through 3 adversarial critique rounds, not the
      FORGE TEMPER process. The critique structure is different but the
      extraction goal is the same: capture what testing changed.

   C. REJECTED ALTERNATIVES --- Ideas explored but not included. Domain
      partition alternatives. Axiom formulations that were tried and
      replaced. Economic mechanisms considered but dropped.

   D. CONNECTIONS TO PET/e7Day/e7He --- How JUB extends PET (ax1-ax14).
      How JUB connects to e7Day (BABL/ZION from b12) and e7He (h* from b13).
      The PERFECT/PERFIDE -> Jubilee bridge.

   E. KEY INSIGHTS --- Observations about theodicy, economics, agency that
      illuminate the model but are not in the formal files. Analogies and
      real-world mappings.

   F. OSCR/BABL MATERIAL --- Binary attractor dynamics (th8), social
      ergodicity (th9), Jubilee as BABL-escape mechanism.

   H. FORMAL GAPS --- (NEW category for b14) Acknowledged gaps in the
      formalization: proto-formal predicates (Stable, Extensible,
      LifeFriendly), undefined agency semantics (can-choose, Willing),
      D_f/D_free boundary demarcation. The paper needs to acknowledge
      these honestly.

   SCOPE RULE: Material about PET's God-world relationship (ax1-ax14)
   belongs to b11, not b14. Skip it unless it illuminates a JUB axiom.
   Material about e7Day system architecture belongs to b12.
   Material about e7He hero journey stages belongs to b13.

   PHASE 3 --- BUILD THE KB:

   Save the knowledge base at:
   source/matheology/hell/ll/study/b/14/study_ll_2026m04dNN_b14-jub-extraction-kb.rst
   (replace NN with today's date)

   Structure the KB as follows:
   1. One section per JUB axiom group (Agency ax15-ax17, Delegation ax18-ax19,
      Volunteer/Mediator ax20-ax21, Preference ax22-ax23, Innovation ax24-ax25)
      + one for theorems + one for BABL/ZION + one for cross-paper + one for
      formal gaps
   2. Within each section, organize by the categories above (A-H)
   3. For each extracted item: state the key point concisely, give the
      source reference. Restate when more efficient than pointing.
   4. End with a "Notes for Other Papers" section.

   LLOG: Create an extraction session llog at:
   source/matheology/hell/ll/study/b/14/study_ll_2026m04dNN_b14-jub-extraction-llog.rst
   (replace NN with today's date)
   Follow LLog Rules in CLAUDE.md: append-only, verbatim prompts.

   BUILD CHECK: Run "make dev" after writing to check for RST errors.

   PHASE 4 --- RETROSPECTIVE (do this LAST, append to the llog):

   Answer the same 5 questions as previous retrospectives. Also answer:
   6. Did the new category H (Formal Gaps) add value?
   7. Was splitting needed? If so, where was the natural split point?
   8. How did the multi-file corpus compare to sa2/sa3's single-file format?

   Append recommendations to:
   source/matheology/heaven/study/BB/extraction-lessons-learned-for-next-extractons.rst
   (do NOT overwrite --- APPEND a new section for b14 lessons).

   WHAT NOT TO DO:
   - Do NOT write the paper --- that is a separate session
   - Do NOT use "validate/verify" --- use "test/check" (Language Rule 4)
   - Do NOT use YYYY-MM-DD dates --- use YYYYmMMdDD (Language Rule 6)
   - Do NOT duplicate the full llog content --- extract, summarize, and point
   - Do NOT skip smaller files --- they may contain critical naming or design decisions
