mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-10-26 10:45:22 +00:00
refactor(permission-system): simplify policy and autoreview flow
This commit is contained in:
@@ -20,7 +20,7 @@ Permission decisions remain owned by `pi-permission-system`:
|
||||
- an `ask` is forwarded to the root session rather than reviewed inside the child;
|
||||
- root whole-session rules are matched against the child-fixed access facts before another review;
|
||||
- root auto-review uses the root transcript, where direct human messages remain distinguishable from assistant-generated delegation prompts;
|
||||
- reviewer `defer`, reviewer failure, or an approval outside the delegation envelope falls through to the root human authority;
|
||||
- reviewer `allow` or `deny` is final for the forwarded ask, including `path`; reviewer `defer` or failure falls through to the root human authority;
|
||||
- a one-shot approval is not copied into a reusable descendant grant, so executing the same side effect twice still requires two decisions.
|
||||
|
||||
The lifecycle channel names are an event contract only. This package does not import permission-system internals or make policy decisions itself.
|
||||
|
||||
Reference in New Issue
Block a user