Skip to content

feat: ability categories and tool-ability linkage#17

Merged
chubes4 merged 1 commit intomainfrom
feature/ability-categories
Apr 15, 2026
Merged

feat: ability categories and tool-ability linkage#17
chubes4 merged 1 commit intomainfrom
feature/ability-categories

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented Apr 14, 2026

Summary

  • Register 2 ability categories: datamachine-code/workspace and datamachine-code/github
  • Update all 23 ability registrations from flat datamachine to proper subcategories
  • Add ability metadata to all 11 tool registerTool() calls (workspace tools → ability linkage, GitHub tools → access_level)

Context

Companion PR to Extra-Chill/data-machine#1052 which introduces ability categories in core. Extensions register their own categories — this extension registers datamachine-code/workspace and datamachine-code/github.

With these categories, pipeline AI steps can scope their tools by category. A pipeline that only needs workspace operations can declare tool_categories: ['datamachine-code/workspace'] and won't get GitHub tools (or vice versa).

Changes

File Change
data-machine-code.php Register 2 categories, update create-github-issue ability category
inc/Abilities/WorkspaceAbilities.php 16 abilities → datamachine-code/workspace
inc/Abilities/GitHubAbilities.php 6 abilities → datamachine-code/github
inc/Tools/WorkspaceTools.php 5 tools get ability meta
inc/Tools/GitHubTools.php 5 tools get access_level meta
inc/Tools/GitHubIssueTool.php 1 tool gets ability meta

Register datamachine-code/workspace and datamachine-code/github ability
categories. Update all 23 ability registrations from flat 'datamachine'
to the proper subcategory. Add ability metadata to all tool registerTool()
calls (workspace tools linked to abilities, GitHub tools with access_level).

Companion to Extra-Chill/data-machine#1052.
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