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:
@@ -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.
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user