Make every question blocking and drop inbox priority

This commit is contained in:
Ian Gulliver
2026-10-16 08:35:49 -07:00
parent 1427814014
commit 78cca2fcbe
25 changed files with 268 additions and 322 deletions
+5 -11
View File
@@ -715,7 +715,7 @@ paths:
get:
operationId: listInbox
description: >
Inbox items, highest priority first (blocked, gate, review, fyi), then oldest first.
Inbox items, oldest first.
Filters narrow the one query to a project's or a task's view.
parameters:
- { name: project_id, in: query, required: false, schema: { type: string } }
@@ -748,7 +748,7 @@ paths:
operationId: respondInbox
description: >
Answers one or more items in one submission. Answers reach the agent as one message once
it is idle and none of its blocking questions are unanswered.
it is idle and none of its questions are unanswered.
requestBody:
required: true
content:
@@ -873,10 +873,9 @@ components:
NotificationPrefs:
type: object
description: Which new inbox items and finished turns notify this user in their open byre pages.
required: [blocking_questions, questions, reports, errors, rate_limits]
required: [questions, reports, errors, rate_limits]
properties:
blocking_questions: { type: boolean, description: "Questions asked with blocking: true. On by default." }
questions: { type: boolean, description: Non-blocking questions. }
questions: { type: boolean, description: Questions. On by default. }
reports: { type: boolean, description: "Task turns that end with a summary (turn.ended with summary: true)." }
errors: { type: boolean, description: session_error items. }
rate_limits: { type: boolean, description: rate_limited items. }
@@ -1219,7 +1218,7 @@ components:
InboxItem:
type: object
required: [id, project_id, task_id, agent_session_id, thread_id, kind, priority, blocking, payload, state, created_at, responses, reviews]
required: [id, project_id, task_id, agent_session_id, thread_id, kind, payload, state, created_at, responses, reviews]
properties:
id: { type: string }
project_id: { type: string }
@@ -1227,11 +1226,6 @@ components:
agent_session_id: { type: string }
thread_id: { type: string }
kind: { type: string, enum: [question, session_error, rate_limited] }
priority:
type: string
enum: [blocked, gate, review, fyi]
x-enum-varnames: [Blocked, Gate, ReviewPriority, Fyi]
blocking: { type: boolean }
payload:
type: object
description: >