{"slug":"codex-cli-draft-a-test-plan-for-a-bug","title":"Draft a test plan for a bug","summary":"Codex CLI handles this as a draft: Cases, including the one that should fail today. Do not merge.","agent":"Codex CLI","agentSlug":"codex-cli","category":"Coding","categorySlug":"coding","roles":["Software engineer"],"roleSlugs":["software-engineer"],"industries":["Software"],"industrySlugs":["software"],"jobs":["code-review"],"topic":"Dev & Coding","topicSlug":"dev-and-coding","score":17,"difficulty":"easy","estCost":"One individual paid plan is usually enough for a short run.","costTier":"low","timeSaved":"Half an hour","prompt":"You are working as Codex CLI on one playbook.\n\nTask: Cases, including the one that should fail today.\n\nRules:\n- Use only sources I give you. If a file, page, or number is missing, write unknown.\n- Do not invent URLs, prices, or names.\n- Stop rule: Do not merge.\n\nReturn the work product first, then a short list of what you did not do because of the stop rule, and the single decision I still have to make.","steps":[{"title":"Open Codex CLI where the source material already lives","detail":"Use the account, repo, or folder that has the real files. If you cannot see them, stop."},{"title":"Paste the prompt and name the exact input","detail":"Cases, including the one that should fail today."},{"title":"Check three facts against the source","detail":"A wrong date, amount, or name means the draft is not ready."},{"title":"Keep the stop rule","detail":"Do not merge."}],"sourceUrl":"https://learn.chatgpt.com/docs/codex/cli","sourceNote":"The Codex CLI docs returned HTTP 200 on 16 Oct 2026. This playbook is an original unverified reconstruction.","date":"2026-10-14","verified":false,"status":"unverified","sponsorUrl":"","metrics":[{"label":"Hands-on time","value":"Half an hour"},{"label":"You still approve","value":"Do not merge."}],"faq":[{"question":"Has this Codex CLI playbook been re-run for the catalog?","answer":"No. It is an unverified reconstruction. The source URL was checked on 16 Oct 2026."},{"question":"What stays human?","answer":"Do not merge."}],"url":"https://aiplaybookgems.com/usecases/codex-cli-draft-a-test-plan-for-a-bug","jsonUrl":"https://aiplaybookgems.com/api/usecases/codex-cli-draft-a-test-plan-for-a-bug"}