Skip to content

Interface: FsWriteGuardNode ​

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

Passive AST node enforcing glob-based write allow/deny rules (fs.writeGuard).

Projects violatedEffects strictly to paths matching denyGlobs and not covered by allowGlobs or active LeaseDelta grants.

Extends ​

Properties ​

PropertyModifierTypeDescriptionInherited fromDefined in
allowGlobs?readonlyreadonly string[]Optional glob patterns exempted from denyGlobs.-ast/domain/fs-write-guard-node.ts:13
denyGlobsreadonlyreadonly string[]Glob patterns denying write mutations.-ast/domain/fs-write-guard-node.ts:11
idreadonlystringLogical identifier of the guard instance.BasePolicyGuardASTNode.idast/base/base-policy-guard-ast-node.ts:13
onlyExistingAtBaseRef?readonlybooleanWhen true, blocks only paths that already existed at handle.baseRef.-ast/domain/fs-write-guard-node.ts:15
typereadonly"fs:write-guard"Unique string-literal discriminant of the policy guard node.BasePolicyGuardASTNode.typeast/base/base-policy-guard-ast-node.ts:11

Released under the MIT License.