@mzwing/pi-permission-auto-review 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @mzwing/pi-permission-auto-review
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@mzwing/pi-permission-auto-review) [](https://www.npmjs.com/package/@mzwing/pi-permission-auto-review) [](https://github.com/mzwing/pi-packages/actions/workflows/release.yml) [](https://opensource.org/licenses/MIT) [](https://www.typescriptlang.org/) [](https://github.com/earendil-works/pi)
|
|
4
4
|
|
|
5
5
|
A [Pi](https://github.com/earendil-works/pi) extension that adds Codex-style automatic permission reviews to [`@gotgenes/pi-permission-system`](https://github.com/gotgenes/pi-packages/tree/main/packages/pi-permission-system).
|
|
6
6
|
|
|
7
|
-
## Differences
|
|
7
|
+
## Differences between `@gotgenes/pi-permission-model-judge`
|
|
8
8
|
|
|
9
9
|
[@gotgenes/pi-permission-model-judge](https://github.com/gotgenes/pi-packages/tree/main/packages/pi-permission-model-judge) is a general-purpose model-based authorizer that can be used to evaluate any permission request.
|
|
10
10
|
|
|
@@ -76,12 +76,9 @@ Custom providers and models must be defined in Pi's `~/.pi/agent/models.json`, t
|
|
|
76
76
|
|
|
77
77
|
## Behavior and Limits
|
|
78
78
|
|
|
79
|
-
- Only direct user transcript entries can establish authorization; assistant, tool, summary, and permission-request content is untrusted.
|
|
80
|
-
- Reviewer calls have no tools and cannot recursively request permission.
|
|
81
79
|
- Model, authentication, timeout, provider, or response-format failures defer to the normal human prompt.
|
|
82
80
|
- Three consecutive denials, or ten denials in the latest fifty reviews, open a circuit breaker until the next Pi turn.
|
|
83
81
|
- pi-permission-system prevents authorizers from auto-approving `path` and `external_directory` requests.
|
|
84
|
-
- The compact transcript and permission request are sent to the selected provider. Audit metadata is written through pi-permission-system's shared logger without credentials, model rationales, or the complete transcript.
|
|
85
82
|
|
|
86
83
|
## License
|
|
87
84
|
|