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:
@@ -27,7 +27,7 @@ export interface ToolAccessIntent {
|
||||
*/
|
||||
export interface PathValuesAccessIntent {
|
||||
kind: "path-values";
|
||||
/** `"path"` or `"external_directory"`. */
|
||||
/** Permission surface associated with these path match values. */
|
||||
surface: string;
|
||||
values: readonly string[];
|
||||
agentName?: string;
|
||||
@@ -36,9 +36,9 @@ export interface PathValuesAccessIntent {
|
||||
/**
|
||||
* An `AccessPath` value object for a path-shaped surface.
|
||||
*
|
||||
* Built for every path-shaped surface: the cross-cutting `path` and
|
||||
* `external_directory` gates, the per-tool path-bearing surfaces
|
||||
* (`read`/`write`/`edit`/`grep`/`find`/`ls`, #502), and the service/RPC policy
|
||||
* Built for every path-shaped surface: the cross-cutting `path` gate, the
|
||||
* per-tool path-bearing surfaces (`read`/`write`/`edit`/`grep`/`find`/`ls`,
|
||||
* #502), and the service/RPC policy
|
||||
* queries for those surfaces (#503). Lets `AccessPath` flow into the resolver
|
||||
* as a first-class variant so the resolver — not the producer — asks it for
|
||||
* `matchValues()` (Tell-Don't-Ask).
|
||||
|
||||
Reference in New Issue
Block a user