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(policy): fill in trusted-base policy — Lean + Idris2 OWED + #211 cross-link (#222)
## Summary
Fills three gaps in the trusted-base reduction policy (standards#203,
merged) so per-repo proof-debt triage prompts can classify cleanly:
- **Idris2 `||| OWED:` + `0`-multiplicity form** added as the canonical
axiom annotation (disposition (c)). Distinguishes proof-only
declarations from the run-time `believe_me` form already documented
under (b).
- **Lean annotation block** added (was missing). Shows `axiom` for
necessary-axiom (c) and named `sorry` for debt (d).
- **Marker disambiguation**: `TRUSTED:` (run-time soundness break /
(b)), `AXIOM:` (named top-level axiom / (c)), `OWED:` (erased /
cross-language debt / (c) or (d)).
- **Enforcement section** rewired to cross-link standards#211 (merged)
with the concrete script path, marker set, and 5-line annotation window
— replacing the "future PR" placeholder.
- **Status table** updated: #203 merged, #211 merged, #213 seeded
`standards`' own `proof-debt.md`. `:status:` PROPOSED → ADOPTED.
- Companion documents expanded to link #211 and #213.
## Why
The per-repo proof-debt triage prompts queued behind this (followup
chain #8/#9/#10) need a concrete classification grammar and annotation
syntax for every prover the estate uses. Without the Lean example, the
OWED erased form, and the cross-link to the actual enforcement script,
the prompts fall back to ad-hoc judgment per repo and the trusted base
won't shrink coherently.
## Scope
Single doc file; no code, no CI changes. The Companion PRs (#211
enforcement, #213 schema-example seed) have already merged — this is
purely the in-policy fill-in those merges enabled.
## Test plan
- [ ] Asciidoctor render is well-formed (no broken cross-refs, source
blocks close).
- [ ] `scripts/check-trusted-base.sh` on a sample repo recognises
`OWED:`, `TRUSTED:`, and `AXIOM:` markers as documented (already
verified per #211 PR body).
- [ ] CI green on PR.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@@ -193,10 +255,10 @@ first (rough P0/P1/P2 ordering):
193
255
194
256
| P0 | `ephapax` | 1 `Admitted` in `formal/Semantics.v` (`preservation`); was 3 at audit time, 2 discharged via https://github.com/hyperpolymath/ephapax/pull/146[ephapax#146]. Discharge plan in `ROADMAP.adoc` § "Preservation closure plan" + `formal/PRESERVATION-DESIGN.md` (four-layer redesign on branch `proof/l1-region-threading-design`). Migration filed: https://github.com/hyperpolymath/ephapax/pull/164[ephapax#164].
195
257
| P0 | `boj-server` | Reference implementation — formalise the existing harness as the canonical example.
196
-
| P1 | `absolute-zero` | 72 Coq + 315 Lean markers across 6638 proof files; needs the schema before any single-repo close-out is tractable.
258
+
| P1 | `absolute-zero` | Phase-1 triage MERGED via https://github.com/hyperpolymath/absolute-zero/pull/58[absolute-zero#58] + https://github.com/hyperpolymath/absolute-zero/pull/59[#59]: **72 Coq Axioms classified** (52 §(c) + 17 §(a)-backlog + 3 §(b)). Remaining outside Phase 1: **52 Lean `axiom` decls + 7 Idris2 `postulate`s + 124 Lean `sorry`s** (canonical count via `check-trusted-base.sh`; the audit-time "315 Lean across 6638 proof files" figure was debunked — no source reproduces 315). Phase 2 work tracked in absolute-zero.
197
259
| P1 | `maa-framework` | 134 markers in 25 files (high density); investigate whether vendored or original.
198
260
| P1 | `betlang` | Single named axiom (`substTop_preserves_typing`) — clean (b) or (c) classification.
199
-
| P1 | `proven` | 372 `TODO PROOF` markers; convert to §(d) entries with deadlines.
261
+
| P1 | `proven` | Real debt surface (per Phase-1 triage 2026-05-27, `docs/proof-debt-triage.md`): **280 `\|\|\| OWED:` annotations** across 44 `Proofs.idr` modules (Fork A form), **4 `@ Assumed:` postulate tags** in `src/Proven/SafeDigest.idr` (needs migration to Fork A), and **~70 `Safe*.idr` modules** with `Prevents:`/`Guarantees:` overclaim docs and no discharged theorem. ("372 `TODO PROOF`" from the original audit prompt does not match the codebase — the string `TODO PROOF` is absent; 280 OWED is the canonical count.)
200
262
| P2 | `standards` | 4 Agda postulate + 11 Idris partial — set the example for downstream.
201
263
| P2 | `typed-wasm`, `stapeln`, `vcl-ut`, `hypatia`, `snifs`, `somethings-fishy` | Each 5–15 `believe_me`; audit and classify in a single PR each.
202
264
|===
@@ -207,14 +269,18 @@ first (rough P0/P1/P2 ordering):
0 commit comments