Skip to content

refactor(config): isolate global MCP and skills config / 重构配置:隔离全局 MCP 和 Skills 配置#3328

Closed
SivanCola wants to merge 29 commits into
main-v2from
sivancola_0606_dev
Closed

refactor(config): isolate global MCP and skills config / 重构配置:隔离全局 MCP 和 Skills 配置#3328
SivanCola wants to merge 29 commits into
main-v2from
sivancola_0606_dev

Conversation

@SivanCola
Copy link
Copy Markdown
Collaborator

Summary

  • move user config/state paths to ~/.reasonix and split MCP/skills into mcp.toml and skills.toml
  • stop loading project-level config, MCP, skills, commands, and .env as runtime config sources
  • add migration/import/doctor support plus backups and diagnostics for legacy files
  • update CLI, controller, skill, and desktop MCP consumers to write the new global files

Tests

  • go test ./internal/cli ./internal/config ./internal/skill ./internal/boot ./internal/control ./internal/doctor

Notes

  • Desktop module tests require frontend/dist embed output; Go semantic changes were checked by focused package tests.

@SivanCola SivanCola requested a review from esengine as a code owner June 6, 2026 05:19
@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 6, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ca501cea45

ℹ️ 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".

Comment thread internal/cli/cli.go Outdated
Comment thread internal/config/migrate.go
@SivanCola SivanCola changed the title refactor(config): isolate global MCP and skills config refactor(config): isolate global MCP and skills config / 重构配置:隔离全局 MCP 和 Skills 配置 Jun 6, 2026
@SivanCola
Copy link
Copy Markdown
Collaborator Author

Updated this PR by merging the capability installer work from #3292 into sivancola_0606_dev.

Merge notes:

  • Preserved the isolated global MCP/skills config layout from this branch.
  • Adapted install_source persistence to write MCP servers to mcp.toml and skill roots to skills.toml.
  • Kept subagent model/effort profile wiring from the remote sivancola_0606_dev head.

Local verification passed:

  • go test ./internal/config ./internal/installsource ./internal/boot ./internal/skill ./internal/agent -count=1
  • go test ./... -count=1
  • go build ./...

@SivanCola SivanCola force-pushed the sivancola_0606_dev branch 2 times, most recently from e22fb78 to 4cdb498 Compare June 6, 2026 09:00
@SivanCola SivanCola force-pushed the sivancola_0606_dev branch from 4cdb498 to 24f8b72 Compare June 6, 2026 09:09
@SivanCola
Copy link
Copy Markdown
Collaborator Author

Superseded by the newly split main-v2 based PRs (#3365-#3370) and by narrower existing feature PRs such as #3292. This integration branch mixes multiple feature areas and overlaps with the new focused PR stack, so it is being closed to avoid duplicate review scope. If the global MCP/Skills config split still needs to land, it should be resubmitted as a narrow PR directly against main-v2.

@SivanCola SivanCola closed this Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant