Let in-proc plugins register the EXT-8 resource authorizer (fix rdm.* unknown-command) #124

Merged
weichen merged 1 commits from feature/ext8-inproc-authorizer into main 2026-10-10 02:08:04 +00:00
Owner

Why: pluginRegistry never overrode RegisterResourceAuthorizer — in-proc extensions hit the declarative rejection, register() aborted wholesale, and every plugin command vanished from the bus. The RDM binary ships the EXT-8 member adapter since step-4, so the served RDM process answered unknown-command for every rdm.* call; caught by the MS1 re-acceptance smoke replay.

Evidence: TestInprocPluginRegistersAuthorizerAndCommands (red on parent: registration aborts, dispatch rejected; green with fix: command committed, authz slot alice-allow/bob-deny). Full go test ./... 32/32 green; RDM MS0 acceptance re-run follows on the pin bump.

Impact: pluginRegistry.RegisterResourceAuthorizer fills the shared hostcaps.authz slot (first registrant wins); declarative branch unchanged.

Refs: RDM G1-8 MS1 re-acceptance; EXT-8 seam d89e748; RDM #113.

Why: pluginRegistry never overrode RegisterResourceAuthorizer — in-proc extensions hit the declarative rejection, register() aborted wholesale, and every plugin command vanished from the bus. The RDM binary ships the EXT-8 member adapter since step-4, so the served RDM process answered unknown-command for every rdm.* call; caught by the MS1 re-acceptance smoke replay. Evidence: TestInprocPluginRegistersAuthorizerAndCommands (red on parent: registration aborts, dispatch rejected; green with fix: command committed, authz slot alice-allow/bob-deny). Full go test ./... 32/32 green; RDM MS0 acceptance re-run follows on the pin bump. Impact: pluginRegistry.RegisterResourceAuthorizer fills the shared hostcaps.authz slot (first registrant wins); declarative branch unchanged. Refs: RDM G1-8 MS1 re-acceptance; EXT-8 seam d89e748; RDM #113.
weichen added 1 commit 2026-10-10 02:06:38 +00:00
Why: pluginRegistry never overrode RegisterResourceAuthorizer, so
in-proc extensions hit the declarative-branch rejection; register()
aborted wholesale and every plugin command vanished from the bus. The
RDM binary ships the EXT-8 member adapter since step-4, meaning the
served RDM process answers 'unknown or disabled command' for every
rdm.* call — caught by the MS1 re-acceptance smoke replay (fb/report/
confirm/lifecycle smokes all failed on rdm.baseline).

Evidence: TestInprocPluginRegistersAuthorizerAndCommands — red on the
parent commit (registration aborts, dispatch rejected, nil-slot denies),
green with the fix (command committed; the shared authz slot answers
alice-allow/bob-deny through projectAuthz). Full go test ./... green;
RDM MS0 acceptance re-run follows on the pin bump.

Impact: pluginRegistry.RegisterResourceAuthorizer fills the shared
hostcaps.authz slot (first registrant wins, mirroring the composition
root); compiled/declarative branch unchanged.

Refs: RDM G1-8 MS1 re-acceptance; EXT-8 (d89e748 seam); RDM #113.
weichen merged commit 421fee81c3 into main 2026-10-10 02:08:04 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#124