Interface: FsAllowOnlyGuardNode
Defined in: ast/domain/fs-allow-only-guard-node.ts:9
Passive AST node restricting filesystem writes strictly to an allowlist of globs (fs.allowOnly).
Rejects any write effect whose normalized repository-relative path does not match at least one glob pattern in globs (or an active LeaseDelta grant).
Extends
BasePolicyGuardASTNode<"fs:allow-only">
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
globs | readonly | readonly string[] | Allowed write glob patterns. | - | ast/domain/fs-allow-only-guard-node.ts:11 |
id | readonly | string | Logical identifier of the guard instance. | BasePolicyGuardASTNode.id | ast/base/base-policy-guard-ast-node.ts:13 |
type | readonly | "fs:allow-only" | Unique string-literal discriminant of the policy guard node. | BasePolicyGuardASTNode.type | ast/base/base-policy-guard-ast-node.ts:11 |