fix(openapi): document /v1/loop idea/task-graph routes in the public spec (#9309)#9352
Conversation
…spec (JSONbored#9309) Five REST mirrors of the loopover_* idea/task-graph MCP tools were live in routes.ts but absent from OpenAPI. Register request/response schemas and paths for evaluate-escalation, results-payload, progress-snapshot, intake-idea, and plan-idea-claims (request-apr-transfer stays out of scope). 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 #9352 +/- ##
==========================================
+ Coverage 75.38% 75.52% +0.14%
==========================================
Files 275 277 +2
Lines 58023 58365 +342
Branches 6181 6188 +7
==========================================
+ Hits 43739 44080 +341
Misses 14014 14014
- Partials 270 271 +1
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:00:33 UTC
Review summary Nits — 5 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. Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. Scroll preview
A short scroll-through clip (desktop) — click either thumbnail to open the full animation. Evidence for scroll-linked behavior a single screenshot can't show. 🟩 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.
|
|
This pull request changes UI/visual code but its screenshot evidence is incomplete. Every required viewport × theme combination needs its own before/after image pair in a labeled table row (e.g. "Desktop · Light | before | after"). Still missing: Desktop · Dark, Tablet · Dark, Mobile · Dark. Please resubmit with the remaining rows filled in. See https://github.com/JSONbored/loopover/blob/main/.claude/skills/contributing-to-loopover/SKILL.md for the exact format and examples. This is an automated maintenance action. |
|
Hi, @JSONbored |
|
Hi, @JSONbored |


Summary
/v1/loop/*idea/task-graph routes, mirroring each route's MCP tool input/output shape fromsrc/mcp/server.ts.src/openapi/spec.ts(same pattern asGET .../gate-config/effective/ OpenAPI spec is missing GET /v1/repos/{owner}/{repo}/gate-config/effective (documented sibling: live-gate-thresholds) #6611).apps/loopover-ui/public/openapi.json.POST /v1/loop/request-apr-transfer(out of scope).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 --checknpx vitest run test/unit/openapi.test.ts— 4 passed (includes openapi: /v1/loop/* idea/task-graph family (5 routes, excl. request-apr-transfer) missing from spec #9309 regression)npm run ui:openapinpm run ui:openapi:checknpm run test:ci(full gate; run before push)If any required check was skipped, explain why:
OpenAPI schemas + path registration + regenerated artifact + regression test complete. Full
test:cileft for the opener.Safety
site/,CNAME,**/lovable/**, or rootCHANGELOG.md.UI Evidence
N/A — OpenAPI contract documentation only; no visible UI change.
Notes for reviewers / gate
evaluate-escalation,results-payload,progress-snapshot,intake-idea,plan-idea-claims.*OutputSchemainsrc/mcp/server.ts.