Interface: FsRequireReadBeforeWriteGuardNode
Defined in: ast/domain/fs-require-read-before-write-guard-node.ts:9
Passive AST node requiring an existing file to be read in the session before it is edited or overwritten (fs.requireReadBeforeWrite).
Prevents blind file overwrites by verifying that any pre-existing target path has a prior FsToolEffect read record in the current actor session.
Extends
BasePolicyGuardASTNode<"fs:require-read-before-write">
Properties
| Property | Modifier | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
id | readonly | string | Logical identifier of the guard instance. | NodeDenyNetworkNode.id | ast/base/base-policy-guard-ast-node.ts:13 |
type | readonly | "fs:require-read-before-write" | Unique string-literal discriminant of the policy guard node. | BasePolicyGuardASTNode.type | ast/base/base-policy-guard-ast-node.ts:11 |