L1: the shoresh is read from the lexicon, not guessed (tablet 34)

L1's `shoresh` field was derived by stripping a prefix letter and a
suffix letter from the consonants and keeping the first three. וַיַּרְא
"and he saw" was engraved as ירא ("fear"); ויהי as יהי; שמים as שמ;
מזבח as מזב; הבאתי as בא. And parse_prefixes took a word's morphology
from the LAST morph segment, which for a suffixed word is the pronominal
suffix — so every suffixed noun and verb in Torah (לבבך, נפשך) was
classed as a suffix and written with no shoresh at all.

Every WLC word already carries its lemma, and the OSHB lexical index
files each lemma under its Brown-Driver-Briggs root (terumah §E2 named
BDB + Strong's as the root lexicon and marked it "needs consolidation").
scripts/build_l1.py now reads the root from that filing:

  main    the lemma is a root            23,750 words   וירא → ראה
  sub     filed under a root             31,066 words   מזבח → זבח
  single  stands alone in the lexicon     2,671 words   משה → משה
  none    no etymology recorded → absent  3,002 words   יוסף, מצרים
  particles, pronouns → absent, as before 19,493 words  את, אשר, כי

57,487 words carry a shoresh (was 51,836); 1,378 unique roots (was
2,608 fragments). Roots are written as the lexicon writes them — two
letters (בן), three, or more (שמאל).

WHAT CHANGED IN THE EDUT: only `shoresh`. Verified file by file — with
that one field removed, all 5,853 verse files are byte-identical to the
previous L1. Text, consonants, lemma, morph, te'amim, prefix, ketiv/
qere, large and small letters: untouched. The old builder, run against
the same morphhb checkout, reproduces the old hash exactly; the new
builder is deterministic (two runs, one hash).

  L1 SHA-256  99bbd07a…4ea377  →  156b1d27…d8c9d5
  sources     morphhb 3d15126 · HebrewLexicon 21c9add
              (recorded in l1/build_report.json)

Moved together, because they pin the hash or the count:
vav_pipeline L1Reader @l1_expected_hash · shoresh-engine Luchot.Firmware
(hash, uniqueRootCount) + Spec · azazel_processor goral._L1_INTEGRITY_HASH
· KOHEN.md / KOHEN_PROMPT.md gate · l1/README.md (new "Roots" section) ·
README.md (second quarry) · AGENTS.md · root_meanings.pl comment.
The Doorpost manifest is not touched; its hash does not move.

Note for the kohen: the goral's seed inherits the L1 hash, so lots cast
after this commit are cast from a different seed than the azazel
records already in L3. Those records are history and stand as written.

All five suites on the new L1: Elixir 461/0 (seeds 0 42 191243) ·
Haskell 55/0 · Prolog 6 suites exit 0 (swipl 9.2.2) · korban 222 passed
1 skipped · azazel 125 passed. Four images built; full local stack
(real engine binary, PostgreSQL 16 with SSL, migrations) answers
Bereishit 1:4 with ר-א-ה, health healthy, 6 interpretations in L3,
0 write failures.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Scott KarpandClaude Fable 5.1 committed 2026-10-04 17:44:02 +00:00
1 parent 6d3411fcfa
commit 8e4f94c66f
5846 files changed
+45816 -39402

No files matched your search

+5 -4
View File
@@ -36,7 +36,7 @@
"teamim": [
"gershayim"
],
"shoresh": "קרי"
"shoresh": "קרב"
},
{
"position": 4,
@@ -71,7 +71,7 @@
"zaqef_qatan"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
},
{
"position": 7,
@@ -103,7 +103,8 @@
"morph": "HNcmsc/Sp3ms",
"teamim": [
"etnachta"
]
],
"shoresh": "קרב"
},
{
"position": 10,
@@ -170,7 +171,7 @@
"teamim": [
"meteg_siluq"
],
"shoresh": "לבנ"
"shoresh": "לבן"
}
],
"smikhut": [
+6 -5
View File
@@ -16,7 +16,7 @@
"pashta"
],
"prefix": "וה",
"shoresh": "ותר"
"shoresh": "יתר"
},
{
"position": 2,
@@ -48,7 +48,7 @@
"tipcha"
],
"prefix": "ל",
"shoresh": "אהר"
"shoresh": "אהרן"
},
{
"position": 5,
@@ -59,7 +59,8 @@
"teamim": [
"etnachta"
],
"prefix": "ול"
"prefix": "ול",
"shoresh": "בן"
},
{
"position": 6,
@@ -94,7 +95,7 @@
"mercha"
],
"prefix": "מ",
"shoresh": "אשי"
"shoresh": "אנש"
},
{
"position": 9,
@@ -105,7 +106,7 @@
"teamim": [
"meteg_siluq"
],
"shoresh": "יהו"
"shoresh": "הוה"
}
],
"smikhut": [
+8 -8
View File
@@ -12,7 +12,7 @@
"lemma": "3605",
"morph": "HNcmsc",
"teamim": [],
"shoresh": "כל"
"shoresh": "כלל"
},
{
"position": 2,
@@ -46,7 +46,7 @@
"qadma",
"pashta"
],
"shoresh": "קרי"
"shoresh": "קרב"
},
{
"position": 5,
@@ -58,7 +58,7 @@
"zaqef_qatan"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
},
{
"position": 6,
@@ -109,7 +109,7 @@
"lemma": "3605",
"morph": "HNcmsc",
"teamim": [],
"shoresh": "כל"
"shoresh": "כלל"
},
{
"position": 11,
@@ -130,7 +130,7 @@
"morph": "HC/Ncmsc",
"teamim": [],
"prefix": "ו",
"shoresh": "כל"
"shoresh": "כלל"
},
{
"position": 13,
@@ -162,7 +162,7 @@
"teamim": [
"darga"
],
"shoresh": "קטי"
"shoresh": "קטר"
},
{
"position": 16,
@@ -183,7 +183,7 @@
"teamim": [
"tipcha"
],
"shoresh": "אשה"
"shoresh": "אנש"
},
{
"position": 18,
@@ -196,7 +196,7 @@
"meteg_siluq"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
}
],
"smikhut": [
+6 -6
View File
@@ -36,7 +36,7 @@
"teamim": [
"mercha"
],
"shoresh": "קרי"
"shoresh": "קרב"
},
{
"position": 4,
@@ -58,7 +58,7 @@
"etnachta"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
},
{
"position": 6,
@@ -79,7 +79,7 @@
"mercha"
],
"prefix": "ה",
"shoresh": "מזב"
"shoresh": "זבח"
},
{
"position": 8,
@@ -98,7 +98,7 @@
"teamim": [
"tipcha"
],
"shoresh": "עלו"
"shoresh": "עלה"
},
{
"position": 10,
@@ -110,7 +110,7 @@
"mercha"
],
"prefix": "ל",
"shoresh": "ריח"
"shoresh": "רוח"
},
{
"position": 11,
@@ -121,7 +121,7 @@
"teamim": [
"meteg_siluq"
],
"shoresh": "ניח"
"shoresh": "נוח"
}
],
"smikhut": [
+13 -9
View File
@@ -13,7 +13,7 @@
"morph": "HC/Ncmsc",
"teamim": [],
"prefix": "ו",
"shoresh": "כל"
"shoresh": "כלל"
},
{
"position": 2,
@@ -34,7 +34,8 @@
"morph": "HNcfsc/Sp2ms",
"teamim": [
"zinor"
]
],
"shoresh": "מנח"
},
{
"position": 4,
@@ -79,7 +80,7 @@
"teamim": [
"revia"
],
"shoresh": "שבי"
"shoresh": "שבת"
},
{
"position": 8,
@@ -101,7 +102,7 @@
"teamim": [
"munach"
],
"shoresh": "ברי"
"shoresh": "ברה"
},
{
"position": 10,
@@ -111,7 +112,8 @@
"morph": "HNcmpc/Sp2ms",
"teamim": [
"zaqef_qatan"
]
],
"shoresh": "אלה"
},
{
"position": 11,
@@ -132,7 +134,8 @@
"morph": "HNcfsc/Sp2ms",
"teamim": [
"etnachta"
]
],
"shoresh": "מנח"
},
{
"position": 13,
@@ -151,7 +154,7 @@
"lemma": "3605",
"morph": "HNcmsc",
"teamim": [],
"shoresh": "כל"
"shoresh": "כלל"
},
{
"position": 15,
@@ -161,7 +164,8 @@
"morph": "HNcmsc/Sp2ms",
"teamim": [
"tipcha"
]
],
"shoresh": "קרב"
},
{
"position": 16,
@@ -172,7 +176,7 @@
"teamim": [
"mercha"
],
"shoresh": "קרי"
"shoresh": "קרב"
},
{
"position": 17,
+11 -10
View File
@@ -23,7 +23,7 @@
"teamim": [
"tevir"
],
"shoresh": "קרי"
"shoresh": "קרב"
},
{
"position": 3,
@@ -45,7 +45,7 @@
"teamim": [
"tipcha"
],
"shoresh": "בכו"
"shoresh": "בכר"
},
{
"position": 5,
@@ -57,7 +57,7 @@
"etnachta"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
},
{
"position": 6,
@@ -68,7 +68,7 @@
"teamim": [
"gershayim"
],
"shoresh": "אבי"
"shoresh": "אבב"
},
{
"position": 7,
@@ -79,7 +79,7 @@
"teamim": [
"mahapakh"
],
"shoresh": "קלו"
"shoresh": "קלה"
},
{
"position": 8,
@@ -91,7 +91,7 @@
"pashta"
],
"prefix": "ב",
"shoresh": "אש"
"shoresh": "אנש"
},
{
"position": 9,
@@ -102,7 +102,7 @@
"teamim": [
"munach"
],
"shoresh": "גרש"
"shoresh": "גרס"
},
{
"position": 10,
@@ -113,7 +113,7 @@
"teamim": [
"zaqef_qatan"
],
"shoresh": "כרמ"
"shoresh": "כרמל"
},
{
"position": 11,
@@ -124,7 +124,7 @@
"teamim": [
"zaqef_gadol"
],
"shoresh": "קרי"
"shoresh": "קרב"
},
{
"position": 12,
@@ -155,7 +155,8 @@
"morph": "HNcbpc/Sp2ms",
"teamim": [
"meteg_siluq"
]
],
"shoresh": "בכר"
}
],
"smikhut": [
+3 -3
View File
@@ -15,7 +15,7 @@
"mahapakh"
],
"prefix": "ו",
"shoresh": "נתת"
"shoresh": "נתן"
},
{
"position": 2,
@@ -49,7 +49,7 @@
"mercha"
],
"prefix": "ו",
"shoresh": "שמת"
"shoresh": "שום"
},
{
"position": 5,
@@ -70,7 +70,7 @@
"teamim": [
"etnachta"
],
"shoresh": "לבנ"
"shoresh": "לבן"
},
{
"position": 7,
+12 -8
View File
@@ -15,7 +15,7 @@
"qadma"
],
"prefix": "ו",
"shoresh": "קטי"
"shoresh": "קטר"
},
{
"position": 2,
@@ -45,7 +45,8 @@
"morph": "HNcfsc/Sp3fs",
"teamim": [
"revia"
]
],
"shoresh": "זכר"
},
{
"position": 5,
@@ -56,7 +57,8 @@
"teamim": [
"pashta"
],
"prefix": "מ"
"prefix": "מ",
"shoresh": "גרס"
},
{
"position": 6,
@@ -67,7 +69,8 @@
"teamim": [
"zaqef_qatan"
],
"prefix": "ומ"
"prefix": "ומ",
"shoresh": "שמן"
},
{
"position": 7,
@@ -86,7 +89,7 @@
"lemma": "3605",
"morph": "HNcmsc",
"teamim": [],
"shoresh": "כל"
"shoresh": "כלל"
},
{
"position": 9,
@@ -96,7 +99,8 @@
"morph": "HNcfsc/Sp3fs",
"teamim": [
"etnachta"
]
],
"shoresh": "לבן"
},
{
"position": 10,
@@ -107,7 +111,7 @@
"teamim": [
"tipcha"
],
"shoresh": "אשה"
"shoresh": "אנש"
},
{
"position": 11,
@@ -119,7 +123,7 @@
"meteg_siluq"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
}
],
"smikhut": [
+23 -16
View File
@@ -15,7 +15,8 @@
"meteg_siluq",
"revia"
],
"prefix": "ו"
"prefix": "ו",
"shoresh": "בוא"
},
{
"position": 2,
@@ -34,7 +35,7 @@
"teamim": [
"munach"
],
"shoresh": "בני"
"shoresh": "בן"
},
{
"position": 4,
@@ -45,7 +46,7 @@
"teamim": [
"zinor"
],
"shoresh": "אהר"
"shoresh": "אהרן"
},
{
"position": 5,
@@ -57,7 +58,7 @@
"segol_accent"
],
"prefix": "ה",
"shoresh": "כהנ"
"shoresh": "כהן"
},
{
"position": 6,
@@ -102,7 +103,8 @@
"morph": "HNcmsc/Sp3ms",
"teamim": [
"revia"
]
],
"shoresh": "קמץ"
},
{
"position": 10,
@@ -113,7 +115,8 @@
"teamim": [
"pashta"
],
"prefix": "מ"
"prefix": "מ",
"shoresh": "סלת"
},
{
"position": 11,
@@ -124,7 +127,8 @@
"teamim": [
"zaqef_qatan"
],
"prefix": "ומ"
"prefix": "ומ",
"shoresh": "שמן"
},
{
"position": 12,
@@ -143,7 +147,7 @@
"lemma": "3605",
"morph": "HNcmsc",
"teamim": [],
"shoresh": "כל"
"shoresh": "כלל"
},
{
"position": 14,
@@ -153,7 +157,8 @@
"morph": "HNcfsc/Sp3fs",
"teamim": [
"etnachta"
]
],
"shoresh": "לבן"
},
{
"position": 15,
@@ -165,7 +170,7 @@
"qadma"
],
"prefix": "ו",
"shoresh": "קטי"
"shoresh": "קטר"
},
{
"position": 16,
@@ -195,7 +200,8 @@
"morph": "HNcfsc/Sp3fs",
"teamim": [
"pashta"
]
],
"shoresh": "זכר"
},
{
"position": 19,
@@ -206,7 +212,8 @@
"teamim": [
"zaqef_qatan"
],
"prefix": "ה"
"prefix": "ה",
"shoresh": "זבח"
},
{
"position": 20,
@@ -217,7 +224,7 @@
"teamim": [
"tevir"
],
"shoresh": "אשה"
"shoresh": "אנש"
},
{
"position": 21,
@@ -228,7 +235,7 @@
"teamim": [
"mercha"
],
"shoresh": "ריח"
"shoresh": "רוח"
},
{
"position": 22,
@@ -239,7 +246,7 @@
"teamim": [
"tipcha"
],
"shoresh": "ניח"
"shoresh": "נוח"
},
{
"position": 23,
@@ -251,7 +258,7 @@
"meteg_siluq"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
}
],
"smikhut": [
+6 -5
View File
@@ -16,7 +16,7 @@
"pashta"
],
"prefix": "וה",
"shoresh": "ותר"
"shoresh": "יתר"
},
{
"position": 2,
@@ -48,7 +48,7 @@
"tipcha"
],
"prefix": "ל",
"shoresh": "אהר"
"shoresh": "אהרן"
},
{
"position": 5,
@@ -59,7 +59,8 @@
"teamim": [
"etnachta"
],
"prefix": "ול"
"prefix": "ול",
"shoresh": "בן"
},
{
"position": 6,
@@ -94,7 +95,7 @@
"mercha"
],
"prefix": "מ",
"shoresh": "אשי"
"shoresh": "אנש"
},
{
"position": 9,
@@ -105,7 +106,7 @@
"teamim": [
"meteg_siluq"
],
"shoresh": "יהו"
"shoresh": "הוה"
}
],
"smikhut": [
+8 -10
View File
@@ -58,7 +58,7 @@
"teamim": [
"munach"
],
"shoresh": "מאפ"
"shoresh": "אפה"
},
{
"position": 6,
@@ -69,7 +69,7 @@
"teamim": [
"etnachta"
],
"shoresh": "תנו"
"shoresh": "תנור"
},
{
"position": 7,
@@ -91,7 +91,7 @@
"teamim": [
"mahapakh"
],
"shoresh": "חל"
"shoresh": "חלל"
},
{
"position": 9,
@@ -101,8 +101,7 @@
"morph": "HNcfpa",
"teamim": [
"pashta"
],
"shoresh": "מצת"
]
},
{
"position": 10,
@@ -113,7 +112,7 @@
"teamim": [
"munach"
],
"shoresh": "בלו"
"shoresh": "בלל"
},
{
"position": 11,
@@ -137,7 +136,7 @@
"mercha"
],
"prefix": "ו",
"shoresh": "רקי"
"shoresh": "רקק"
},
{
"position": 13,
@@ -147,8 +146,7 @@
"morph": "HNcfpa",
"teamim": [
"tipcha"
],
"shoresh": "מצ"
]
},
{
"position": 14,
@@ -159,7 +157,7 @@
"teamim": [
"mercha"
],
"shoresh": "שח"
"shoresh": "משח"
},
{
"position": 15,
+5 -5
View File
@@ -44,7 +44,7 @@
"tipcha"
],
"prefix": "ה",
"shoresh": "מחב"
"shoresh": "חבת"
},
{
"position": 5,
@@ -54,7 +54,8 @@
"morph": "HNcmsc/Sp2ms",
"teamim": [
"etnachta"
]
],
"shoresh": "קרב"
},
{
"position": 6,
@@ -76,7 +77,7 @@
"teamim": [
"mercha"
],
"shoresh": "בלו"
"shoresh": "בלל"
},
{
"position": 8,
@@ -98,8 +99,7 @@
"morph": "HNcfsa",
"teamim": [
"mercha"
],
"shoresh": "מצה"
]
},
{
"position": 10,
+2 -2
View File
@@ -14,7 +14,7 @@
"teamim": [
"mahapakh"
],
"shoresh": "פת"
"shoresh": "פתת"
},
{
"position": 2,
@@ -35,7 +35,7 @@
"teamim": [
"zaqef_qatan"
],
"shoresh": "פת"
"shoresh": "פתת"
},
{
"position": 4,
+3 -2
View File
@@ -34,7 +34,7 @@
"teamim": [
"tipcha"
],
"shoresh": "מרח"
"shoresh": "רחש"
},
{
"position": 4,
@@ -44,7 +44,8 @@
"morph": "HNcmsc/Sp2ms",
"teamim": [
"etnachta"
]
],
"shoresh": "קרב"
},
{
"position": 5,
+7 -5
View File
@@ -15,7 +15,7 @@
"munach"
],
"prefix": "ו",
"shoresh": "באת"
"shoresh": "בוא"
},
{
"position": 2,
@@ -79,7 +79,7 @@
"etnachta"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
},
{
"position": 8,
@@ -90,7 +90,8 @@
"teamim": [
"pashta"
],
"prefix": "ו"
"prefix": "ו",
"shoresh": "קרב"
},
{
"position": 9,
@@ -121,7 +122,8 @@
"teamim": [
"tipcha"
],
"prefix": "ו"
"prefix": "ו",
"shoresh": "נגש"
},
{
"position": 12,
@@ -141,7 +143,7 @@
"meteg_siluq"
],
"prefix": "ה",
"shoresh": "מזב"
"shoresh": "זבח"
}
]
}
+10 -8
View File
@@ -15,7 +15,7 @@
"qadma"
],
"prefix": "ו",
"shoresh": "רים"
"shoresh": "רום"
},
{
"position": 2,
@@ -66,7 +66,8 @@
"teamim": [
"munach",
"zaqef_qatan"
]
],
"shoresh": "זכר"
},
{
"position": 7,
@@ -78,7 +79,7 @@
"tipcha"
],
"prefix": "ו",
"shoresh": "קטי"
"shoresh": "קטר"
},
{
"position": 8,
@@ -89,7 +90,8 @@
"teamim": [
"etnachta"
],
"prefix": "ה"
"prefix": "ה",
"shoresh": "זבח"
},
{
"position": 9,
@@ -100,7 +102,7 @@
"teamim": [
"tevir"
],
"shoresh": "אשה"
"shoresh": "אנש"
},
{
"position": 10,
@@ -111,7 +113,7 @@
"teamim": [
"mercha"
],
"shoresh": "ריח"
"shoresh": "רוח"
},
{
"position": 11,
@@ -122,7 +124,7 @@
"teamim": [
"tipcha"
],
"shoresh": "ניח"
"shoresh": "נוח"
},
{
"position": 12,
@@ -134,7 +136,7 @@
"meteg_siluq"
],
"prefix": "ל",
"shoresh": "יהו"
"shoresh": "הוה"
}
],
"smikhut": [