feat: ability categories and tool-ability linkage#17
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
datamachine-code/workspaceanddatamachine-code/githubdatamachineto proper subcategoriesabilitymetadata to all 11 toolregisterTool()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/workspaceanddatamachine-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
data-machine-code.phpcreate-github-issueability categoryinc/Abilities/WorkspaceAbilities.phpdatamachine-code/workspaceinc/Abilities/GitHubAbilities.phpdatamachine-code/githubinc/Tools/WorkspaceTools.phpabilitymetainc/Tools/GitHubTools.phpaccess_levelmetainc/Tools/GitHubIssueTool.phpabilitymeta