Skip to content

Interface: FsWriteGuardNode ​

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

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.-core/dist/ast/domain/fs-write-guard-node.d.ts:12
denyGlobsreadonlyreadonly string[]Glob patterns denying write mutations.-core/dist/ast/domain/fs-write-guard-node.d.ts:10
idreadonlystringLogical identifier of the guard instance.BasePolicyGuardASTNode.idcore/dist/ast/base/base-policy-guard-ast-node.d.ts:13
onlyExistingAtBaseRef?readonlybooleanWhen true, blocks only paths that already existed at handle.baseRef.-core/dist/ast/domain/fs-write-guard-node.d.ts:14
typereadonly"fs:write-guard"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.