docs(openapi): document agent/pending-actions approval-queue routes - #9416
docs(openapi): document agent/pending-actions approval-queue routes#9416bitfathers94 wants to merge 1 commit into
Conversation
The three agent/pending-actions routes (list, propose, decide) were missing from the OpenAPI spec while their agent/audit-feed neighbor was documented. Add ListPendingActionsResponse/ProposeActionRequest/ProposeActionResponse/ DecidePendingActionResponse schemas mirroring the MCP tool shapes, register the GET and two POST paths, regenerate openapi.json, and add a parity test asserting each documented shape matches its MCP tool output.
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-27 17:32:50 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.
|
|
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 #9416 +/- ##
==========================================
+ Coverage 75.51% 76.09% +0.58%
==========================================
Files 275 278 +3
Lines 58032 59591 +1559
Branches 6209 6456 +247
==========================================
+ Hits 43820 45343 +1523
- Misses 13942 13955 +13
- Partials 270 293 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
LoopOver is closing this pull request on the maintainer's behalf (conflicts with the base branch — resolve and open a fresh PR). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
…9307) (#9426) 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 #9416 on current main. Co-authored-by: Andriy Polanski <andriy.polanski@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>


docs(openapi): document agent/pending-actions approval-queue routes
The three agent/pending-actions routes (list, propose, decide) were missing
from the OpenAPI spec while their agent/audit-feed neighbor was documented.
Add ListPendingActionsResponse/ProposeActionRequest/ProposeActionResponse/
DecidePendingActionResponse schemas mirroring the MCP tool shapes, register
the GET and two POST paths, regenerate openapi.json, and add a parity test
asserting each documented shape matches its MCP tool output.
Closes #9307
Validation
Verified locally on this branch before opening:
npm run typechecknpx turbo run build:tsc build:verifynpm run test:coverage— patch coverage 100.0% of changed lines