|
10 | 10 |
|
11 | 11 | (project-context |
12 | 12 | (name "affinescriptiser") |
13 | | - (description "Wrap existing Rust/C/Zig code in affine + dependent types, compile to WASM via AffineScript") |
14 | | - (status "scaffold") |
| 13 | + (description "Wrap existing code in affine + dependent types targeting WASM via AffineScript") |
| 14 | + (status "phase-1-complete") |
15 | 15 | (priority "—") |
16 | 16 | (ecosystem "-iser family (https://github.com/hyperpolymath/iseriser)")) |
17 | 17 |
|
18 | 18 | (current-position |
19 | | - (phase "scaffold-documented") |
20 | | - (completion-percentage 10) |
21 | | - (milestone "Architecture documented, CLI scaffolded, ABI types defined, RSR template complete") |
22 | | - (what-changed "Replaced all template placeholders with affinescriptiser-specific ABI definitions. Types.idr now defines ResourceKind, Linearity, Ownership. Layout.idr defines WASM linear memory layout and resource table. Foreign.idr declares source registration, affine analysis, and WASM compilation FFI. Zig FFI implements matching C-ABI functions.")) |
| 19 | + (phase "phase-1-complete") |
| 20 | + (completion-percentage 45) |
| 21 | + (milestone "Phase 1: scaffold, bespoke ABI/FFI, CLI, manifest parser, codegen stubs, RSR compliance, documentation — all complete")) |
23 | 22 |
|
24 | 23 | (route-to-mvp |
25 | | - (step 1 "Source analysis: parse Rust/C/Zig to identify resource handles (file descriptors, allocations, locks)") |
26 | | - (step 2 "Affine wrapping: generate AffineScript type annotations enforcing at-most-once usage") |
27 | | - (step 3 "WASM compilation: compile wrapped code to .wasm with size/perf optimisation") |
28 | | - (step 4 "Idris2 proofs: formal proof that affine invariants hold across FFI boundary") |
29 | | - (step 5 "Ecosystem: BoJ cartridge, PanLL panel, IDE integration")) |
| 24 | + (step 1 "DONE — Project scaffold from rsr-template-repo") |
| 25 | + (step 2 "DONE — Bespoke Idris2 ABI type definitions") |
| 26 | + (step 3 "DONE — Bespoke Zig FFI implementation stubs") |
| 27 | + (step 4 "DONE — CLI with subcommands (init, validate, generate, build, run, info)") |
| 28 | + (step 5 "DONE — Manifest parser (affinescriptiser.toml)") |
| 29 | + (step 6 "DONE — Codegen engine stubs") |
| 30 | + (step 7 "DONE — RSR compliance (17 workflows, governance, contractiles)") |
| 31 | + (step 8 "DONE — Bespoke documentation (README, ROADMAP, CONTRIBUTING, CHANGELOG)") |
| 32 | + (step 9 "Implement core domain logic (source analysis, pattern detection)") |
| 33 | + (step 10 "Implement codegen passes (target-language-specific output)") |
| 34 | + (step 11 "Write Idris2 formal proofs for domain invariants") |
| 35 | + (step 12 "End-to-end integration tests with real inputs") |
| 36 | + (step 13 "BoJ cartridge and PanLL panel integration") |
| 37 | + (step 14 "Performance benchmarks and optimisation")) |
30 | 38 |
|
31 | 39 | (blockers-and-issues |
32 | | - (none "Project is in scaffold phase — no blockers yet")) |
| 40 | + (none "Phase 1 complete — no blockers. Phase 2 requires domain logic implementation.")) |
33 | 41 |
|
34 | 42 | (critical-next-actions |
35 | | - (action "Implement Rust/C/Zig source parser to identify resource handles") |
36 | | - (action "Build AffineScript AST builder for ownership graph construction") |
37 | | - (action "Write first end-to-end example: Rust file processor → WASM"))) |
| 43 | + (action "Implement core domain logic in src/core/") |
| 44 | + (action "Write first end-to-end example with real input") |
| 45 | + (action "Begin Idris2 formal proofs for domain-specific invariants"))) |
0 commit comments