Function: evaluateFsBoundaryGuard()
ts
function evaluateFsBoundaryGuard(
node,
input,
_ctx
): PolicyGuardEvaluationResult;Defined in: fs/src/executors/fs-path-guard-executors.ts:29
Evaluates an FsBoundaryGuardNode (fs:boundary-guard) against proposed tool effects (SPEC.md §4.3).
Blocks any write effect matching a partition's boundaryGlobs unless covered by input.activeLeases, projecting violatedEffects strictly to the violating boundary file paths.
Parameters
| Parameter | Type | Description |
|---|---|---|
node | FsBoundaryGuardNode | Boundary guard AST node. |
input | PolicyGuardEvaluationInput | Tool name, proposed effects, and active leases. |
_ctx | StepExecutionContext<unknown> | Step execution context. |
Returns
Guard evaluation result and projected violatedEffects.