Skip to content

Require canonical AI tool schemas#1900

Merged
chubes4 merged 2 commits into
mainfrom
fix-canonical-tool-schemas
May 9, 2026
Merged

Require canonical AI tool schemas#1900
chubes4 merged 2 commits into
mainfrom
fix-canonical-tool-schemas

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 9, 2026

Summary

  • Removes request-time conversion from Data Machine's old property-level required tool schema convention.
  • Migrates built-in global AI tools to canonical JSON Schema objects with object-level required arrays.
  • Extends schema smoke coverage to reject property-level required flags in global tool schemas.

Testing

  • php tests/wp-ai-client-tool-schema-smoke.php
  • php tests/global-tool-array-items-smoke.php
  • homeboy lint --path . --extension wordpress --changed-since origin/main --summary

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Audited the active AI tool schema path, migrated built-in tool schemas, removed the compatibility normalization, and ran targeted checks for Chris to review.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 9, 2026

Homeboy Results — data-machine

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
Deep dive: homeboy lint data-machine --changed-since 1937f3f

Test

test — passed

  • 1215 passed
  • 3 skipped

ℹ️ Auto-fix lint issues: homeboy refactor data-machine --from lint --write
ℹ️ Collect coverage: homeboy test data-machine --coverage
ℹ️ Save test baseline: homeboy test data-machine --baseline
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine --changed-since 1937f3f

Audit

audit — passed

  • dead_code — 66 finding(s)
  • test_coverage — 63 finding(s)
  • intra-method-duplication — 11 finding(s)
  • dead_guard — 4 finding(s)
  • parallel-implementation — 4 finding(s)
  • repeated_literal_shape — 2 finding(s)
  • Content — 1 finding(s)
  • Directives — 1 finding(s)
  • Retention — 1 finding(s)
  • Tasks — 1 finding(s)
  • Total: 154 finding(s)

Deep dive: homeboy audit data-machine --changed-since 1937f3f

Tooling versions
  • Homeboy CLI: homeboy 0.163.1+f20fecf4
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 56b5c09
  • Action: Extra-Chill/homeboy-action@v2

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