Skip to main content

Module tool_classification

Module tool_classification 

Source
Expand description

Read-only tool classification shared between zeph-tools and zeph-orchestration.

READONLY_TOOLS is the single source of truth for native tool IDs that are read-only (no filesystem/state mutation, no code execution). zeph-tools uses it to gate ReadOnly autonomy mode and to bypass Supervised-mode confirmation for unconfigured tools (see #5575). zeph-orchestration uses it to classify tool calls in a task’s real execution trace as read vs. write-type, so a mixed trace (successful reads followed by policy-blocked writes) is not mistaken for genuine partial progress (see #6397).

Constants§

READONLY_TOOLS
Read-only tool allowlist (available in ReadOnly autonomy mode).

Functions§

is_readonly_tool
Returns true if tool_id is a native read-only tool.