fix(openapi): document agent/pending-actions approval-queue routes - #9426
Conversation
…SONbored#9307) The list/propose/decide pending-actions routes were live (and MCP-backed) but absent from OpenAPI while agent/audit-feed was documented. Add response + propose request schemas mirroring the MCP tool shapes, register the three paths, regenerate openapi.json, and add a parity regression test. Replaces conflict-closed JSONbored#9416 on current main. Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9426 +/- ##
==========================================
+ Coverage 75.51% 76.10% +0.59%
==========================================
Files 275 278 +3
Lines 58032 59625 +1593
Branches 6209 6456 +247
==========================================
+ Hits 43820 45377 +1557
- Misses 13942 13955 +13
- Partials 270 293 +23
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 18:22:30 UTC
Review summary Nits — 3 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.
|


Summary
ListPendingActionsResponse,ProposeActionRequest/ProposeActionResponse, andDecidePendingActionResponseschemas mirroring the MCP tool shapes.GET+POST /agent/pending-actionsandPOST /agent/pending-actions/{id}/{decision}next to the documentedagent/audit-feedneighbor.apps/loopover-ui/public/openapi.json.Why #9416 closed
PR #9416 had green CI and no review blockers, but was auto-closed for a base-branch conflict after other OpenAPI work landed on
main(e.g.#9417,#9421). This is a fresh reimplementation on currentmain.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 ui:openapi+npm run ui:openapi:checknpx vitest run test/unit/openapi.test.ts— 6 passednpm run test:ci(full gate; run before push)If any required check was skipped, explain why:
OpenAPI documentation + regeneration + targeted contract test complete. Full
test:cileft for CI on this PR.Safety
site/,CNAME,**/lovable/**, or rootCHANGELOG.md.UI Evidence
N/A — OpenAPI contract / generated
openapi.jsononly; no product UI change.Notes for reviewers / gate
{id}/{decision}); only propose has a JSON request body (owner/repo stay path params).Made with Cursor