Repository navigation
refactor: Consolidate Actor tool presentation policies - #1586
Merged
jirispilka merged 5 commits intoOct 15, 2026
Merged
Conversation
This was referenced Oct 15, 2026
`exposedInputs` hides inputs but the validator still accepts them, while `directInput.deniedInputs` hides and refuses them. The type now says so, and that `directInput` applies to direct tools only. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013pFh9qhBS7mGsFSnHd5nyF
The RAG Web Browser and Web Fetch description texts are used only by the policy registry, so they move out of const.ts. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
jirispilka
marked this pull request as ready for review
October 15, 2026 09:14
RobertCrupa
approved these changes
Oct 15, 2026
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.
Why
Stacked on #1585 (
fix/direct-actor-contracts). Merge #1585 first; this PR contains only the presentation-policy refactor.RAG Web Browser and Web Fetch still have Actor-name branches in schema generation and description assembly. The existing policy registry can hold those rules.
What changed
Move RAG's exposed inputs, Web Fetch's URL description note, and both tools' extra descriptions into policy entries. Remove the
isRagschema-builder argument and the Actor-name branches in those consumers.Presentation rules retain their existing generic-call behavior. WCC defaults and denied inputs remain under a separate direct-only input policy. RAG's hidden inputs remain accepted, annotation checks still inspect the original properties, and description wording and session gating stay unchanged.
No public/internal exports, result shapes, or hosted-server integration changes.
Notes for reviewers (human-written)
Proof it works
AI-assisted: Codex wrote the refactor, tests, documentation, and this description, ran verification, and used an independent review agent.