spec: accept RFC 0010 and integrate manifest capability grants

spec 12 §1 manifest format with strict TOML subset, [package] entry,
[capabilities] by parameter name, [metadata]; aji run --manifest with
operator precedence of --grant; spec 05 §10.2 and capabilities.md
updated.
This commit is contained in:
dev committed 2026-10-04 15:22:30 +03:00
1 parent 27fa98f39d
commit 0948eb7347
4 files changed
+39 -12

No files matched your search

+1 -1
View File
@@ -40,4 +40,4 @@ Variant sets of published built-in enums are frozen (spec 07 §8.7).
## Instantiation
`aji run --grant <parameter>=<kind>[:<scope>]` binds one `@main` capability parameter. Every parameter needs exactly one grant of its kind and every grant must name a parameter (spec 05 §10.2). Scopes: path prefixes are absolute and contain no `.` or `..` components; byte budgets are decimal integers.
`aji run --grant <parameter>=<kind>[:<scope>]` binds one `@main` capability parameter. With `aji run --manifest aji.toml`, the manifest's `[capabilities]` entries (`parameter = "kind[:scope]"`) are the grants, each replaced by a `--grant` for the same parameter (spec 12 §1). Every parameter needs exactly one grant of its kind and every grant must name a parameter (spec 05 §10.2). Scopes: path prefixes are absolute and contain no `.` or `..` components; byte budgets are decimal integers.