Commit a9d3927
authored
ci(agda): install absolute-zero + fix ModeGrade typo so the suite typechecks (#31)
## Summary
Fixes two latent CI breakages so Agda goes green again.
### 1. Install absolute-zero library (`agda.yml`)
`echo-types.agda-lib` declares `depend: standard-library absolute-zero`,
but the workflow only registered `standard-library`. Agda CI has been
red on `main` since `3f654ef` (2026-04-30) added the dep without a
workflow update. Adds a fetch step that shallow-clones
`hyperpolymath/absolute-zero`, then registers it alongside
`standard-library` in `~/.agda/libraries`.
### 2. Fix `ModeGrade` -> `ModeGraded` import typo
(`characteristic/RecipeNonTriviality.agda`)
`RecipeNonTriviality.agda` imports `characteristic.ModeGrade` (no `d`)
which doesn't exist; the actual file is `characteristic.ModeGraded`.
Renames cleanly: `MGEcho` -> `ModeGEcho`, `applyGrade` -> `applyGradeM`.
The body uses (`modegrade-cell-action` and friends) reduce
definitionally as before because `applyMode/applyGrade` at `(linear,
keep)` are identity in the existing `ModeGraded.agda`.
This bug was latent since the characteristic lane was added in #27
(2026-04-29), masked by the absolute-zero env break that (1) fixes.
## Local verification
```
agda -i proofs/agda proofs/agda/All.agda # exit 0
agda -i proofs/agda proofs/agda/Smoke.agda # exit 0
agda -i proofs/agda proofs/agda/characteristic/All.agda # exit 0
agda -i proofs/agda proofs/agda/examples/All.agda # exit 0
```
All under `--safe --without-K`. No postulates introduced.
## Effect on other PRs
After merge, #28, #29, #30 should re-run with the env in place. They may
need rebases onto the new `main`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent c72f45a commit a9d3927
2 files changed
Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
| |||
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
43 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
44 | 57 | | |
45 | 58 | | |
46 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | | - | |
146 | | - | |
| 144 | + | |
| 145 | + | |
147 | 146 | | |
148 | 147 | | |
149 | | - | |
| 148 | + | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments