diff --git a/developers/agent-api-openapi.yaml b/developers/agent-api-openapi.yaml index c7d22e015..ee7cd37d7 100644 --- a/developers/agent-api-openapi.yaml +++ b/developers/agent-api-openapi.yaml @@ -15090,6 +15090,7 @@ components: - run_id - title - stage + - blueprint_stage - created_at - updated_at properties: @@ -15141,7 +15142,20 @@ components: - 'null' description: Optional description of the task. stage: - $ref: '#/components/schemas/FactoryTaskStage' + allOf: + - $ref: '#/components/schemas/FactoryTaskStage' + deprecated: true + description: | + Legacy task lifecycle stage that does not track Blueprint progress. + Use blueprint_stage instead. + blueprint_stage: + type: + - string + - 'null' + description: | + The task's current stage in its Blueprint (for example, work/implement). + Null if the task has no Blueprint, routing is unavailable, or the + Blueprint has not started or has completed. created_at: type: string format: date-time