GeezerVison is showing github.com — MCP profile carry: docs, message, fallback and Codex (follow-ups from #648) · Issue #653 · scuttletoby/t3code
MCP profile carry: docs, message, fallback and Codex (follow-ups from #648) #653DescriptionMinor points from the two reviews of #648 (lens A, lens B). Both said SAFE, with nothing blocking or major. Neither found a way for a task to get more tools than its profile allows.
- The docs need a "Claude only" note. The
mcpCarriedProfiles section of docs/fork/README.md (around line 448) says a task that slips through "does not start its turn". That holds only on Claude: a Codex task still runs with every tool. An owner who reads only this section could think refuse stops Codex tasks too.
- Empty profile name in the refusal. When the carried profile can't be read, the message shows
profile "" (mcpProfile.ts, around line 412). It still refuses; the message should say "unreadable profile" instead.
- Unreadable settings fall back to
apply. When neither the settings nor settings.json can be read, refuse acts as apply. The task is then cut down to its carried profile, so it never gets more tools. Consider failing closed (refuse) for carried narrower profiles.
- The new setting is optional in
McpProfileSettings (mcpProfile.ts, around line 27). A later caller that leaves it out silently gets apply. Nothing widens, but make the field required so callers must choose.
- Codex threads do not apply profiles (older than MCP profile carry: per-machine refuse, Claude-only docs, no-store rule (#640) #648, now documented). Enforcing profiles on Codex is a feature of its own: it needs seam lines in upstream's Codex adapter.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|