Function: evaluateFsQuotaTripwire()
ts
function evaluateFsQuotaTripwire(
node,
input,
_ctx
): QuotaTripwireEvaluationResult;Defined in: fs/src/executors/fs-check-tripwire-and-telemetry.ts:69
Evaluates an FsQuotaTripwireNode (fs:quota-tripwire) after tool execution (SPEC.md §4.3).
Trips when the total count of distinct mutated file paths across accumulatedEffects and newEffects exceeds node.maxFilesMutated.
Parameters
| Parameter | Type | Description |
|---|---|---|
node | FsQuotaTripwireNode | Quota tripwire AST node. |
input | QuotaTripwireEvaluationInput | Accumulated and newly recorded tool effects. |
_ctx | StepExecutionContext<unknown> | Step execution context. |
Returns
Tripwire result indicating whether the quota was exceeded.