cli: add explicit package source modules
Link manifest-selected source graphs with module-local names, qualified structs/enums/functions and task workers through ordinary AIR verification. Keep source inputs bounded, reject source symlinks and preserve explicit grants, diagnostics and deterministic canonical lowering. Integrate spec 12/15, RFC 0021, source reference budgets, roadmap, examples and CI coverage. Validate 579 conformance tests, unit tests, 76 source constructs, hosted smoke, 36 package CLI checks and task schedule stress.
This commit is contained in:
81 files changed
+1419
-234
No files matched your search
@@ -32,6 +32,7 @@ Every test starts with a block of `;` lines. Keys:
|
||||
| `file` | no, repeatable | `<path>=<text>`: expected contents of a file written by the run |
|
||||
| `fuel` | no | instruction limit for `run` tests (spec 11 §7.1); default 1 000 000. Running out is a `FAIL`, never a pass |
|
||||
| `equivalent` | no, `.aji` `run` tests only | path, relative to `tests/conformance`, of a reference AIR program. Both are run with this test's world and grants; their run records must be byte-identical (for a trap, the trap code must match, since the record carries the AIR location; `schedule.choices` is not compared, since the scheduler's quantum counts AIR instructions and the lowered program may have a different instruction stream). The AIR texts may differ |
|
||||
| `module` | no, repeatable, `.aji` only | `NAME=PATH`: explicit source provider; path is relative to `tests/conformance`. Reachable sources are linked through the ordinary frontend. Use `.aji.inc` for helper files so they are not standalone tests |
|
||||
| `phase` | yes | implementation phase number |
|
||||
| `spec` | yes | spec section that justifies the expectation |
|
||||
|
||||
|
||||
Reference in new issue
Block a user