Repository navigation
Make nodespace mcp database-independent; remove external_tools_enabled - #3673
Conversation
Code Review SummaryVerdict: APPROVE, no blockers. I reviewed the diff against The change does what #3672 asks:
Bypass hunt on
FindingsCritical IssuesNone. Suggested Improvements
Nitpicks
FYI (out of scope, no change requested)
Acceptance criteria
|
|
Review addressed (review round 1: approve, no blockers).
|
Enablement is the client config mcp install writes, not a database setting. install/uninstall/status make no daemon connection and take no database; the server binds no database and acts on the active one at each call. A call naming --database, another --socket, or the database subcommand is refused, and NODESPACE_DATABASE is not passed to calls. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…he removed key Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
511d2ac to
3405a66
Compare
Closes #3672
Corrects #3664:
nodespace mcpno longer depends on a database.What changed
database-settings(flat type, category: settings) losesexternal_tools_enabled: schema,DatabaseSettingsFields, typed update, promoted fields, regenerated TypeScript. No migration or compatibility code; a flatnode updatenaming it is rejected as an undeclared key.mcp install/uninstall/statusmake no daemon connection, take no database and print no database label. The client configinstallwrites is the enablement;statusreports whether it is present (the installer'smcp-status).NODESPACE_DATABASEis no longer passed to calls.--database(either spelling), a--socketother than the server's own, or thedatabasesubcommand is refused; a printed deleteconfirm_command(which carries only--socket) still replays.enforce_enabledand their tests; replaced with active-database tests.mcptext) and SKILL.md updated;skill:genrun.Tests
Unit tests for argv building and child env, stdio integration tests (active database follows
database use, env ignored, refusals, delete replay, daemon down at start, install/status/uninstall with no daemon), removal of the field in types/core/daemon/app-lib/frontend tests. Each new test was mutation-checked.Documentation
database-settingssheet in node-types.md): https://github.com/NodeSpaceAI/nodespace-docs/pull/116; push just before merge.🤖 Generated with Claude Code