-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Labels
area:cliCLI functionalityCLI functionalityarea:task-managementCore task management featuresCore task management featuresbugSomething isn't workingSomething isn't workingmedium-priorityImportant but not urgentImportant but not urgentprovider:openaiOpenAI/GPT modelsOpenAI/GPT models
Description
Description
When using Task Master v0.42 in a project where the three configured models (main, research, and fallback) are all set to gpt5.2, running PRD parsing fails. The process fails during Codex CLI object generation and exits with a non-zero status code.
Steps to Reproduce
-
Initialize Task Master in a project:
task-master init -
Configure the three models to all use
gpt5.2:main:gpt5.2research:gpt5.2fallback:gpt5.2
-
Run PRD parsing:
task-master parse-prd .\prd.md
Expected Behavior
task-master parse-prd .\prd.md should successfully parse the PRD and generate a structured JSON task list, then exit successfully.
Actual Behavior
The command fails with an API error (400 Bad Request). Codex CLI exits with code 1, causing Task Master to fail the PRD parsing step.
Screenshots or Logs
[ERROR] [codex-cli] Error event: unexpected status 400 Bad Request: {
"error": {
"message": "Invalid schema for response_format 'codex_output_schema': In context=('properties', 'metadata', 'anyOf', '0'), 'additionalProperties' is required to be supplied and to be false.",
"type": "invalid_request_error",
"param": "text.format.schema",
"code": "invalid_json_schema"
}
}
[ERROR] [codex-cli] Turn failed: unexpected status 400 Bad Request: {
"error": {
"message": "Invalid schema for response_format 'codex_output_schema': In context=('properties', 'metadata', 'anyOf', '0'), 'additionalProperties' is required to be supplied and to be false.",
"type": "invalid_request_error",
"param": "text.format.schema",
"code": "invalid_json_schema"
}
}
[ERROR] [codex-cli] Process exited with code 1 after 17156ms
[ERROR] Codex CLI object generation failed: Codex CLI exited with code 1 {"error":{"name":"AI_APICallError","url":"codex-cli://exec","requestBodyValues":{"prompt":"You are an AI assistant specialized in analyzing Product Requirements Documents (PRDs) and generating a structured, logically ordered, dependency-aware and sequenced list of development tasks in JSON "},"isRetryable":false,"data":{"exitCode":1,"stderr":"Warning: no last agent message; wrote empty content to C:\\Users\\31200\\AppData\\Local\\Temp\\codex-cli-qoOKJt\\last-message.txt\n","promptExcerpt":"You are an AI assistant specialized in analyzing Product Requirements Documents (PRDs) and generating a structured, logically ordered, dependency-aware and sequenced list of development tasks in JSON "}}}
[WARN] Attempt 1 failed for role main (generateObject / codex-cli): Codex CLI API error during object generation: Codex CLI exited with code 1
Environment
- Task Master version: v0.42
- Node.js version: v22.19.0
- Operating system: Windows 11
- IDE (if applicable): PowerShell
Additional Context
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:cliCLI functionalityCLI functionalityarea:task-managementCore task management featuresCore task management featuresbugSomething isn't workingSomething isn't workingmedium-priorityImportant but not urgentImportant but not urgentprovider:openaiOpenAI/GPT modelsOpenAI/GPT models
Projects
Status
Triage