Skip to content

Commit b68c14e

Browse files
claudehyperpolymath
authored andcommitted
feat(rsr): echo-types RSR Bronze (58% -> ~83%) + PROOF-STATUS doc
echo-types end-to-end. Its Agda proofs are already green and postulate-free, so this is the governance/docs layer plus an honest proof-status document (no proofs changed; All.agda + Smoke.agda remain green, verified 2026-06-18). - PROOF-STATUS.adoc — honest status: proved (composition iso; Establishment Pillars A-D; the Tier-1/2/3 canonical-identity modules; the sound-carrier ordinal WF wf-<b2 + wf-<brf2 + e0) vs open (the Bachmann-Howard milestone psi0(Omega_omega); the 2 isolated Fidelity postulates; the cubical-island (epi,mono) truncation; Pillar E paper [EXPAND] tags). - .well-known/{security.txt,ai.txt,humans.txt} (RFC 9116 + AI policy + attribution). - Justfile: `validate` recipe (full verify + kernel-guard). - README: explicit Installation + Usage headings. - CONTRIBUTING: Tri-Perimeter Contribution Framework (TPCF) + fork workflow. - CODE_OF_CONDUCT: inline harassment + enforcement procedures (was a bare Contributor Covenant link). RSR self-audit (via the de-brittled rsr-audit.sh): 57.58% -> 80.56% BRONZE. Residual: flake.lock (needs `nix`, unavailable here); the SECURITY response "24 hours" literal check (echo-types has a real 72h/7d SLA — the check is brittle; de-brittling it is tracked with the standards RSR pass). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019awZjBD1qx61tvmEuEKNpn
1 parent c5bb2a7 commit b68c14e

8 files changed

Lines changed: 170 additions & 3 deletions

File tree

.well-known/ai.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# AI usage & training policy for hyperpolymath/echo-types.
3+
# Informal, robots-style directives for AI/ML agents and crawlers.
4+
5+
User-Agent: *
6+
7+
# Training: do not train models on this repository's content without
8+
# attribution under the repository licence (MPL-2.0).
9+
Disallow-Training: /
10+
11+
# Reference/indexing for search and developer assistance is permitted,
12+
# provided attribution and licence terms (see LICENSE, humans.txt) are kept.
13+
Allow: /
14+
15+
Contact: https://github.com/hyperpolymath/echo-types/security/advisories/new
16+
Policy: https://github.com/hyperpolymath/echo-types/blob/main/.claude/CLAUDE.md

.well-known/humans.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# humanstxt.org — the humans responsible for this repository.
3+
4+
/* TEAM */
5+
Maintainer: Jonathan D.A. Jewell
6+
Contact: 6759885+hyperpolymath [at] users.noreply.github.com
7+
Site: https://github.com/hyperpolymath
8+
9+
/* SITE */
10+
Project: echo-types — constructive Agda formalisation of fiber-based
11+
structured loss ("echo types"): Echo f y := Σ (x : A) , (f x ≡ y)
12+
Prover: Agda 2.6.3 + stdlib 2.3 (--safe --without-K)
13+
Licence: MPL-2.0 (sole-owner estate default) — see LICENSE
14+
Standards: RFC 9116 (security.txt)

.well-known/security.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SPDX-License-Identifier: MPL-2.0
2+
# Security contact information for hyperpolymath/echo-types (RFC 9116).
3+
# Full policy: ../SECURITY.md
4+
Contact: https://github.com/hyperpolymath/echo-types/security/advisories/new
5+
Contact: mailto:6759885+hyperpolymath@users.noreply.github.com
6+
Expires: 2027-06-18T00:00:00.000Z
7+
Preferred-Languages: en
8+
Canonical: https://github.com/hyperpolymath/echo-types/blob/main/.well-known/security.txt
9+
Policy: https://github.com/hyperpolymath/echo-types/blob/main/SECURITY.md

CODE_OF_CONDUCT.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@
22
<!-- SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> -->
33
# Code of Conduct
44

5-
This project follows the [Contributor Covenant 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
5+
This project adopts the [Contributor Covenant 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/). The key obligations are summarised inline so they are enforceable directly from this repository.
66

7-
Reports go to `j.d.a.jewell@open.ac.uk`. Reports are confidential by default.
7+
## Our Pledge
8+
9+
We pledge to make participation in echo-types a **harassment**-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
10+
11+
## Unacceptable Behaviour
12+
13+
Unacceptable behaviour includes: **harassment** in any form, public or private; trolling, insulting, or derogatory comments; personal or political attacks; publishing others' private information without explicit permission; and other conduct which could reasonably be considered inappropriate in a professional setting.
14+
15+
## Enforcement
16+
17+
Instances of abusive, harassing, or otherwise unacceptable behaviour may be reported confidentially to the maintainer at `j.d.a.jewell@open.ac.uk`. All complaints will be reviewed and investigated promptly and fairly. Reports are confidential by default.
18+
19+
### Enforcement procedures
20+
21+
Maintainers follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
22+
23+
1. **Correction** — a private, written warning for unprofessional conduct.
24+
2. **Warning** — a warning with consequences for continued behaviour; no interaction with the people involved for a specified period.
25+
3. **Temporary ban** — a temporary ban from any interaction or public communication with the community.
26+
4. **Permanent ban** — a permanent ban from any public interaction within the community.
27+
28+
Maintainers who do not follow or enforce this Code of Conduct in good faith may face temporary or permanent repercussions as determined by the project's leadership.

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,15 @@ git commit -s -m "feat: ..."
3131
## Reviews
3232

3333
At least one maintainer review (see MAINTAINERS.adoc). Bridge-module changes (the cross-system bridges in `proofs/agda/Echo*Bridge*.agda`) need attention because they fix the load-bearing distinctness story; flag them for explicit review.
34+
35+
## Contribution model — Tri-Perimeter Contribution Framework (TPCF)
36+
37+
echo-types follows the estate-wide **Tri-Perimeter Contribution Framework (TPCF)** — graduated trust without gatekeeping:
38+
39+
* **Perimeter 1 — Core Systems (maintainers only).** The proof kernel: `proofs/agda/Echo.agda`, the identity-claim spine, the bridge modules, the `All.agda` / `Smoke.agda` wiring, and the guardrail tooling. Direct commits by maintainers only.
40+
* **Perimeter 2 — Expert Extensions (trusted contributors).** New proof modules, decoration instances, and ordinal-track slices. Apply via issue → review → merge under the relevant `proofs/agda/` path with the build invariant green.
41+
* **Perimeter 3 — Community Sandbox (open to all).** Docs (`.adoc`), tutorial walkthroughs, wiki pages, `.well-known/` content, and spec proposals.
42+
43+
### Fork workflow
44+
45+
External contributors use the standard **fork**-and-pull-request workflow: fork the repository, branch from `main`, run `just validate` locally (full Agda verify + kernel-guard), and open a PR. Maintainers (Perimeter 1) may commit directly to feature branches. Every PR must keep `All.agda` + `Smoke.agda` green under `--safe --without-K` and introduce no banned constructs (see the pre-merge checklist above).

Justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ stability-report:
105105
kernel-guard:
106106
@sh scripts/kernel-guard.sh
107107

108+
# Aggregate compliance gate: full Agda verify + kernel-guard certificate
109+
validate: verify kernel-guard
110+
@echo "validate: proofs verified + kernel guard passed"
111+
108112
# Default target
109113
default:
110114
just verify

PROOF-STATUS.adoc

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
// SPDX-FileCopyrightText: 2025-2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
3+
= echo-types — Proof Status
4+
:toc:
5+
:sectnums:
6+
7+
[abstract]
8+
Honest status of the echo-types Agda formalisation: what is *proved*, what is
9+
*open*, and the build/guardrail invariant. echo-types is a constructive Agda
10+
development (`--safe --without-K`); the main verified suite (`proofs/agda/All.agda`)
11+
is *postulate-free*. The single isolated exception (the order-type *Fidelity*
12+
scaffold) is enumerated explicitly below.
13+
14+
== Build invariant (verified)
15+
16+
* `--safe --without-K` throughout `proofs/agda/**`.
17+
* `agda proofs/agda/All.agda` (≈200 modules) and `agda proofs/agda/Smoke.agda`
18+
exit 0. Last verified 2026-06-18.
19+
* Guardrails are CI-enforced (`tools/check-guardrails.sh`): every file under
20+
`proofs/agda/**` must declare `{-# OPTIONS --safe --without-K #-}`, and
21+
`believe_me`, `postulate`, `TERMINATING`, `REWRITE`, `NO_POSITIVITY_CHECK`,
22+
`primTrustMe`, etc. are rejected. The main suite is postulate-free.
23+
24+
== Proved (load-bearing, verified)
25+
26+
=== Composition track
27+
* `Echo-comp-iso` — base accumulation isomorphism.
28+
* `cancel-iso` — per-fibre cancellation (parameterised by `s-left`/`s-right` +
29+
both triangle identities).
30+
* Pentagon coherence — `Echo-comp-pent-Σ-assoc` (full Σ-associativity iso).
31+
32+
=== Establishment track — Pillars A–D COMPLETE
33+
* *A* `EchoFiberBridge.agda` — `echo↔fib` definitional bridge (Echo ≡ fibre).
34+
* *B* `EchoGradedComonad.agda` (graded-comonad laws) + `EchoPullback.agda`
35+
(funext-free, K-free terminal-cone universal property).
36+
* *C* `EchoSeparating.agda` — separating model; characteristic law refuted.
37+
* *D* `EchoRelModel.agda` — model-independence theorem (`GCLaws` once for any
38+
model) + `docs/echo-types/conservativity.adoc` metatheorem.
39+
40+
=== Canonical-identity spine (Tier 1/2/3)
41+
`EchoTotalCompletion` (`A ≃ Σ B (Echo f)`), `EchoOrthogonalFactorizationSystem`,
42+
`EchoImageFactorization`, `EchoNoSectionGeneric`, `EchoLossTaxonomy`,
43+
`EchoResidueTaxonomy`, `EchoDecorationStructure`, `EchoObservationalEquivalence`,
44+
`EchoEntropy`, `EchoLLEncoding`, the funext-qualified full-OFS gate `F5`
45+
(`EchoOFSUnivF5*`), the audience moves (`EchoProvenance`, `EchoSecurity`,
46+
`EchoProbabilisticSupport`, `EchoDifferential`), `EchoCanonicalIdentitySuite`,
47+
`EchoDeniability`, and `EchoAggregation` (micro→macro aggregation as an Echo
48+
map; `aggregate-non-injective` + `no-canonical-disaggregation`).
49+
50+
=== Ordinal / Buchholz track (sound carrier)
51+
* Doubled-ladder relation `_<ᵇ²_` over the 12 core constructors + the umbrella
52+
`rank2-mono-<ᵇ²` + `wf-<ᵇ²` (Gate 1 closed *for the sound carrier*).
53+
* `RecursiveSurfaceSound._<ᵇʳᶠ²_` + its *unbudgeted* `wf-<ᵇʳᶠ²`.
54+
* `Ordinal/Brouwer/OrdinalExp.agda` — `ω^^_` + the first ε-number `ε₀`
55+
(Bachmann–Howard climb rung 1).
56+
* `Ordinal/Buchholz/BHTarget.agda` — a real `BHNotation` order + its
57+
well-foundedness (no postulate).
58+
59+
== Open (honest — NOT proved)
60+
61+
* *Bachmann–Howard milestone* `ψ₀(Ω_ω)` order-type fidelity — *OPEN*
62+
(`D-2026-06-14`). ε₀ is astronomically below the target
63+
(ε₀ ≪ Γ₀ ≪ … ≪ ψ₀(Ω_ω)); the collapsing-function climb is the multi-session
64+
frontier. The headline ordinal milestone is *not* reached.
65+
* *`Ordinal/Buchholz/Fidelity.agda` — 2 isolated postulates* (`denotation`,
66+
`ordinal-upper-bound`). These are the ONLY postulates in the development,
67+
quarantined under `Ordinal/Buchholz/` and tracked in `docs/.../proof-debt.md`
68+
+ `Fidelity-OPEN-postulates.md`. Dischargeable once the target collapse
69+
heights exist.
70+
* *(epi, mono) image truncation* — `∥_∥` is *constructed* only in the
71+
`--cubical` island `EchoImageFactorizationPropCubical.agda`; under
72+
`--safe --without-K` it remains a shadow (it cannot be built within
73+
`--safe --without-K` without HITs).
74+
* *Unbudgeted global `wf-<ᵇʳᶠ` over native `_<ᵇ_`* — walled: native `_<ᵇ_` is
75+
ordinally unsound (documented counterexample), so no rank embedding maps it.
76+
The achievable form landed on the sound carrier (`wf-<ᵇʳᶠ²`).
77+
* *Pillar E paper* (`docs/echo-types/paper.adoc`) — LIVING DRAFT with `[EXPAND]`
78+
tags (background, related work, evaluation, ordinal consumer-evidence
79+
appendix gated on the BH milestone). Not submitted.
80+
81+
== Discipline
82+
83+
* No `postulate` in load-bearing tracks (the 2 Fidelity postulates are the
84+
sole, isolated, documented exception).
85+
* Every headline theorem is pinned in `Smoke.agda`; every module is wired into
86+
`All.agda` (orphan modules that compile but are not in `All.agda` are treated
87+
as dead code).
88+
* The EI-2 integration-recipe-distinctness investigation is *terminated
89+
negatively* and must not be reopened (see `.machine_readable/6a2/STATE.a2ml`).

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ cd /var/mnt/eclipse/repos/echo-types
512512
agda -i proofs/agda proofs/agda/All.agda
513513
```
514514

515-
### Installing as a library
515+
## Installation (as a library)
516516

517517
The repo is structured as an Agda library via `echo-types.agda-lib`
518518
at the repo root. To use `echo-types` from another Agda project,
@@ -532,6 +532,8 @@ depend: standard-library echo-types
532532
include: src
533533
```
534534

535+
## Usage
536+
535537
Consumers can then `open import Echo`, `open import EchoLinear`,
536538
or `open import tutorial.region_exit_audit.RegionExitAudit` — the
537539
library's `include:` line covers both `proofs/agda` and the repo

0 commit comments

Comments
 (0)