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:
dev committed 2026-10-06 18:51:54 +03:00
1 parent 618b4b95c1
commit c96199e7ec
81 files changed
+1419 -234

No files matched your search

+4
View File
@@ -20,6 +20,10 @@ TESTS = os.path.join(ROOT, "tests", "conformance", "source")
# (area, construct, regex, needs a reject test)
CHECKLIST = [
("modules", "package module import", r"^import app\.", True),
("modules", "qualified package call", r"app\.\w+\.[a-z]\w*\(", True),
("modules", "qualified struct literal", r"app\.\w+\.[A-Z]\w* \{", True),
("modules", "qualified task worker", r"task\.spawn\(\w+, app\.", True),
("stdlib", "qualified standard enum type", r": std\.(?:bytes|fmt|math|utf8|encoding\.(?:hex|base64))\.[A-Z]\w*\b", True),
("stdlib", "qualified standard enum constructor", r"std\.(?:bytes|fmt|math|utf8|encoding\.(?:hex|base64))\.[A-Z]\w*::\w+(?:\(|;)", True),
("stdlib", "qualified standard enum match", r"std\.(?:bytes|fmt|math|utf8|encoding\.(?:hex|base64))\.[A-Z]\w*::\w+(?:\([^)]*\))? =>", True),