feat(permission): integrate auto-review and hard guards

This commit is contained in:
云服务部-叶林立
2026-09-02 15:34:29 +08:00
parent a4807dde67
commit 180da95ab7
79 changed files with 4263 additions and 9203 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ Successful results include readable text and structured `details`:
}
```
The tool name and the `question` / `answer` fields intentionally match `pi-permission-auto-review`'s trusted structured user-interaction envelope. Cancelled results are never treated as authorization evidence.
The tool name and the `question` / `answer` fields intentionally match `pi-permission-system`'s integrated AutoReview trusted structured user-interaction envelope. Cancelled results are never treated as authorization evidence.
The tool requires dialog-capable interactive UI. TUI mode uses the custom questionnaire, RPC mode uses Pi's standard extension UI bridge, and JSON/print modes receive a tool error rather than an invented answer.
+1 -1
View File
@@ -25,7 +25,7 @@ export interface NormalizedQuestion {
}
/**
* `question` and `answer` intentionally match pi-permission-auto-review's
* `question` and `answer` intentionally match pi-permission-system's integrated AutoReview
* trusted user-interaction envelope for ask_user_question.
*/
export interface UserAnswer {