Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/docs/CAPABILITY_AUTHORITY_RESOURCE.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / docs / CAPABILITY_AUTHORITY_RESOURCE.md` 34 lines ยท 1739 bytes Raw Blame History Rendered 1 # Capability authority: privileged rights belong to the authority office (issue #266) 2 3 Answers the known limit in omega `docs/r16-operator-control.md` ("the halt right is the epoch right"). 4 5 ## Rule 6 7 In `native/capability/aienos_capability.c`, `auth_use` is the single gate for every privileged 8 authority operation: mint (root), revoke, reclaim, clock advance and epoch bump. It now also 9 requires the presented entry's resource to be `AIENOS_CAP_RES_AUTHORITY`. A refusal returns 10 `AIENOS_CAP_ERR_RESOURCE`. 11 12 A capability may still carry a privileged right on another resource, for example the operator 13 CONTROL resource with the epoch right used as the halt right. `aienos_cap_validate` still accepts it 14 for that resource, so operator stop, status and resume keep working. The authority operations 15 simply no longer accept it, so it can never step the epoch, move the clock, revoke, reclaim or mint. 16 17 ## Why the resource and not a new right 18 19 No accepted ADR or spec in this repository defines a distinct halt or stop right, and adding one 20 would change the rights layout the reaction world links against unchanged. The resource check closes 21 the hole at the one gate, with no ABI change. Delegation is untouched: privileged rights still 22 cannot be delegated. 23 24 ## Evidence 25 26 `make test` in `native/capability`: `control_resource_capability_cannot_operate_the_authority` 27 (negative: epoch, clock, revoke, reclaim, mint refused; regression: CONTROL-resource validate and the 28 real office still work). `make mutants`: `privileged_right_ignores_resource` removes the check and 29 the tests must kill it. 30 31 ## Pin note 32 33 The `aienos.lock` pin in other repositories moves only through a new named candidate, so omega keeps 34 its limit note until it adopts one.