Place l1/ in the aron — the edut belongs in the tabernacle
Shemot 25:16 — v'natata el ha-aron et ha-edut asher eten elekha. "Place into the aron the testimony (edut) which I shall give you." L1 is the engraved form — 5,853 verses with te'amim, ketiv/qere, roots, and gematria. It is not a build artifact to be regenerated on demand; it IS the specification the system references. Someone cloning the repo should receive the edut, not a recipe to produce it. Shemot 34:1 — p'sol lekha shnei luchot avanim ... v'khatavti. "Carve for yourself two tablets of stone ... and I will write." The carver provides the stone (raw morphhb source). The Source writes the content (the engraved Torah text). What belongs in the aron is the engraved form. The quarry does not enter the mishkan. Changes: - Remove l1/ from .gitignore (it IS the edut, not a build artifact) - Move data/morphhb/ out to ~/shorashim-source-data/morphhb/ (the quarry lives outside the tabernacle) - scripts/build_l1.py: fix path computation after earlier relocation to scripts/, read source path from $SHORASHIM_SOURCE_DATA or CLI arg, with default ~/shorashim-source-data/morphhb - Add .claude/ to .gitignore (local Claude Code settings) - Remove empty src/tools/ leftover Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
66686329ed
commit
88a55cbbdf
5864 files changed
+919446
-8
No files matched your search
+20
-4
@@ -629,14 +629,30 @@ def generate_integrity_hash(torah_dir: str) -> str:
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Paths relative to the shorashim repository
|
||||
repo_root = Path(__file__).resolve().parent.parent.parent
|
||||
morphhb_dir = repo_root / "data" / "morphhb"
|
||||
# The quarry (morphhb source) lives outside the repo.
|
||||
# Default: ~/shorashim-source-data/morphhb
|
||||
# Override: SHORASHIM_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()
|
||||
else:
|
||||
morphhb_dir = default_source
|
||||
|
||||
output_dir = repo_root / "l1"
|
||||
|
||||
if not morphhb_dir.exists():
|
||||
print(f"ERROR: morphhb not found at {morphhb_dir}")
|
||||
print("Run: git clone https://github.com/openscriptures/morphhb.git data/morphhb")
|
||||
print()
|
||||
print("The morphhb source (the quarry) lives outside this repo.")
|
||||
print("To fetch it:")
|
||||
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.")
|
||||
sys.exit(1)
|
||||
|
||||
# Clean output directory
|
||||
|
||||
Reference in new issue
Block a user