Function: evaluateFsGlobEffectMatcher()
ts
function evaluateFsGlobEffectMatcher(
node,
effect,
_ctx
): boolean;Defined in: fs/src/executors/fs-glob-effect-matcher.ts:20
Evaluates an FsGlobMatcherNode (fs:match-globs) against a ToolEffect (SPEC.md §3.5 & §4.3).
Matches both exact normalized file paths (including bracketed routes like app/users/[id]/page.test.tsx) and picomatch glob patterns, checking access mode compatibility ('read' | 'write' | 'any').
Parameters
| Parameter | Type | Description |
|---|---|---|
node | FsGlobMatcherNode | Passive glob matcher AST node. |
effect | ToolEffect | Observed or proposed tool effect to test. |
_ctx | StepExecutionContext<unknown> | Step execution context. |
Returns
boolean
True when effect is a matching fs:effect covered by node.