plan: Phase 6A task table (P6A-1 done)
This commit is contained in:
1 parent
8582346214
commit
bfb4c445cd
1 file changed
+16
-1
@@ -19,7 +19,22 @@ Targets and the evaluation order are in `README.md`. Phase 6A is specified by RF
|
||||
|
||||
**Rule:** a source feature is acceptable only if its lowering to AIR is deterministic, explicit and mechanically verifiable (spec 01 §8). The frontend is outside the TCB; the verifier still checks its output.
|
||||
|
||||
## Tasks
|
||||
## Phase 6A tasks (RFC 0013, spec 15)
|
||||
|
||||
| ID | Status | Task | Depends | Output | Done when |
|
||||
|---|---|---|---|---|---|
|
||||
| P6A-1 | done | Spec 15, grammar, `E7xxx`, `E3101` `suggested_effects`, `E0006` `canonical_header`, Quick Reference | — | spec 15, `reference/grammar.ebnf`, `docs/agent/quick-reference.md` | RFC 0013 accepted |
|
||||
| P6A-2 | todo | Lexer and parser with spans | P6A-1 | `src/frontend/{lex,parse}.zig` | every spec 15 example parses; syntax errors are `E7001` |
|
||||
| P6A-3 | todo | Names and source types: variables, functions, types, built-in operations, outcome arms | P6A-2 | `src/frontend/check.zig` | `E7002`–`E7007` accept/reject tests |
|
||||
| P6A-4 | todo | Lowering: control flow, variables → SSA/block parameters, frame storage, lexical borrow ends, outcome matches, block forms (`scope`, `shield`, `lock`), `select`, byte literals, feature closure | P6A-3 | `src/frontend/lower.zig` | lowered AIR verifies; lowering is a pure function |
|
||||
| P6A-5 | todo | Source spans on lowered AIR; verifier diagnostics and trap records carry `source_location` and `air_location` | P6A-4 | `src/frontend/spans.zig`, `src/diag.zig` | every diagnostic of a `.aji` file points at source |
|
||||
| P6A-6 | todo | CLI: `aji check/run/lower file.aji` | P6A-4 | `src/main.zig` | same flags and run record as for `.air` |
|
||||
| P6A-7 | todo | `.aji` twins for the Phase 0–3 conformance tests (same outcome or code) and the reference programs | P6A-5 | `tests/conformance/*/source/` | twins pass; the reference programs in `.aji` pass `--stress` |
|
||||
| P6A-8 | todo | Source bundle and harness profile `aji_source` (Quick Reference first, full material indexed) | P6A-6 | `docs/agent/`, `tools/eval/languages/aji_source.json` | bundle measured |
|
||||
| P6A-9 | todo | Dev regression on tasks M and C: `Aji/AIR` vs `Aji/source` (size, output tokens, tool calls, bundle use, diagnostics) | P6A-8 | results note | targets checked (≤ 1.5× Rust size, ≤ 2× output tokens, no SSA/CFG or `E0006` diagnostics) |
|
||||
| P6A-10 | todo | Phase 6A exit review | all | plan status | targets reported |
|
||||
|
||||
## Tasks (full Phase 6)
|
||||
|
||||
| ID | Status | Task | Depends | Output | Done when |
|
||||
|---|---|---|---|---|---|
|
||||
|
||||
Reference in new issue
Block a user