Skip to content

Use ability-native projections for DMC tools#538

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

Use ability-native projections for DMC tools#538
chubes4 merged 1 commit into
mainfrom
fix/issue-536-ability-tool-projections

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented Jun 3, 2026

Summary

  • Registers selected DMC workspace and GitHub tools through Data Machine's ability-native projection helper while preserving existing model-facing tool names.
  • Keeps legacy wrapper registration as fallback when the projection helper is unavailable, and leaves bespoke alias/composed wrappers in place.
  • Adds projection regression coverage for canonical ability slugs, schema de-duplication, and model-visible payload shape related to Workspace tools: assert ls/read payloads survive into model-facing transcripts #534.

Closes #536.

Tests

  • php tests/smoke-ability-tool-projections.php
  • php tests/smoke-workspace-tool-transcript-contract.php
  • php tests/smoke-github-readonly-tools.php
  • php tests/smoke-tool-schemas.php
  • php -l data-machine-code.php && php -l inc/Tools/AbilityToolProjections.php && php -l inc/Tools/WorkspaceTools.php && php -l inc/Tools/GitHubTools.php && php -l tests/smoke-ability-tool-projections.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Drafted the projection migration, regression smoke coverage, and PR description; 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-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
ℹ️ Save lint baseline: homeboy lint data-machine-code --baseline
Deep dive: homeboy lint data-machine-code --changed-since 2478f52

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-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-code/actions/runs/26900189080

Test

test — passed

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

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-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-code/actions/runs/26900189080

Audit

audit — passed

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

Deep dive: homeboy audit data-machine-code --changed-since 2478f52

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-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-code/actions/runs/26900189080
Tooling versions
  • Homeboy CLI: homeboy 0.219.1+7c79cf2
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 471a6b73
  • Action: unknown@unknown

@chubes4 chubes4 merged commit 38a6e36 into main Jun 3, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/issue-536-ability-tool-projections branch June 3, 2026 17:06
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.

Replace duplicated model-tool wrappers with ability-native projections

1 participant