Move questions and reviews into the transcript; agents answer findings

This commit is contained in:
Ian Gulliver
2026-10-19 09:14:21 -07:00
parent eb7e0a13c4
commit 27ff0f457b
21 changed files with 903 additions and 801 deletions
+17 -3
View File
@@ -1526,7 +1526,7 @@ components:
Review:
type: object
description: An agent session on the vendor the task's agent doesn't use, reviewing one snapshot's change.
required: [id, task_id, snapshot_n, agent_session_id, vendor, model, state, error, created_at, finding_states]
required: [id, task_id, snapshot_n, agent_session_id, vendor, model, state, error, created_at, finding_states, finding_responses]
properties:
id: { type: string }
task_id: { type: string }
@@ -1547,6 +1547,20 @@ components:
type: object
description: "How the human addressed each finding, keyed by its index in result.findings; a finding not listed is open."
additionalProperties: { $ref: "#/components/schemas/FindingState" }
finding_responses:
type: object
description: "How the task's agent answered each finding with respond_to_finding, keyed by its index in result.findings; its latest answer wins."
additionalProperties: { $ref: "#/components/schemas/FindingResponse" }
FindingResponse:
type: object
required: [response, reason]
properties:
response:
type: string
enum: [fixing, ignoring]
x-enum-varnames: [FindingFixing, FindingIgnoring]
reason: { type: string, description: "What the agent is doing about it, or why it leaves it." }
FindingState:
type: string
@@ -1781,8 +1795,8 @@ components:
TaskTab:
type: string
enum: [transcript, board, changes, files, terminal, questions, reviews, workflow, project]
x-enum-varnames: [TabTranscript, TabBoard, TabChanges, TabFiles, TabTerminal, TabQuestions, TabReviews, TabWorkflow, TabProject]
enum: [transcript, board, changes, files, terminal, workflow, project]
x-enum-varnames: [TabTranscript, TabBoard, TabChanges, TabFiles, TabTerminal, TabWorkflow, TabProject]
TerminalSize:
type: object