|
11 | 11 | (project-context |
12 | 12 | (name "idrisiser") |
13 | 13 | (description "Meta-prover: generates proven-correct wrappers from interface definitions using Idris2 dependent types") |
14 | | - (status "scaffold — codebase in progress") |
| 14 | + (status "alpha") |
15 | 15 | (priority "foundational — most critical -iser after iseriser") |
16 | | - (ecosystem "-iser family (https://github.com/hyperpolymath/iseriser)") |
17 | | - (role "Every -iser needing formal verification routes through idrisiser")) |
| 16 | + (ecosystem "-iser family (https://github.com/hyperpolymath/iseriser)")) |
18 | 17 |
|
19 | 18 | (current-position |
20 | | - (phase "scaffold-complete") |
21 | | - (completion-percentage 10) |
22 | | - (milestone "Scaffold complete: CLI, manifest parser, ABI/FFI stubs, bespoke documentation")) |
| 19 | + (phase "phase-1-complete") |
| 20 | + (completion-percentage 45) |
| 21 | + (milestone "Phase 1 complete — interface parsers, proof obligation engine, Idris2/Zig codegen") |
| 22 | + (what-changed |
| 23 | + "2026-03-21: Phase 1 complete. Interface parsers (OpenAPI, C headers, Protobuf), proof obligation engine, Idris2 codegen templates, Zig bridge generator, bespoke manifest parsing. Integration tests passing.")) |
23 | 24 |
|
24 | 25 | (route-to-mvp |
25 | | - (step 1 "Interface parser: OpenAPI 3.x spec → intermediate representation") |
26 | | - (step 2 "Interface parser: C headers (.h) → intermediate representation") |
27 | | - (step 3 "Interface parser: Protocol Buffers (.proto) → intermediate representation") |
28 | | - (step 4 "Proof obligation engine: derive proof obligations from parsed contracts") |
29 | | - (step 5 "Idris2 code generation: Types.idr with dependent types encoding contracts") |
30 | | - (step 6 "Idris2 code generation: Layout.idr with memory layout proofs") |
31 | | - (step 7 "Idris2 code generation: Foreign.idr with FFI declarations") |
32 | | - (step 8 "Proof compilation: invoke Idris2 totality checker on generated code") |
33 | | - (step 9 "Zig FFI code generation: emit main.zig implementing Foreign.idr") |
34 | | - (step 10 "End-to-end: OpenAPI spec → proven native wrapper")) |
| 26 | + (step 1 "DONE — Interface parsers (OpenAPI 3.x, C headers, Protocol Buffers)") |
| 27 | + (step 2 "DONE — Proof obligation engine from parsed contracts") |
| 28 | + (step 3 "DONE — Idris2 codegen templates (Types.idr, Layout.idr, Foreign.idr)") |
| 29 | + (step 4 "DONE — Zig bridge generator for FFI implementations") |
| 30 | + (step 5 "DONE — Bespoke manifest parsing and CLI") |
| 31 | + (step 6 "TODO — Invoke Idris2 totality checker on generated code") |
| 32 | + (step 7 "TODO — End-to-end: OpenAPI spec to proven native wrapper") |
| 33 | + (step 8 "TODO — PanLL panel and BoJ cartridge integration")) |
35 | 34 |
|
36 | 35 | (blockers-and-issues |
37 | | - (none "Project is in scaffold phase — no blockers yet")) |
| 36 | + (note "Idris2 compiler needed for totality checking — codegen verified by structure") |
| 37 | + (note "Zig bridge generator produces stubs — needs Idris2 Foreign.idr to generate from")) |
38 | 38 |
|
39 | 39 | (critical-next-actions |
40 | | - (action "Implement OpenAPI 3.x parser as the first bridge adapter") |
41 | | - (action "Define intermediate representation for parsed interface contracts") |
42 | | - (action "Build proof obligation derivation from contract IR"))) |
| 40 | + (action "Hook up Idris2 totality checker to validate generated proofs") |
| 41 | + (action "End-to-end test: OpenAPI spec to proven native wrapper") |
| 42 | + (action "Add shell completions and additional examples"))) |
0 commit comments