What's Changed
Permissions
- Claude Code
settings.jsonkeys are now authorable from.rulesync/permissions.jsonc. Any top-level key that is not owned by another feature —editorMode,env,model,outputStyle, and everything Claude Code adds next — is deep-merged into the generated.claude/settings.jsonverbatim, so new settings stay authorable without waiting for an allowlist update.hooks(owned by the hooks feature) and$schemaare still excluded. (#2720, closes #2715) - Codex CLI
[tui]is now a passthrough table.tui.vim_mode_default,tui.keymap.*, and the rest of the table are written toconfig.tomlverbatim, on the same terms as the existingappspassthrough. (#2720, closes #2715) - Keys the target file cannot honor are dropped with a warning instead of written where they would never apply.
Managed-only keys,~/.claude.json-only keys, and user-scope keys encountered at project scope are reported as skipped rather than silently emitted into a file Claude Code ignores. - Keys whose value is a command Claude Code executes are refused in both directions.
apiKeyHelper,statusLine,awsAuthRefresh,awsCredentialExport, and the sandbox paths that run a command are rejected on generate and on import..rulesync/permissions.jsoncis shareable throughrulesync fetch, and a file named for restricting things is not where an executed command belongs — author those in.rulesync/hooks.jsoncinstead. - Trust-widening settings now warn before they are written. Keys that loosen the trust boundary rather than tighten it —
enableAllProjectMcpServers,enabledMcpjsonServers,allowedMcpServers,enabledPlugins,extraKnownMarketplaces,allowedHttpHookUrls,disableAllHooks,autoMode, theskip*permission-prompt keys, apermissions.defaultModeofacceptEdits/auto/bypassPermissions, a non-emptypermissions.additionalDirectories, anddisableSkillShellExecution: false— are still written, but each one is named on stderr first. - Sandbox keys that can only widen the policy warn too. Claude Code merges array-valued sandbox settings across every settings scope rather than replacing them, so a project-scope
allow*list can only ever open the sandbox further. All sixteen such paths (sandbox.enabled,sandbox.excludedCommands,sandbox.filesystem.allowRead/allowWrite, thesandbox.network.allow*family,sandbox.ignoreViolations, and the rest) now warn when present. Thedeny*lists merge as well, but adding to them only narrows the policy, so they stay quiet.
Security
- Control-character stripping is shared and stricter.
rulesync doctorandrulesync fetchhad two separate, differently-scoped strippers; both now use one helper that also removes the bidirectional overrides and isolates,LRM/RLM, and the Unicode line and paragraph separators. A name or value copied out of an untrusted config file or a fetched repository can no longer reorder or forge the diagnostic line it appears in. - Prototype-pollution keys are filtered out of the
permissionspassthrough on both the generate and the import path.
Dependencies
- Bumped the
all-dependenciesgroup with 77 updates. (#2717) - Bumped
anomalyco/opencode/githubin theall-actionsgroup. (#2716)