A coding agent closed the ticket. Tests green, diff clean.

Three steps of that run went into opening a file that was never on disk.

A paper posted last Friday (arXiv 2610.32648) counts those steps. Researchers at Sun Yat-sen University and Singapore Management University read 4,398 SWE-agent trajectories and found 9,595 tool calls out of 120,801 that could not apply to the environment the agent was standing in — a path that does not exist, a package that was never installed.

1. The split is the finding, not the total. Hallucinated tool use affects 46.6% of failed trajectories and 32.3% of resolved ones; 43.9% overall. It is not a failure signature. It is a tax the successful runs pay as well, and a median recovery costs 3 agent steps and 22.4K tokens before a grounded retry.

2. Before you conclude you need a better model to catch this: the strongest LLM judge they tested reached 0.604 F1, at a median 17.73 s per check. Checking the action's preconditions against the live repository instead gives 0.940 precision and 0.817 F1, in 1.50 ms, with zero tokens. The detector is not a model.

3. Warned before execution rather than after, agents rectified 97.8% of these calls in live runs. Across 79 tasks, execution time fell 15.8% and token use 11.8%, with task resolution held.

4. Now the European part, and it is not the AI Act. The Bundesrat approved the Gesetz zur Modernisierung des Produkthaftungsrechts on 16 October; it applies from 9 December 2026, 43 days out. § 2(1) Nr. 3 makes software a product. § 19 lets a court order you to disclose relevant evidence once a claim is plausible. § 20 Abs. 3 is the paragraph to read: where proving the defect is excessively difficult for the claimant, in particular because of technical or scientific complexity, the court may presume it. An agent's reasoning trace is that complexity. A precondition check is not — it is a predicate against a repository, and it runs again.

My Monday: store the check's verdict beside the action it gated, deterministic, outside the model, re-runnable next year.

Cheap and replayable beats clever and unexplainable. Which of your agent's steps could you replay tomorrow, in front of someone who does not trust it?

#AgenticAI #EUAIAct #Produkthaftung #SoftwareEngineering #AIGovernance