Follow-up to #119 (docgen#6 slice 3). Fixes the first of the two weaknesses I named after #119.
Cursor.GET /v1/internal/intake/pending takes after=<entry id>. The list spans all workspaces, oldest first. Without a cursor, entries that keep waiting in one workspace (no receiving workflow, Werkmeister not booked) could fill every page, and those of all other workspaces would never be read. The reader now pages on with the last id it got.
capture_settled on every item. A reader that pages on can hold a supplement back until its capture is handed over, even when the capture was on an earlier page.
Compatible. Without after the route answers as before, so werkmeister#70 on stage keeps working until its own follow-up uses the cursor.
Tests: the store contract on memory and Postgres (paging, capture_settled for open and settled captures), plus HTTP validation of after.
Follow-up to #119 (docgen#6 slice 3). Fixes the first of the two weaknesses I named after #119.
- **Cursor.** `GET /v1/internal/intake/pending` takes `after=<entry id>`. The list spans all workspaces, oldest first. Without a cursor, entries that keep waiting in one workspace (no receiving workflow, Werkmeister not booked) could fill every page, and those of all other workspaces would never be read. The reader now pages on with the last id it got.
- **`capture_settled` on every item.** A reader that pages on can hold a supplement back until its capture is handed over, even when the capture was on an earlier page.
- **Compatible.** Without `after` the route answers as before, so werkmeister#70 on stage keeps working until its own follow-up uses the cursor.
Tests: the store contract on memory and Postgres (paging, capture_settled for open and settled captures), plus HTTP validation of `after`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
The pending list is across workspaces, oldest first; entries that keep
waiting in one workspace (no receiving workflow, not booked) could fill
every page and hide those of all others. GET /v1/internal/intake/pending
takes after=<entry id>, so the reader pages on with the last id it got.
Each item says whether its report's capture is settled
(capture_settled), so a reader paging on can hold a supplement back
until its capture is handed over, also when the capture was on an
earlier page. Without after the route answers as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf
sharang
merged commit 9ded1abf31 into main2026-11-10 09:57:01 +00:00
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.
Follow-up to #119 (docgen#6 slice 3). Fixes the first of the two weaknesses I named after #119.
GET /v1/internal/intake/pendingtakesafter=<entry id>. The list spans all workspaces, oldest first. Without a cursor, entries that keep waiting in one workspace (no receiving workflow, Werkmeister not booked) could fill every page, and those of all other workspaces would never be read. The reader now pages on with the last id it got.capture_settledon every item. A reader that pages on can hold a supplement back until its capture is handed over, even when the capture was on an earlier page.afterthe route answers as before, so werkmeister#70 on stage keeps working until its own follow-up uses the cursor.Tests: the store contract on memory and Postgres (paging, capture_settled for open and settled captures), plus HTTP validation of
after.🤖 Generated with Claude Code
https://claude.ai/code/session_014aRnCGqELxoix5TfpX8Ejf