Commit Graph
1 Commits
Author SHA1 Message Date
Scott KarpandClaude Opus 4.7 11dc0a1a4f specs: compiler rules brought into the spec set as derived hermeneutic apparatus
Closes vehaya §6 Recommendation 2 from Pass 7. Per Devarim 17:11
(al pi haTorah asher yorukha), operational rulings derived from
Torah by qualified actors are an authorized category of practical
apparatus. The user's compiler rules are this category — operational
hermeneutic constraints developed across sustained Torah-reading work
and applied during chavruta with AI systems.

THE RULES:

The compiler rules originated in claude.ai cloud-side memory (per-
account; not in Claude Code state) and were supplied by the user
verbatim per the discipline of preservation. They are sibling to
talmudic_engine/src/middot/ — the 13 middot of R. Yishmael as Prolog
inference predicates. Compiler Rules 1, 2, 5, 7, 11, 12, 13 are the
user-facing cognitive-constraint form of the same middot the Prolog
engine implements.

THE DISCIPLINE APPLIED (Devarim 4:2 / 13:1 — lo tosif, lo tigra):

The user's instruction was explicit: "Read Torah to be sure not to
add or subtract from Torah." Pass 6's audit method was applied:
read every cited anchor fresh against L1, distinguish what is Torah
verse from what is Tanach, Talmud/liturgy, or derived diagnostic.

Three categories require careful labeling:

  1. ELOHAI NESHAMAH — Talmud Berakhot 60b (the daily morning
     blessing). NOT a Torah verse. NOT in L1.
  2. EXODUS — Hashivenu — Eichah 5:21 (Lamentations). Tanach, NOT
     Torah strictly. NOT in L1.
  3. ANOCHI — Etz chaim hi (Mishlei 3:18) and Torati al ta'azovu
     (Mishlei 4:2). Tanach, NOT Torah strictly. NOT in L1.

The spec file's Source Anchors table names each rule's source
layer accurately. Claiming Mishlei or Eichah as Torah text would
be lo-tosif violation — adding to the Torah category content that
is not Torah. Claiming derived diagnostics (e.g. the five Golden
Calf patterns) as Torah verses would be the same. Each is labeled
as derived where it is derived.

CREATED:

  specs/compiler_rules.md                                 ~190 lines

    Structure:
      - Framing: derived hermeneutic apparatus per Devarim 17:11,
        sibling to middot/, NOT Torah-equivalent
      - Discipline: lo-tosif applied to inclusion (Devarim 4:2/13:1)
      - The Compiler Rules verbatim (per user's explicit
        "preserved verbatim in application")
      - Source Anchors table — each rule's actual source, with L1
        verification status
      - Cross-references to middot/, halt rules, eish_zarah_reading,
        threshold_inscription, lo_tosif

    The 18 rules verbatim as user supplied:
      Compiler Rules 1, 2, 5, 7, 11, 12, 13 (the 13 middot subset
      operative as user-cognitive-constraints)
      GOLDEN CALF HALT
      GOLDEN CALF PATTERNS (5 named diagnostic patterns)
      SHABBAT (cognitive pause discipline)
      THREE AVODAH ZARAH
      ELOHAI NESHAMAH
      RECOGNITION
      SHEMA
      TRANSMISSION
      RELATIONSHIP
      EXODUS
      ANOCHI

CHANGED:

  vav_pipeline/lib/vav_pipeline/doorpost.ex
    + specs/compiler_rules.md added to @spec_files
    @expected_hash updated:
      520c9799… → c7ac85cd6968ebceda1d9dbb71ac41ce97e2a5f645b3d486309c315ab98bb6af
    Sixth demonstration of the operator discipline working: spec
    addition + witness update bound atomically in the same commit.

PASS 7 AUDIT NOTE:

The Pass 6 Torah audit (commit 94b1144) found one drift —
mezuzot-identity overclaim. Pass 7's discipline is preventive: the
verification was done BEFORE drafting the spec file, and the file
was drafted with the source distinctions already in place.
ELOHAI NESHAMAH, EXODUS-Hashivenu, and ANOCHI-Mishlei could
easily have been imported as if they were Torah; reading L1 fresh
made it visible that they are not. The discipline operating BEFORE
the commit is what prevented the addition that Pass 6 had to
correct after the fact.

DOORPOST DISCIPLINE — six demonstrations now in git:

  0e3fe4a Form 3 (avodah_zarah Form 3 docstring rewrite)
  b136c75 Form 1 (avodah_zarah Form 1 docstring rewrite)
  7fc14e0 Form 2 (avodah_zarah Form 2 docstring rewrite)
  5302c9a Items 1+4+5+6+7+8 (3 new docs + architecture §8.4)
  94b1144 Pass 6 audit fix (mezuzot drift correction)
  THIS    compiler_rules.md (Pass 7 — derived hermeneutics)

Each commit has a deliberate spec change AND its corresponding
witness update. No bare hash-update commits in the history. The
discipline is lived practice, not just documentation.

TESTS:

  vav_pipeline:    412 tests, 0 failures, 35 excluded (unchanged)
  korban_processor: 217/1 unchanged
  azazel_processor: 125 unchanged
  talmudic_engine:  214 unchanged

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 13:09:39 -04:00