docs(infra): document build-log automation in AGENTS.md

Adds a Build-log automation section noting the post-commit hook runs lake_build_ingest.py Compiler in the background, inserting into ENE on neon-64gb. Includes log path and reinstall note.
This commit is contained in:
allaun 2026-06-22 02:37:00 -05:00
parent f3d11359c6
commit 762c88057a

View file

@ -432,6 +432,20 @@ These tables extend `ene_substrate_schema.sql` to support the Braid Eigensolid C
Verification is driven by `4-Infrastructure/shim/verify_ene_schema.py`, which validates the schema layout and emits `shared-data/data/stack_solidification/ene_schema_validation_receipt.json`.
## Build-log automation
Every commit to Research Stack now triggers a background ingestion of the
blessed Compiler surface:
- Hook: `.git/hooks/post-commit` (local, not tracked)
- Command: `python3 "4-Infrastructure/shim/lake_build_ingest.py" Compiler --actor opencode`
- Runs in background so `git commit` is not blocked
- Log: `~/.cache/lake-build-ingest.log`
- Destination: `ene.sessions`, `ene.packages`, `ene.receipts`, `ene.ingest_events` on neon-64gb (`arxiv-pg` container)
To reinstall the hook on a fresh clone, append the background invocation from
`.git/hooks/post-commit` to the Git LFS post-commit hook.
## Cross-References
See root `AGENTS.md` for: