CL-9477: add authz parity definitions for aliased tools - #1223
Open
TheGreatAxios wants to merge 2 commits into
Open
TheGreatAxios wants to merge 2 commits into
TheGreatAxios wants to merge 2 commits into
Conversation
The reactor authz snapshot is keyed by parked wire name, so an ask-tier bash/shell call without a parity copy throws a wiring-defect error instead of suspending. Emit one renamed copy per alias alongside every definition and wrap the leaf and chat bundles so the authz-facing set gains the copies while the advertised wire set stays byte-identical.
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.
Isolated port of the CL-9477 assembly parity definitions off origin/main.
The reactor authz snapshot is keyed by parked wire name, so without parity copies an ask-tier bash/shell call throws a wiring-defect error instead of suspending. This adds authzParityDefinitions plus a withAuthzParityDefinitions bundle wrapper, wires it into the chat agent tools factory and the leaf subagent tools factory, and covers it with parity, suspension, grant, and wire-set tests.
Seam proof: src/subagent/run.ts carries only the import plus the withAuthzParityDefinitions wrap around the leaf toolsFactory return; no CL-9475 hunks.
Verification: bun test on the three touched test files (53 pass), tsc --noEmit clean, oxfmt + oxlint clean, full bun run check green including the 8608-test suite (one unrelated SIGHUP signal-integration flake observed on a single rerun, green on rerun).
Fixes CL-9477