Commit 4656dab
Elevate KitchenSpeak toward standalone repo; commence proofs-first work (#63)
## What this does
Prepares **KitchenSpeak**'s elevation from an in-tree directory to its
own canonical repository (matching every sibling language), lists it as
a **DSL** in the monorepo `README.adoc` and `EXPLAINME.adoc`, examines
where **AffineScript** is up to, and **commences the development work**
to bring KitchenSpeak to AffineScript's position — leading,
deliberately, **with proofs**.
## Where AffineScript is (the target)
The standalone `hyperpolymath/affinescript` repo is outside this
session's GitHub scope, so its position is taken from the monorepo's own
authoritative docs (`EXPLAINME.adoc` §Claim 1, `TOOLING-STATUS.adoc`,
`PROOF-NEEDS.md`):
- Full front end + toolchain: OCaml compiler, `affine-lsp`/`affine-dap`
(Rust), linter, formatter (stub), tree-sitter, doc-gen, pkg-mgr,
conformance ✓
- ABI/FFI (`src/abi/`, Idris2 + Zig) **in progress**; targets WasmGC
- Grades `ARG-D`, `FRG-E`, `RSR FULL`
- **Formal proofs are its known gap** — "claims affine types but lacks
proofs"; no `formal/` dir
That gap is exactly why KitchenSpeak (identity: *Agda-Proven*) **leads
with proofs**: it honours the language's invariant *and* overtakes the
target on the axis that matters most for a safety DSL.
## Changes
**New standalone-repo content under `kitchenspeak/`** (moves with the
directory when elevated):
- `README.adoc` (standalone), `LICENSE` (Palimpsest/MPL-2.0),
`.gitignore`, `CHANGELOG.adoc`
- `ROADMAP.adoc` — proofs-first, 8-phase plan to AffineScript parity,
with a per-axis **parity scorecard**
- `decisions/0002-elevation-to-standalone-repo.adoc` — ADR for the
elevation
**Proofs commenced (ROADMAP Phase 1):**
- `proofs/agda/PoachedEgg.agda` — lowers `examples/poached-egg.ks`;
discharges termination, `on_fail` totality (ABORT + RECOVER),
echo-witness extraction for both `sync` blocks, **and the first Tropical
refinement** (the GENTLE controller never crosses the boil envelope).
Linear + Tropical + Echo.
- `proofs/Makefile` + `proofs/agda/kitchenspeak.agda-lib` — proof build
harness (`make -C proofs`)
**Monorepo:**
- `README.adoc`, `EXPLAINME.adoc` — KitchenSpeak listed as an
experimental **DSL** in the project list / language tables / file map
## 1 parent ad78f27 commit 4656dab
15 files changed
Lines changed: 1440 additions & 53 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
89 | 97 | | |
90 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
91 | 104 | | |
92 | 105 | | |
93 | 106 | | |
| |||
273 | 286 | | |
274 | 287 | | |
275 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
276 | 295 | | |
277 | 296 | | |
278 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
24 | 39 | | |
25 | 40 | | |
26 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
97 | 117 | | |
98 | 118 | | |
99 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments