mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-10-26 10:45:22 +00:00
feat(permission): integrate auto-review and hard guards
This commit is contained in:
@@ -26,7 +26,7 @@ Project **runtime** config (e.g. `yoloMode`) is re-read on the next session star
|
||||
|
||||
If you only use global config, nothing changes.
|
||||
|
||||
If you rely on a project's `.pi/extensions/pi-permission-system/config.json`, **grant the project trust** when Pi prompts (or configure `defaultProjectTrust` to always trust).
|
||||
If you rely on a project's `.pi/extensions/pi-permission-system/policy.jsonc` (formerly `config.json`), **grant the project trust** when Pi prompts (or configure `defaultProjectTrust` to always trust).
|
||||
Until then, the project's permission rules and runtime knobs are ignored and only your global policy applies.
|
||||
|
||||
If a project's rules stop taking effect after upgrading (surfaces you allowed at the project scope start prompting or denying per global policy), check whether the project is trusted — the review log will contain a `project_trust.skipped` entry naming the untrusted `cwd`.
|
||||
|
||||
Reference in New Issue
Block a user