You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add tool prerequisite foundation: ToolDef.prerequisites, StepTracker arg tracking, StepEnforcer prereq checking
Adds the data model and enforcement logic for conditional tool dependencies
(e.g. "must call read_file before edit_file"). Backwards-compatible — all
new fields are optional with safe defaults.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Wire prerequisite enforcement into runner with PrerequisiteError and PREREQUISITE_NUDGE
Runner builds prereq dict from ToolDefs, checks before execution, blocks
batch on violation with nudge, raises PrerequisiteError on exhaustion.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Add PREREQUISITE_NUDGE to compaction and validate prereq tool names in Workflow
TieredCompact drops prerequisite nudges in all three phases (same priority
as step nudges). Workflow.__post_init__ validates prerequisite tool names
exist in the tools dict.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Add compaction, workflow validation, and tests for tool prerequisites
TieredCompact drops PREREQUISITE_NUDGE in all phases. Workflow validates
prereq tool names exist. 26 new tests covering name-only, arg-matched,
mixed prereqs, batch blocking, exhaustion, runner integration, and nudge
templates. 703 total tests passing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments