Skip to content

Commit 0d5f7fc

Browse files
docs(kernel): classify EchoFidelity as a standalone draft outside the kernel cone (#346)
## Summary `main`'s `Agda` workflow is red because kernel-guard check B finds `EchoFidelity` unclassified (`unclassified Echo* module(s): EchoFidelity`). The module reached `main` inside the #342 dependabot commit. This PR classifies it; it changes no Agda. `EchoFidelity.agda` imports no in-repo module, not even `Echo`: its `Fibre` is a hand-written Σ-type. So it fits neither Tier 1 ("only `Echo` + stdlib") nor Tier 2 ("depends on Tier-1 `Echo*`"). Putting it in either would assert a dependency that is not there. ## Changes - `docs/echo-types/echo-kernel-note.adoc`: a new "Standalone draft (stdlib only; outside the kernel cone)" row naming `EchoFidelity`. - `docs/echo-types/MAP.adoc`: a `[DRAFT]` bullet under "Repository layers and companions", with the same scope statement. The module stays unwired from `All.agda` / `Smoke.agda`, as its header and `docs/echos/BOT-PROMPT.adoc` require until the maintainer asks. ## Verification - `sh scripts/kernel-guard.sh`: PASS (check B was the failing one). - `bash tools/check-guardrails.sh proofs/agda`: OK (210 modules). - Separately checked: `agda -i proofs/agda proofs/agda/EchoFidelity.agda` exits 0 under Agda 2.6.3 / stdlib 2.3. ## Follow-up Next PR rebuilds `Fibre` on `Echo`, which would make it a real Tier 1 module and replace this row. --- _Generated by [Claude Code](https://claude.ai/code/session_01MF5GeeBBDF6sUzr6pZTjWV)_ --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent e367957 commit 0d5f7fc

3 files changed

Lines changed: 20 additions & 5 deletions

File tree

‎docs/echo-types/MAP.adoc‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ directory move is implied.
116116
shadows of selected Agda constructions. It is useful for examples,
117117
counterexample search, and executable intuition; it is not a proof
118118
repository and does not replace the Agda obligations.
119+
* *Autoformalisation fidelity (draft).* `docs/echos/` and
120+
`proofs/agda/EchoFidelity.agda` sketch a fibre-accounting model of a
121+
source-to-target translation step (what the checker sees versus what
122+
an auditor sees). `[DRAFT]` — standalone, stdlib-only, unwired from
123+
`All.agda` / `Smoke.agda`; no claim that fidelity is established.
119124
* *Separate language embodiment / consumer.* `Ephapax`
120125
(https://github.com/hyperpolymath/ephapax) is a distinct language
121126
project in which Echo Types are intended to become an embodied

‎docs/echo-types/echo-kernel-note.adoc‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,18 @@ kernel** — the boundary is real and lives outside this core.
225225
`proofs/agda/Echo/` (dotted submodules), so they are outside the
226226
flat `Echo*.agda` glob that Check B lints; recorded here for
227227
discoverability. Not kernel (the kernel remains exactly `Echo`).
228+
229+
| *Standalone draft* +
230+
(stdlib only; outside the kernel cone)
231+
| `EchoFidelity`
232+
| Imports no in-repo module, not even `Echo`: its `Fibre` is a
233+
hand-written Σ-type, so it is neither Tier 1 nor Tier 2. A small model
234+
of an autoformalisation step as a fibre record (see
235+
`docs/echos/`). `--safe --without-K`, no postulates, type-checks under
236+
Agda 2.6.3 / stdlib 2.3, and is deliberately *not* wired into
237+
`All.agda` / `Smoke.agda` until the maintainer asks. Listed here so the
238+
classification-drift lint (kernel-guard check B) stays honest; it
239+
carries no claim about the kernel.
228240
|===
229241

230242
`EchoOrdinal` is Tier-1 off `Echo` but additionally pulls the

‎proofs/agda/EchoFidelity.agda‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{-# OPTIONS --safe --without-K #-}
22
-- SPDX-License-Identifier: MPL-2.0
33
--
4-
-- STATUS: DRAFT, NOT YET TYPE-CHECKED. Agda was not available in the
5-
-- authoring environment. Before relying on this module, run
6-
-- agda proofs/agda/EchoFidelity.agda
7-
-- and fix any errors. It is deliberately NOT imported from All.agda or
8-
-- Smoke.agda until it has been checked.
4+
-- STATUS: DRAFT. Type-checks under Agda 2.6.3 / agda-stdlib 2.3 (`--safe
5+
-- --without-K`, no postulates; checked 2026-10-19). Deliberately NOT imported
6+
-- from All.agda or Smoke.agda: it stays unwired until the maintainer asks.
97
--
108
-- Purpose: a small model of an autoformalisation step as a fibre record.
119
-- Every source atom (hypothesis, constant, bound, conclusion) receives a

0 commit comments

Comments
 (0)