Skip to content

Expose ability tool projection helper#2475

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-2473-ability-tool-projection
Jun 3, 2026
Merged

Expose ability tool projection helper#2475
chubes4 merged 1 commit into
mainfrom
fix/issue-2473-ability-tool-projection

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented Jun 3, 2026

Summary

  • Adds datamachine_register_ability_tool() and the canonical datamachine_ability_tool_projections filter for ability-native model-tool projection.
  • Keeps existing datamachine_ability_tools declarations working while feeding the same AbilityToolSource policy and execution path.
  • Extends smoke coverage for helper registration, canonical projection filtering, legacy filter compatibility, policy filtering, and ability execution.

Fixes #2473

Tests

  • php tests/ability-tool-source-smoke.php
  • php tests/tool-source-registry-smoke.php
  • php tests/tool-executor-ability-native-smoke.php
  • php -l inc/Engine/AI/Tools/ability-tool-projections.php && php -l inc/Engine/AI/Tools/Sources/AbilityToolSource.php && php -l inc/bootstrap.php && php -l tests/ability-tool-source-smoke.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Inspected the existing tool/ability projection path, implemented the helper/filter surface and smoke coverage, and ran focused verification. Chris remains responsible for review and merge.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented Jun 3, 2026

Homeboy Results — data-machine

Lint

lint — passed

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

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-lint-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine/actions/runs/26892229735

Test

test — passed

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

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine/actions/runs/26892229735

Audit

audit — passed

  • audit — 391 finding(s)
  • Total: 391 finding(s)

Deep dive: homeboy audit data-machine --changed-since 32e1dcd

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-audit-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine/actions/runs/26892229735
Tooling versions
  • Homeboy CLI: homeboy 0.219.1+1b5ec6b8
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 471a6b73
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 052b9bf into main Jun 3, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/issue-2473-ability-tool-projection branch June 3, 2026 16:10
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.

Finish ability-native model-tool projection from registered abilities

1 participant