Skip to content

Commit 96f92aa

Browse files
hyperpolymathclaude
andcommitted
ci: extend agda typecheck to characteristic + examples lanes
Adds proofs/agda/characteristic/All.agda as a CI-seam aggregator for the 12 gate-2 characteristic-lane modules (ChoreoInjective, IntegrationAudit, InteractionTest, ModeGraded, RecipeNonTriviality, RecipeSpec, RecipeTheorem, RoleGraded, RoleMode, RoleModeGrade, RoleRole, VisibleConstraintAudit). Mirrors the existing proofs/agda/examples/All.agda for the gate-3 lane. Extends .github/workflows/agda.yml with two additional typecheck steps that run characteristic/All.agda and examples/All.agda. The top-level proofs/agda/All.agda does not import either lane; without these aggregators the 12 characteristic modules + the 3 examples modules are CI orphans (sit in the repo but never typechecked). This unblocks future set-N work on machines without local Agda: typecheck verification happens in CI on every push to every branch and on every PR. New characteristic modules register by adding one import line to characteristic/All.agda. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5de9899 commit 96f92aa

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/agda.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,9 @@ jobs:
4848

4949
- name: Smoke-check headline theorems
5050
run: agda -i proofs/agda proofs/agda/Smoke.agda
51+
52+
- name: Typecheck characteristic lane (Gate #2 audit modules)
53+
run: agda -i proofs/agda proofs/agda/characteristic/All.agda
54+
55+
- name: Typecheck examples lane (Gate #3 canonical examples)
56+
run: agda -i proofs/agda proofs/agda/examples/All.agda
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{-# OPTIONS --safe --without-K #-}
2+
3+
------------------------------------------------------------------------
4+
-- Aggregator for the Gate #2 characteristic-lane modules. Compile with:
5+
--
6+
-- agda -i proofs/agda proofs/agda/characteristic/All.agda
7+
--
8+
-- Forces every characteristic-lane module through the typechecker so CI
9+
-- can catch breakage. Mirrors `proofs/agda/examples/All.agda` for the
10+
-- gate-3 lane. The top-level `proofs/agda/All.agda` does not import
11+
-- these modules; this file is the CI seam for the lane.
12+
--
13+
-- New characteristic modules should register here.
14+
------------------------------------------------------------------------
15+
16+
module characteristic.All where
17+
18+
import characteristic.ChoreoInjective
19+
import characteristic.IntegrationAudit
20+
import characteristic.InteractionTest
21+
import characteristic.ModeGraded
22+
import characteristic.RecipeNonTriviality
23+
import characteristic.RecipeSpec
24+
import characteristic.RecipeTheorem
25+
import characteristic.RoleGraded
26+
import characteristic.RoleMode
27+
import characteristic.RoleModeGrade
28+
import characteristic.RoleRole
29+
import characteristic.VisibleConstraintAudit

0 commit comments

Comments
 (0)