fix(mcp): honor --help for analyze-branch and preflight#6326
Conversation
Both commands previously skipped the --help check that every sibling subcommand uses, so `loopover-mcp analyze-branch --help` required --login and hit git/network instead of printing usage. Closes JSONbored#6256 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-16 04:27:35 UTC
Review summary Nits — 5 non-blocking
Flagged checks (non-blocking)
Decision drivers
Context & advisory signals — never blocks the verdict
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://gittensory.aethereal.dev/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.
|
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
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 #6326 +/- ##
=======================================
Coverage 95.60% 95.60%
=======================================
Files 596 596
Lines 47121 47121
Branches 14999 14999
=======================================
Hits 45049 45049
Misses 1290 1290
Partials 782 782
Flags with carried forward coverage won't be shown. Click here to find out more. |
Summary
--helpearly-return otherloopover-mcpsubcommands already use foranalyze-branchandpreflight, before--login/ git+network work begins.loopover-mcp analyze-branch --helpandloopover-mcp preflight --helpnow print the shared usage text fromprintHelp()instead of failing on a missing login.#6256).Closes #6256
Scope
packages/loopover-mcp/bin/loopover-mcp.js+ matching unit testprintHelp()output (already documents both commands)Validation
test/unit/mcp-cli-analyze-branch.test.ts)#6256Safety
Made with Cursor