Move questions and reviews into the transcript; agents answer findings
This commit is contained in:
+17
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user