Skip to content

feat: scope persona selections and global settings by source - #11460

Open
Soulter wants to merge 6 commits into
codex/mcp-server-configurationfrom
codex/source-scoped-capability-settings
Open

Soulter wants to merge 6 commits into
codex/mcp-server-configurationfrom
codex/source-scoped-capability-settings

Conversation

@Soulter

@Soulter Soulter commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Save persona tools and skills by source in the existing JSON columns. Keep reading and editing legacy names, and provide an upgrade preview that omits unmatched legacy selections and lets users resolve ambiguous matches before saving.
  • Store global plugin, tool, and skill switches and tool permissions in SQLite under source-qualified resource keys. Main and delegated agents resolve explicit selections by source.
  • Use the configured MCP server name and the original tool name for persona selections and global settings. Recreating a server under the same name reuses any retained settings for matching tools.

Upgrade behavior

  • Copy existing global settings into SQLite compatibility records before retiring their original preference keys. Delete skills.json after SQLite has persisted its settings. If the import fails, the file remains in place.
  • Resolve legacy rules by their original names, including existing administrator restrictions. Explicit source-specific settings override legacy rules field by field.
  • Older versions cannot interpret newly saved persona groups or read the new global settings.

Validation

  • Ruff format and lint checks
  • 108 focused backend tests after the MCP key and API naming update
  • 9 further tests covering skill migration and file cleanup
  • Dashboard API client regeneration and TypeScript check

Stacked on #11408.

@sourcery-ai

sourcery-ai Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Sorry @Soulter, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 4 days and 6 hours by commenting @sourcery-ai review. Upgrade to get a review now.

@Soulter Soulter changed the title feat: persist source-scoped capability settings feat: scope persona selections and global settings by source Nov 28, 2026

This branch has not been deployed

No deployments
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