the name: Bikoret — code, contracts, images
Headers X-Bikoret-Key / -Rebuke / -Verdict / -Bedikah; the `bikoret` object and the "— bikoret …" fringe on a gate reply; environment variables BIKORET_*; the image user and paths (/home/bikoret, /tmp/bikoret, /var/lib/bikoret/manna, /etc/bikoret/secrets, /opt/bikoret/spec); the tmp-bikoret pod volume; local databases bikoret_dev/_test. Kubernetes resource names, the shorashim_app role and the domain are unchanged (Tamid §1.1, "the names that still carry the old word"). Doorpost c963c4fe…. Elixir 604/0, L3 10/0, korban 295, Prolog bedikah 44/44. Gitea repo renamed heaviness510/bikoret (old URL redirects). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
017a9b89d4
commit
c0d0555aed
46 files changed
+189
-189
No files matched your search
+10
-10
@@ -3,7 +3,7 @@
|
||||
L1 Torah Filesystem Builder — Bezalel's Chisel
|
||||
|
||||
Parses the Westminster Leningrad Codex (morphhb OSIS XML) and produces
|
||||
the read-only Torah filesystem for Shorashim.
|
||||
the read-only Torah filesystem for Bikoret.
|
||||
|
||||
This is a construction tool. It runs once. It produces JSON files.
|
||||
The consumers (Haskell L0, Erlang Shoresh Engine) will read these files.
|
||||
@@ -12,7 +12,7 @@ Two quarries, both outside the repo (see __main__):
|
||||
morphhb — the text: WLC with te'amim, lemma and morphology.
|
||||
HebrewLexicon — the roots: the OSHB lexical index, which arranges
|
||||
every Strong's lemma under its Brown-Driver-Briggs
|
||||
root (specs/shorashim_terumah.md §E2).
|
||||
root (specs/bikoret_terumah.md §E2).
|
||||
|
||||
Ka'asher tzivah Hashem et Moshe.
|
||||
"""
|
||||
@@ -913,25 +913,25 @@ def generate_integrity_hash(torah_dir: str) -> str:
|
||||
if __name__ == "__main__":
|
||||
# The quarry (morphhb source) lives outside the repo.
|
||||
# Default: ~/shorashim-source-data/morphhb
|
||||
# Override: SHORASHIM_SOURCE_DATA env var, or first CLI arg.
|
||||
# Override: BIKORET_SOURCE_DATA env var, or first CLI arg.
|
||||
repo_root = Path(__file__).resolve().parent.parent
|
||||
|
||||
default_source = Path.home() / "shorashim-source-data" / "morphhb"
|
||||
if len(sys.argv) > 1:
|
||||
morphhb_dir = Path(sys.argv[1]).expanduser().resolve()
|
||||
elif os.environ.get("SHORASHIM_SOURCE_DATA"):
|
||||
morphhb_dir = Path(os.environ["SHORASHIM_SOURCE_DATA"]).expanduser().resolve()
|
||||
elif os.environ.get("BIKORET_SOURCE_DATA"):
|
||||
morphhb_dir = Path(os.environ["BIKORET_SOURCE_DATA"]).expanduser().resolve()
|
||||
else:
|
||||
morphhb_dir = default_source
|
||||
|
||||
output_dir = repo_root / "l1"
|
||||
|
||||
# The root lexicon sits beside the text quarry.
|
||||
# Override: SHORASHIM_LEXICON env var, or second CLI arg.
|
||||
# Override: BIKORET_LEXICON env var, or second CLI arg.
|
||||
if len(sys.argv) > 2:
|
||||
lexicon_dir = Path(sys.argv[2]).expanduser().resolve()
|
||||
elif os.environ.get("SHORASHIM_LEXICON"):
|
||||
lexicon_dir = Path(os.environ["SHORASHIM_LEXICON"]).expanduser().resolve()
|
||||
elif os.environ.get("BIKORET_LEXICON"):
|
||||
lexicon_dir = Path(os.environ["BIKORET_LEXICON"]).expanduser().resolve()
|
||||
else:
|
||||
lexicon_dir = morphhb_dir.parent / "HebrewLexicon"
|
||||
|
||||
@@ -942,7 +942,7 @@ if __name__ == "__main__":
|
||||
print("To fetch it:")
|
||||
print(f" git clone https://github.com/openscriptures/HebrewLexicon.git {lexicon_dir}")
|
||||
print()
|
||||
print("Or pass a path as the second argument, or set SHORASHIM_LEXICON.")
|
||||
print("Or pass a path as the second argument, or set BIKORET_LEXICON.")
|
||||
sys.exit(1)
|
||||
|
||||
if not morphhb_dir.exists():
|
||||
@@ -953,7 +953,7 @@ if __name__ == "__main__":
|
||||
print(f" mkdir -p {default_source.parent}")
|
||||
print(f" git clone https://github.com/openscriptures/morphhb.git {default_source}")
|
||||
print()
|
||||
print("Or pass a path as the first argument, or set SHORASHIM_SOURCE_DATA.")
|
||||
print("Or pass a path as the first argument, or set BIKORET_SOURCE_DATA.")
|
||||
sys.exit(1)
|
||||
|
||||
# Clean only the generated artifacts — preserve hand-written files like README.md.
|
||||
|
||||
Reference in new issue
Block a user