Skip to content

refactor(abilities): expose registration backend seam - #1266

Merged
chubes4 merged 1 commit into
mainfrom
refactor/1243-ability-backend-override
Aug 26, 2026
Merged

refactor(abilities): expose registration backend seam#1266
chubes4 merged 1 commit into
mainfrom
refactor/1243-ability-backend-override

Conversation

@chubes4

@chubes4 chubes4 commented Aug 26, 2026

Copy link
Copy Markdown
Member

Summary

  • add a generic filter over DMC ability registration arguments
  • let integrations replace execution callbacks while retaining canonical schemas, permissions, metadata, and CLI routing
  • verify one adapter replaces the complete workspace-worktree-* family without changing non-worktree abilities
  • fix the integration worker mode so the existing closed-lifecycle scenario exercises its intended path

Closes part of #1243.

Verification

  • php tests/workspace-ability-registration-integration.php
  • php tests/ability-registry-lifecycle.php
  • php -l inc/Abilities/AbilityRegistry.php
  • php -l tests/workspace-ability-registration-integration.php
  • git diff --check

The repo-native full homeboy review test attempt stopped in the WordPress extension harness with infrastructure exit 143 at its 30-second standalone-test command deadline after many tests passed; run 613f32f1-1c13-4cfe-88c3-f9fa4a5dda89. The focused changed-surface tests above pass.

AI Assistance

OpenAI GPT-5.6 Sol via OpenCode inspected the existing ability/CLI routing, implemented the generic registration seam and integration coverage, diagnosed the test-harness mode bug, and ran verification. Chris Huber directed the architecture and owns the change.

@chubes4
chubes4 marked this pull request as ready for review August 26, 2026 13:03
@chubes4
chubes4 merged commit 83564e8 into main Aug 26, 2026
18 checks passed
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