You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Read-only J5 tools keep Effect's destructive/open-world defaults, so Codex gates them #734
Some J5 MCP tools are annotated read-only but keep Effect's defaults Tool.Destructive: true and Tool.OpenWorld: true. They advertise readOnlyHint: true, destructiveHint: true, openWorldHint: true, and Codex treats that shape as a mutating tool.
Seen live (2026-10-25, Codex CLI 0.164.0, j5/main at e114f4da86): under persona policies (never + workspace-write or read-only), with J5's Codex pre-approval list removed, j5_playbook_list was refused ("MCP tool call requires approval, but approval policy is never"). j5_list_participants, which sets both hints to false, ran. Today the playbook read verbs only work there because they're on the pre-approval list.
Where:apps/server/src/j5/playbooks/mcp.ts (around lines 69, 78 and 92) annotate Tool.Readonly, true without Tool.Destructive, false / Tool.OpenWorld, false. The tools in a2a/mcp/tools.ts and orchestratorSurface.ts already set them.
Fix: set Tool.Destructive, false and Tool.OpenWorld, false on every J5 tool that is really read-only (audit the J5 toolkits, not just playbooks), and add a test that every Tool.Readonly J5 tool sets both. Then read-only tools work under any provider policy without pre-approval, and J5_PREAPPROVED_TOOLS only needs the tools that change things. Don't remove anything from the list in the same change.
Full report: J5 artifact test-reports/j5code/test-codex-preapproval/e114f4da86.md.
Activity