From cb96c6bed245fe112da7f0d7c02bf14d762f8fb4 Mon Sep 17 00:00:00 2001 From: Brandon Schneider Date: Mon, 11 May 2026 22:48:54 -0500 Subject: [PATCH] Update repository agent operating contracts --- 0-Core-Formalism/lean/Semantics/AGENTS.md | 28 ++++++++++++++-- 4-Infrastructure/AGENTS.md | 11 ++++++ 5-Applications/text-to-cad/AGENTS.md | 23 +++++++++++-- 6-Documentation/docs/AGENTS.md | 35 ++++++++++++++++++- AGENTS.md | 41 ++++++++++++++++++++++- 5 files changed, 131 insertions(+), 7 deletions(-) diff --git a/0-Core-Formalism/lean/Semantics/AGENTS.md b/0-Core-Formalism/lean/Semantics/AGENTS.md index 0d579c78..9958afeb 100644 --- a/0-Core-Formalism/lean/Semantics/AGENTS.md +++ b/0-Core-Formalism/lean/Semantics/AGENTS.md @@ -33,6 +33,30 @@ lake build - `Semantics.BeaverMaskFreshness` is a finite admission gate for Beaver-mask freshness negative controls. +- `Semantics.HCMMR.Kernels.EntropyCollapseDetector` is the finite arithmetic + receipt for the corrected entropy-collapse detector. It intentionally keeps + logarithmic/Hurst quantities as scaled receipt constants and proves the + dense-rank crossing count, D2 numerator, and Kendall tail values with + executable Lean checks. - Stack status receipts live under `shared-data/data/stack_solidification/`. -- The current staged slice is documented in - `../../../6-Documentation/docs/stack_solidification_staging_manifest_2026-05-09.md`. +- The canonical arithmetic note is + `../../../6-Documentation/docs/distilled/ArithmeticSpec_Corrected_2026-05-11.md`. + Treat `sigma_q` on `n=8` as a deterministic window feature, not as a robust + Hurst estimator. +- The K=21 prime-gap rerun receipt is + `../../../shared-data/data/stack_solidification/prime_gap_k21_rerun_receipt_2026-05-11.md`. + Its conclusion is deliberately bounded: rare surviving windows are candidate + motifs, not a general prime-gap collapse theorem. +- Historical staged slices are documented in + `../../../6-Documentation/docs/stack_solidification_staging_manifest_2026-05-09.md` + and + `../../../6-Documentation/docs/stack_solidification_staging_manifest_2026-05-10.md`. + +## Local Quarantine Boundaries + +- The root `.gitignore` excludes known local formal scratch/WIP such as + `2-Search-Space/FAMM/FAMM_FSDU.lean` and `4-Infrastructure/hardware/test.lean`. + Do not revive ignored Lean files into the clean build surface without first + making them compile under a narrow target. +- Generated `*_tb.v` and `*_test_vectors.json` files are build artifacts unless + a task explicitly promotes one as a hardware receipt. diff --git a/4-Infrastructure/AGENTS.md b/4-Infrastructure/AGENTS.md index 6e8f0a84..a1c77831 100644 --- a/4-Infrastructure/AGENTS.md +++ b/4-Infrastructure/AGENTS.md @@ -13,6 +13,13 @@ Scope: `4-Infrastructure/` - Treat `/usr/bin/sem` as GNU Parallel on this machine unless proven otherwise; use the isolated `sem` binary documented in stack solidification receipts when needed. +- Remote model/API probes must be secret-clean. Read provider credentials from + environment variables only (`OLLAMA_API_KEY`, `DEEPSEEK_API_KEY`, etc.); never + embed literal keys in scripts, receipts, prompts, or docs. +- LLM/model outputs are reviewer receipts, not validation. If a model review is + promoted, store the answer and a machine-readable receipt with prompt/answer + hashes under `shared-data/artifacts/`, and state which files formed the + context. ## Preferred Checks @@ -21,6 +28,10 @@ python3 -m py_compile 4-Infrastructure/shim/