fix(tutti): ignore composer permission UI defaults#53
Merged
Conversation
jomeswang
marked this pull request as ready for review
July 21, 2026 07:16
This was referenced Jul 21, 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.
Summary
AgentRunInput.permission0.7.6body-parserlock resolution to2.3.0for the production auditRoot cause
The Tutti runtime integration treated
permissionConfig.defaultValueas an explicit execution selection. In managed Workspace Apps this overrode the SDK autonomous default. For Claude, the UI defaultask-before-writethen ran under non-interactiveclaude -p, so MCP tool calls could not be approved.Impact
Managed app-owned runtimes that omit
permissionnow use the documented SDK autonomous default. Explicit narrower permissions continue to win. TSH composer UI behavior, wire schemas, model/reasoning defaults, and provider adapters are unchanged.Validation
pnpm typecheckpnpm buildpnpm audit --prod --ignore-registry-errors: no known vulnerabilitiespnpm pack:checkpnpm test:packed-consumerverified@tutti-os/agent-acp-kit@0.7.6The default parallel full-suite run exposed local child-process timing flakes; the affected files and complete suite pass with a single worker, and the GitHub Actions default test command passed.
Risk
The intended behavior restores
full-accessfor managed autonomous runs that omit permission. Hosts that need narrower permissions must pass an explicit runtime permission. This does not alter explicit permission selections or interactive TSH Agent sessions.AI-assisted implementation and review.