Skip to content

Interface: FsProtectGuardNode ​

Defined in: ast/domain/fs-protect-guard-node.ts:9

Passive AST node protecting specific glob patterns from write mutations (fs.protect).

Blocks any pre-flight or post-flight write effect matching globs unless explicitly covered by an elevated capability lease.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
globsreadonlyreadonly string[]Protected file glob patterns.-ast/domain/fs-protect-guard-node.ts:11
idreadonlystringLogical identifier of the guard instance.BasePolicyGuardASTNode.idast/base/base-policy-guard-ast-node.ts:13
typereadonly"fs:protect"Unique string-literal discriminant of the policy guard node.BasePolicyGuardASTNode.typeast/base/base-policy-guard-ast-node.ts:11

Released under the MIT License.