You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: refresh human + machine docs to the current merged state (#49)
## What & why
A consistency/accuracy pass so every human-facing doc and
machine-readable manifest reflects the **current merged state** (the
wave-1/wave-2 production-readiness work now on `main`). No rewrites —
surgical, truthful edits that preserve each file's structure and voice.
All figures were read back from the code, not assumed.
### Ground truth (verified against the repo)
| Claim | Value | Source of truth |
|-------|-------|-----------------|
| Stats domain modules | **41** | `src/stats/*.jl` |
| Total source modules | **67** | `src/**/*.jl` |
| Executor-dispatched tools | **55** | `tool_name == "…"` arms in
`src/tools/executor.jl` |
| LLM-facing tool schemas | **29** | `_tool("…")` defs in
`src/tools/definitions.jl` |
| Static `@test` assertions | **693** | across the 8 runtests.jl-wired
files (chi_square_validation is standalone, not wired) |
| CI workflows | **19** | `.github/workflows/` |
### Human docs (refresh commit `4e9d7f2`)
- **README.adoc** — adds the guarantee-is-enforced-in-code story
(`src/tools/guardrail.jl:validate_numeric_provenance()`,
retry-once-then-warn, `test/guardrail_test.jl`); links to the existing
"Experimental surfaces" section from #48 without duplicating it.
- **EXPLAINME.adoc** — MOLLOCK invariant now described as code-enforced;
module count `~40 → 41`; tool evidence corrected to `55 dispatched / 29
LLM-facing`; test count `632 → 693` with the real suite list.
- **ROADMAP.adoc** — `~40 → 41` modules, `632 → 693` tests, advanced
ground-truth validation marked done
(`test/reference_validation_advanced_test.jl`, #46).
- **TOPOLOGY.md** — completion dashboard corrected (`17 → 41` modules,
`25+ → 29` tools, `632 → 693` tests, `14 → 19` workflows); last-updated
bumped.
### Machine manifests (refresh commit `4e9d7f2`)
- **.machine_readable/6a2/STATE.a2ml** — `source-modules 65→67`,
`stats-domain-modules 40→41`, new `llm-tools=29` /
`executor-dispatched-tools=55`, `test-count 632→693` (with scoped note),
`ci-workflows 14→19`.
- **META.a2ml / NEUROSYM.a2ml / PLAYBOOK.a2ml / AGENTIC.a2ml /
ECOSYSTEM.a2ml** — dates; `languages` now `["julia","zig","agda"]` with
an experimental-surface caveat; NEUROSYM records the post-generation
numeric-provenance audit as an enforcement layer; PLAYBOOK points at
`docs/RELEASING.adoc`.
- **0-AI-MANIFEST.a2ml** — `17 → 41` modules, `25+ → 29` tool defs.
- **.well-known/humans.txt** — Agda proofs added to the experimental
components line; date bump.
### Status table
- **.claude/tasks/prod-readiness/README.md** — W1-1..8 and W2-1..5/8
marked MERGED with their PR numbers (guardrail #37, degenerate #40,
router #41, install #34, supply-chain #35, zig #38, agda #42, hygiene
#33, release #43, guix #39, containers #44, reframe #48, refval #46,
polish #45, plus chi-square #47); **W2-6** and **W2-7** remain OPEN.
Every number cross-checked against merged PRs #33–#48.
### Finalize commit (`98f7d8b`) — residual stale counts this pass caught
- **TEST-NEEDS.md** — `65 → 67` source modules, `30+ → 41` stats
modules, `478 (single runtests.jl) → 693 @test across runtests.jl + 7
wired suites`; the "single test file" and "ffi/zig references deleted
Foreign.idr" FLAGGED ISSUES marked RESOLVED (suite is split; Foreign.idr
refs gone, Zig compiles under `zig build test` per #38/#48).
- **.github/workflows/e2e.yml** — header comment `478 → 693 @test
assertions`.
## Verification (run, results)
- `git grep` for outdated counts (`632`, `478`, `17 modul`, `30+ stats`,
`65 source/modul`, `25+ tool`, `14 workflow`) → **CLEAN** outside
historical `.claude/tasks/*` work-order briefs and binary assets.
- `git grep -in "formally verified\|formally proven\|production-ready"`
→ only the two legitimate contexts remain:
`.machine_readable/integrations/proven.a2ml` (an external
formally-verified *library*) and `src/bridge/echidna_adapter.jl` (which
explicitly calls the identities proof *targets*, "not statements that
are currently formally verified"). No overclaim about the Statistikles
statistics; #48's experimental framing preserved.
- Machine claims do not exceed human claims (STATE.a2ml mirrors
README/EXPLAINME).
- Pure-TOML a2ml files
(`STATE/META/NEUROSYM/PLAYBOOK/AGENTIC/ECOSYSTEM/CLADE`) parse via
`tomllib`; no a2ml file modified in the finalize commit. The "Validate
A2ML manifests" job (`dogfood-gate.yml`, `strict:false`) will run on
this PR.
- Both commits SSH-signed; verified `G` (good signature).
## Intentionally left unchanged
- **chi_square_validation_test.jl** is a standalone file not wired into
`runtests.jl`; the 693 figure is scoped to the wired suite and does not
claim it. Wiring it in is a code change, out of scope for a docs pass —
noted for a follow-up.
- **.machine_readable/bot_directives/**, **CLADE.a2ml**,
**.well-known/security.txt**, quickstarts, `docs/QUICKSTART.md`,
`docs/CITATIONS.adoc` — inspected; no stale module/tool/test/version
claims to correct (templates / identity / contact files; `security.txt`
`Expires` is still in the future).
- No Julia run (docs/manifests only; no code paths touched).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .machine_readable/6a2/NEUROSYM.a2ml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
[metadata]
10
10
version = "0.1.0"
11
-
last-updated = "2026-02-20"
11
+
last-updated = "2026-07-11"
12
12
13
13
[architecture]
14
14
kautz-type = 1
@@ -25,6 +25,7 @@ enforcement = [
25
25
"Tool dispatch architecture — LLM can only call predefined Julia functions",
26
26
"System prompt instructs LLM to NEVER compute or estimate",
27
27
"All tool results carry provenance stamps from Julia functions",
28
+
"Post-generation numeric-provenance audit — src/tools/guardrail.jl:validate_numeric_provenance() traces every numeric literal in the LLM prose to a recorded tool result; orphans are flagged (retry-once-then-warn), never silently rewritten (tested in test/guardrail_test.jl)",
0 commit comments