Task 010 implement research manifest flow

This commit is contained in:
2026-05-21 21:56:44 +03:00
parent 5b27d1a3ca
commit 7d4a79acb5
23 changed files with 1063 additions and 26 deletions
+103 -2
View File
@@ -1993,6 +1993,48 @@
"title": "ResearchArtifactSummary",
"type": "object"
},
"ResearchListResponse": {
"additionalProperties": false,
"properties": {
"evidence": {
"items": {
"$ref": "#/components/schemas/EvidenceSummary"
},
"title": "Evidence",
"type": "array"
},
"manifests": {
"items": {
"$ref": "#/components/schemas/ResearchArtifactManifestSummary"
},
"title": "Manifests",
"type": "array"
}
},
"title": "ResearchListResponse",
"type": "object"
},
"ResearchStartResponse": {
"additionalProperties": false,
"properties": {
"article": {
"$ref": "#/components/schemas/ArticleSummary"
},
"job": {
"$ref": "#/components/schemas/AgentJobSummary"
},
"manifest": {
"$ref": "#/components/schemas/ResearchArtifactManifestSummary"
}
},
"required": [
"article",
"job",
"manifest"
],
"title": "ResearchStartResponse",
"type": "object"
},
"ReviewActionResponse": {
"additionalProperties": false,
"properties": {
@@ -3951,6 +3993,65 @@
]
}
},
"/api/articles/{article_id}/research": {
"get": {
"operationId": "get_research_api_articles__article_id__research_get",
"parameters": [
{
"in": "path",
"name": "article_id",
"required": true,
"schema": {
"format": "uuid",
"title": "Article Id",
"type": "string"
}
},
{
"in": "header",
"name": "X-Demo-User-Email",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "X-Demo-User-Email"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ResearchListResponse"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"summary": "Get Research",
"tags": [
"plans"
]
}
},
"/api/articles/{article_id}/research/start": {
"post": {
"operationId": "post_start_research_api_articles__article_id__research_start_post",
@@ -3983,11 +4084,11 @@
}
],
"responses": {
"202": {
"201": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AgentJobListResponse"
"$ref": "#/components/schemas/ResearchStartResponse"
}
}
},