$ fssg build --deterministic --validate |

Stopping an AI Agent Is a Timing Problem

Logs

Stopping an AI agent is not only a state. It is a timing problem.

I have argued for explicit outcomes such as NEEDS_EVIDENCE, BLOCKED, and REJECTED. They matter because an agent must be allowed to finish without manufacturing success. But a correct stop can still arrive too late. An agent may browse twenty pages, modify a workspace, consume its budget, or repeatedly probe an unavailable dependency before admitting that the task cannot be completed.

The final label is honest. The execution path was still wasteful—and may already have become unsafe.

Recent research on agentic abstention makes this distinction precise. In an interactive task, the agent does not make one answer-or-refuse decision. At every step it can act, gather evidence, answer, or stop. The decisive fact may appear only after the environment responds. The engineering question is therefore not merely whether an agent can abstain, but when it has enough evidence to do so.

That changes how I think about stop conditions.

A stop condition is a transition, not a disclaimer

A conversational refusal happens at the edge of the system. A runtime stop condition belongs inside the execution loop.

Consider a shopping agent asked to find an item satisfying several constraints. The request looks feasible. Only after search does the environment reveal that no valid item exists. Or consider a terminal agent asked to repair a project while preserving a dependency that the repository no longer contains. The impossibility is not visible in the initial prompt; it emerges from interaction.

A useful runtime needs to recognize that transition:

POSSIBLY_RESOLVABLE
        |
        | new observation invalidates the remaining path
        v
UNRESOLVABLE_WITH_CURRENT_AUTHORITY_AND_EVIDENCE
        |
        v
STOP + PRESERVE STATE + NAME RESUMPTION CONDITION

The middle line is the important one. The agent should not stop because it feels uncertain. It should stop because the available evidence has changed the task state.

This is why “be cautious” is a weak instruction. Caution has no decision point. A transition does.

Late abstention is a hidden failure mode

If an agent eventually reaches the right conclusion, many evaluations treat the run as acceptable. Operationally, that can hide three different costs.

First, unnecessary interaction. Every extra search, tool call, and retry consumes latency and budget. More importantly, it creates more state that must be interpreted later.

Second, expanding side effects. In a read-only environment, wandering is expensive. In a mutable environment, it can be dangerous. The agent may create temporary files, change configuration, reserve resources, or trigger external operations while pursuing a path that should already be closed.

Third, degraded evidence. Long trajectories accumulate noise. The observation that actually disproved the task becomes buried under speculative attempts. A late refusal may be honest, but the handoff is harder to audit.

So I would not score these two runs equally:

Run A: search -> contradiction found -> stop with evidence
Run B: search -> contradiction found -> 14 speculative actions -> stop

Both abstain. Only one respects the evidence boundary.

The runtime needs an abstention clock

I do not mean a simple timeout. Timeouts are useful for resource control, but they do not distinguish productive investigation from motion after the task has become unresolvable.

I want the runtime to track three moments:

  1. Discovery point — when the environment first exposes evidence that may invalidate the goal.
  2. Decision point — when the accumulated evidence is sufficient to classify the current path as unresolvable.
  3. Stop point — when the agent actually ceases tool use and emits a structured result.

The gaps matter.

recognition_delay = decision_point - discovery_point
execution_overrun = stop_point - decision_point

These are conceptual measures unless a system records the required events; I am not presenting benchmark results for my own tools. But the distinction is practical. Recognition delay tells me whether the agent can interpret environmental evidence. Execution overrun tells me whether the runtime enforces the resulting decision.

A model may notice the contradiction and still continue because the loop rewards action. A scaffold may encourage another retry. A tool policy may lack a terminal transition. The failure is no longer “the model was uncertain.” It is visible as delayed recognition or delayed enforcement.

Stopping rules should be reusable artifacts

The Agentic Abstention work proposes CONVOLVE, a context-engineering method that distills interaction trajectories into reusable stopping rules. I find the architectural direction more important than any single reported metric: failed or excessive trajectories should teach the system where continued action stopped being useful.

That does not mean copying a natural-language warning into every prompt. I would separate at least three layers:

  • Task evidence: observations from the current environment.
  • Stopping rule: the condition that maps evidence to an unresolvable state.
  • Runtime action: stop tool use, preserve artifacts, and emit the resumption contract.

For example:

stop_rule:
  id: dependency-constraint-unsatisfied
  when:
    required_dependency: absent
    allowed_replacement: false
    install_authority: false
  result: BLOCKED
  preserve:
    - repository_scan
    - compatibility_findings
  resume_when:
    - owner permits replacement
    - required dependency becomes available

This rule does not ask the model to become less intelligent. It prevents intelligence from being spent after the current path has lost authority or evidence.

It also fits the broader runtime model I use in What Is an AI Engineering Runtime?. The model interprets the situation. The runtime owns transitions, budgets, permissions, and effects. A stopping rule is where interpretation becomes governed execution.

This extends my earlier position

In I Don't Force AI to Have an Answer, I argued that abstention should be a typed result with missing evidence, completed work, and a safe continuation. I still believe that. The newer distinction is that the quality of abstention depends on the trajectory before the result.

A typed BLOCKED receipt answers: Why did the run stop?

Timely abstention asks: Why did it continue after the answer was already knowable?

The two controls belong together. A system that stops early without explaining itself is brittle. A system that explains itself after a long unnecessary trajectory is expensive and potentially unsafe.

The same applies to the completion envelope. Stop conditions written before execution are useful, but the runtime must bind them to observations that appear during execution. Otherwise they remain documentation rather than control.

The best next action may be no action

Agent systems are often evaluated by visible activity: more tool use, longer plans, more autonomous progress. That creates a subtle bias. Continuing looks capable; stopping looks incomplete.

I think this is backwards. Once the environment has disproved the available path, another tool call is not persistence. It is refusal to update the execution state.

A mature agent should be able to say:

  • the goal looked feasible at the start;
  • this observation changed that assessment;
  • no permitted action can resolve the contradiction;
  • these artifacts remain valid;
  • this exact event would make the run resumable.

Then it should stop immediately.

I do not want an agent that merely knows how to refuse. I want an execution system that can identify the moment when further action loses value—and treat that moment as seriously as success.

Sources

FACET AI CLI Terminal
facet@ai:~$