Skip to content

refactor(tool): migrate Glob/LS/Grep/Skill/Screenshot to typed schemas - #320

Merged
Patel230 merged 1 commit into
mainfrom
fix/tool-schema-batch
Sep 15, 2026
Merged

Patel230 merged 1 commit into
mainfrom
fix/tool-schema-batch

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Incremental slice of the tool-schema migration (the Tool interface itself stays unchanged for compatibility).

  • Follows the established Schema() + Parameters() delegation pattern (single source of truth, as with BashTool), with schema-parity tests locking each tool's wire shape.
  • Routes Execute input parsing through the generic DecodeInput[T]; empty-input list semantics preserved for LS/Skill.
  • FuzzyFind deliberately excluded: its minimum/maximum constraints need a SchemaProperty extension first (noted follow-up).

Verified: go vet ./..., golangci-lint on the package (0 issues), full go test ./..., layer boundaries, testaudit.

Follow the established Schema()+Parameters() delegation pattern (single
source of truth) with schema-parity tests locking the wire shape, and route
Execute input parsing through DecodeInput[T]. Empty-input semantics preserved
for LS/Skill (list modes). FuzzyFind excluded: its minimum/maximum constraints
need a SchemaProperty extension first.
@Patel230
Patel230 merged commit c889a11 into main Sep 15, 2026
25 checks passed
@Patel230
Patel230 deleted the fix/tool-schema-batch branch September 15, 2026 19:21
Patel230 added a commit that referenced this pull request Oct 2, 2026
#320)

Follow the established Schema()+Parameters() delegation pattern (single
source of truth) with schema-parity tests locking the wire shape, and route
Execute input parsing through DecodeInput[T]. Empty-input semantics preserved
for LS/Skill (list modes). FuzzyFind excluded: its minimum/maximum constraints
need a SchemaProperty extension first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant