Skip to content

docs(mcpx): correct the FAQ permission-profile answer to match defaults.json + runtimes.go - #3263

Merged
dezren39 merged 1 commit into
mainfrom
queue/4761-3246-faq-permissions
Nov 1, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/4761-3246-faq-permissions

Conversation

@dezren39

@dezren39 dezren39 commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Fixes #3246.

The FAQ "is it safe?" answer said the narrower permission profiles apply only on Deno and that bun/node run at full authority whatever you ask for. Verified against current main (defaults.json script.profiles + runtimes.go renderPerms), that inverts the real picture:

  • node enforces readnet/read-net via --permission --allow-fs-read=*
  • net/read/strict are deno-only
  • a named profile with no entry for the chosen runtime is refused with an error ("permission profile %q defines no flags for %s, so %s cannot enforce it"), never silently run unenforced
  • bun defines no narrower profiles (bun has no permission model)
  • all/none/off/unsandboxed on bun/node are present-but-empty flag lists — defined and deliberately unrestricted by design, not enforcement

Changes (docs only, no code):

  • pkgs/mcpx/docs/faq.md — rewrite the permission-profile paragraph per-runtime as above
  • pkgs/mcpx/docs/decisions/0003-declared-vs-enforced-capabilities.md — dated supersession note in §2 pointing at the corrected FAQ; original decision text unchanged

Verification: re-checked the corrected text against pkgs/mcpx/internal/defaults/defaults.json and pkgs/mcpx/internal/runner/runtimes.go at the base commit; grep -rn "apply only on Deno" pkgs/mcpx/docs returns no hits, and the only remaining "own authority whatever" repeat is inside 0003's original quoted text, now covered by its supersession note.

Also dispositions the Codex P2 finding on PR #2454 (comment 4418832041) with a reply on that thread linking this PR.

Queue task 4761 (triage confirmation: task 4746).


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 1, 2026 00:00
@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 13 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8504ed6b-22e0-404f-a6ef-c0ea0e74f685
Commits

Reviewing files that changed from the base of the PR and between c0fb853 and 685006b.

Files selected for processing: 2
  • pkgs/mcpx/docs/decisions/0003-declared-vs-enforced-capabilities.md
  • pkgs/mcpx/docs/faq.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T00:34:14.210060Z 685006b Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39

dezren39 commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 685006bb06

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@dezren39

dezren39 commented Nov 1, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · parked — Codex + final budget check pending (queue task 4761, Lane E, 2026-11-01T01:08Z)

Fresh resume check: PR 3263 @685006bb0 — basic lint, plugin tests, stress changed-tests, and mcpx-docs build all PASS. Still pending: final: CI time budget check and the queued id run 41254927267 (fleet backlog). No Codex review existed; @codex review requested at 01:03Z (comment 6551217398) — none posted within the 5-minute poll window.

Resume condition: final budget check settles + Codex review of 685006b posted with no undispositioned findings → merge PR 3263 → reply on PR 2454 thread 4418832041 per the packet → close #3246 → complete task 4761 fixed_merged.

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

@dezren39
dezren39 merged commit 3186e25 into main Nov 1, 2026
28 of 40 checks passed
@dezren39
dezren39 deleted the queue/4761-3246-faq-permissions branch November 1, 2026 01:00
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.

docs(mcpx): FAQ says permission profiles apply only on Deno — node enforces read-net and flagless profiles are refused, not silently run (PR #2454)

1 participant