TL;DR
ClawForge is a new benchmark framework designed to test LLM agents in "messy" command-line environments where they must navigate pre-existing, stale, or conflicting data. The study reveals a significant capability gap: even the most advanced frontier models struggle with state-conflict resolution, with the best model achieving only 45.3% strict accuracy.
What Problem Does This Paper Address?
Most current agent benchmarks operate on a "clean slate" principle—the agent starts with an empty workspace and a clear instruction. However, real-world software workflows are rarely clean. Agents often inherit "state conflict": an inbox full of half-finished threads, a calendar with outdated meetings, or a task board with duplicate entries.
Existing benchmarks often rely on static prompt evaluation or exact command-matching, which fails to capture the nuances of persistent state. For example, an agent might produce a "correct-looking" command to create a task, but if that task already exists, the agent has failed by creating a duplicate. ClawForge addresses this by moving from "trajectory matching" (did the agent type the right thing?) to "functional evaluation" (is the final state of the system correct?).
Methods
The authors introduce ClawForge, a generator-backed framework that creates executable task specifications.
Key methodological innovations include:
- Scenario Templates: Instead of hand-authoring every task, the framework uses templates and "grounded slots" (like specific cities, times, or filenames) to generate diverse, reproducible tasks.
- Stateful Execution: Tasks are executed in a live, CLI-style environment encompassing email, calendars, file systems, and configuration tools.
- Result-First Evaluation: Rather than checking if the agent followed a specific path, ClawForge evaluates the normalized end state. It checks for side effects: Was the stale file deleted? Was the email sent? Was a duplicate avoided?
- Interactive Loop: As shown in Figure 3, the agent operates in an iterative loop, receiving feedback from the environment after every command, allowing it to inspect state before acting.
Datasets
The authors introduce ClawForge-Bench, a suite consisting of:
- 17 Scenarios across 6 primary ability categories: Duplicate avoidance, gap completion, information transfer, multi-source reasoning, state repair, and workflow completion.
- 362 Hard Tasks designed to trigger specific failure modes like "hallucinated completion" or "stale-state mishandling."
This benchmark differs from existing ones like SWE-bench or AgentBench by specifically focusing on how agents handle pre-existing environment artifacts rather than just solving a problem from scratch.
Key Insights and Ideas
- "Look Before You Leap": The biggest performance differentiator among models was whether they inspected the environment before acting. In the "Interrupted Workflow Resume" scenario, models that skipped the inspection step often failed by recreating existing artifacts.
- The "State Repair" Wall: Replacing incorrect or stale state is significantly harder for agents than simply adding new information. "Wrong-state replacement" was the hardest category, with all models scoring below 17%.
- Efficiency vs. Closure: The authors found two distinct failure styles. Some models are "step-efficient" but miss the final closure step (a "near-miss"). Others, like Claude Opus 4.6, are highly thorough but use significantly more steps, sometimes performing redundant inspections that don't improve the final outcome.
- Functional Success vs. Plausible Text: A model might explain its reasoning perfectly in text but fail the task because it didn't account for a specific side effect in the execution environment.
Key Results
The benchmark proved highly discriminative across seven frontier models (including GPT-5.4 and Claude Opus 4.6):
- Strict Accuracy: Performance is far from saturated. The top-performing model, Claude Opus 4.6, reached only 45.3% strict accuracy. The weakest, Kimi-K2.5, sat at 35.9%.
- Scenario Gaps: Figure 4 highlights the massive variance in difficulty. While "Duplicate Avoidance" is near saturation (90-100%), "Wrong-state replacement" remains a graveyard for current AI capabilities.
- Model Separation: The "Interrupted Workflow Resume" scenario showed the widest gap, with Claude models (up to 90%) vastly outperforming GPT models (as low as 33%) by better identifying what work was already done.
Limitations and Future Work
The authors acknowledge that ClawForge is currently narrow in its environment type, focusing strictly on CLI-based office workflows (tasks, email, etc.). It does not yet cover web navigation or multimodal (visual) tasks.
Future work aims to:
- Expand scenario coverage to new domains like DevOps or software engineering.
- Reduce the manual effort required to define new scenario templates.
- Incorporate repeated-run variance to better account for the stochastic nature of API-based agents.
Summary updated