fix(mcp): mirror loopover_clear_selftune_override in the CLI stdio package - #9361
Conversation
…ckage (JSONbored#9300) Add the write-side sibling of loopover_get_selftune_override_audit so CLI/stdio users can DELETE a live self-tune override with confirm:true, matching the remote MCP tool. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9361 +/- ##
==========================================
- Coverage 75.38% 74.59% -0.79%
==========================================
Files 275 276 +1
Lines 58023 60277 +2254
Branches 6181 7039 +858
==========================================
+ Hits 43739 44965 +1226
- Misses 14014 14737 +723
- Partials 270 575 +305
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-27 14:19:50 UTC
Review summary Nits — 6 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
loopover_clear_selftune_overrideto thepackages/loopover-mcptool catalog (maintainer) and aregisterStdioToolhandler that callsapiDelete(.../selftune/overrides, { confirm }), matching the remote MCP tool from feat(mcp): add an MCP tool mirroring DELETE selftune/overrides (clear self-tuned gate override) #8660 and the CLI audit mirror from feat(mcp): add remote + stdio + CLI surfaces for the selftune override audit #7997.confirmis schema-enforced asz.literal(true)— omitted/false inputs are rejected before any DELETE is sent.Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run build:mcpnpx vitest run test/unit/mcp-cli-clear-selftune-override.test.ts test/unit/mcp-tool-rename-aliases.test.ts— 12 passeddiff-covervsorigin/mainonpackages/loopover-mcp/bin/loopover-mcp.ts— 100% patch linesnpm run actionlintnpm run typechecknpm run test:coveragenpm audit --audit-level=moderateIf any required check was skipped, explain why:
CLI mirror of an existing REST/MCP tool; targeted MCP CLI + tool-count tests cover the happy path and confirm-rejection path. Full
test:cileft for CI.Safety
site/,CNAME,**/lovable/**, or rootCHANGELOG.md.UI Evidence
N/A — CLI/stdio MCP tool registration only; no visible UI change.
Notes for reviewers / gate
Made with Cursor