Skip to content

Interface: FsAllowOnlyGuardNode ​

Defined in: core/dist/ast/domain/fs-allow-only-guard-node.d.ts:8

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 ​

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
globsreadonlyreadonly string[]Allowed write glob patterns.-core/dist/ast/domain/fs-allow-only-guard-node.d.ts:10
idreadonlystringLogical identifier of the guard instance.BasePolicyGuardASTNode.idcore/dist/ast/base/base-policy-guard-ast-node.d.ts:13
typereadonly"fs:allow-only"Unique string-literal discriminant of the policy guard node.BasePolicyGuardASTNode.typecore/dist/ast/base/base-policy-guard-ast-node.d.ts:11

Released under the MIT License.