DashboardopencodeToolFailure leaf boundary

ToolFailure leaf boundary

Category: architecture
Confidence: 1.00
ID: 01a07ea4-8f03-7561-8421-313cd9b227c8
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 0owN8Zwi30E6DL7hU
Created: 2026-09-08 01:31:48
Updated: 2026-09-08 01:31:48

Content

Chose translating only expected typed leaf errors into ToolFailure over catchCause blankets because interruptions, defects, permission declines, and question dismissals must reach SessionModelRequest.executeTool. Leaves own ordering and must not catch those defects; only typed Permission.CorrectedError may become ToolFailure so the model can continue.

Move to: