Skip to content

Comments

fix: Allow standup MCP tools via allowedTools#43

Merged
terraboops merged 1 commit intomainfrom
fix/standup-tool-detection
Feb 21, 2026
Merged

fix: Allow standup MCP tools via allowedTools#43
terraboops merged 1 commit intomainfrom
fix/standup-tool-detection

Conversation

@terraboops
Copy link
Owner

Summary

  • Standup navigators failed to submit reports because permissionMode: "acceptEdits" blocks unapproved MCP tool calls
  • Fix: add allowedTools to explicitly whitelist submit_status_report and submit_sync_response while keeping acceptEdits as the base policy (principle of least privilege)
  • Adds allowedTools support to the harness AgentConfig type and SDK options mapping
  • Improves diagnostics: tool call/error counters, always-on handler error logging, and safeParse fallback for resilient report capture

Test plan

  • Ran autonav standup --verbose end-to-end — both navigators successfully submitted reports

…sions

The standup report and sync phases used permissionMode "acceptEdits" which
blocks MCP tool calls that haven't been explicitly granted. This caused
submit_status_report and submit_sync_response to fail with permission errors,
making navigators unable to submit their reports.

Fix: Add allowedTools to whitelist the specific MCP protocol tools while
keeping acceptEdits as the base permission policy. Also adds allowedTools
support to the harness AgentConfig type.

Includes improved diagnostics: tool call/error counters, always-on handler
error logging, and safeParse fallback for resilient report capture.
@terraboops terraboops merged commit 401ce45 into main Feb 21, 2026
5 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