Phase 2: manifest grants (P2-9) and exit review (P2-12)
- src/manifest.zig: strict aji.toml subset ([package], [capabilities], [metadata]); errors with line numbers - aji run --manifest: entry relative to the manifest, manifest grants replaced per parameter by --grant; usage error on manifest problems - examples/packages/hello as a runnable package, checked in CI - implemented_phase = 2; Phase 2 exit review; README and AGENTS updated
This commit is contained in:
1 parent
0948eb7347
commit
778d563182
10 files changed
+332
-15
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# Hello world as a package. Run with:
|
||||
# aji run --manifest examples/packages/hello/aji.toml
|
||||
# The manifest requests io.write for @main's parameter `out`; running it
|
||||
# with --manifest is the operator's decision to grant it (spec 12 §1).
|
||||
|
||||
[package]
|
||||
name = "hello"
|
||||
version = "0.1.0"
|
||||
entry = "main.air"
|
||||
|
||||
[capabilities]
|
||||
out = "io.write"
|
||||
Reference in new issue
Block a user