Part of #1006: the next group of the OpenAPI description, covering the inbox routes. This branch is stacked on #1022. Until that is merged, it also contains #1022's commit. After the squash merge it gets updated with main, and the diff shrinks to this group.
What changes
The 5 inbox paths are registered through routes! and described by #[utoipa::path] (tag "Inbox"):
the buckets and cards (target, bucket, limit)
deciding on a card
undoing a decision
putting a card off, and taking that back ({key})
InboxQuery is a schema. The bodies (DecideRequest, UndoRequest, SnoozeRequest) are core types, so they stay objects with a description.
undescribed_routes.txt goes from 31 to 26 paths.
Checks
cargo fmt --check and clippy with the CI flags pass.
The agent's API unit tests pass.
Every agent integration test binary passes against Mongo 7.
I dumped the spec and checked each operation's summary, parameters and body.
Part of #1006: the next group of the OpenAPI description, covering the inbox routes. **This branch is stacked on #1022.** Until that is merged, it also contains #1022's commit. After the squash merge it gets updated with main, and the diff shrinks to this group.
## What changes
- The 5 inbox paths are registered through `routes!` and described by `#[utoipa::path]` (tag "Inbox"):
- the buckets and cards (`target`, `bucket`, `limit`)
- deciding on a card
- undoing a decision
- putting a card off, and taking that back (`{key}`)
- `InboxQuery` is a schema. The bodies (`DecideRequest`, `UndoRequest`, `SnoozeRequest`) are core types, so they stay objects with a description.
- `undescribed_routes.txt` goes from 31 to 26 paths.
## Checks
- `cargo fmt --check` and clippy with the CI flags pass.
- The agent's API unit tests pass.
- Every agent integration test binary passes against Mongo 7.
- I dumped the spec and checked each operation's summary, parameters and body.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
The 5 inbox paths are described from their handlers (tag "Inbox"): the
buckets and cards, deciding on a card, undoing a decision, putting a
card off and taking that back. InboxQuery is a schema; the bodies are
core types and stay objects with a description. undescribed_routes.txt
drops to 26 paths, the CVE/VEX and pentest routes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #1006: the next group of the OpenAPI description, covering the inbox routes. This branch is stacked on #1022. Until that is merged, it also contains #1022's commit. After the squash merge it gets updated with main, and the diff shrinks to this group.
What changes
routes!and described by#[utoipa::path](tag "Inbox"):target,bucket,limit){key})InboxQueryis a schema. The bodies (DecideRequest,UndoRequest,SnoozeRequest) are core types, so they stay objects with a description.undescribed_routes.txtgoes from 31 to 26 paths.Checks
cargo fmt --checkand clippy with the CI flags pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
8caf01ca07to9a7ed800c9