{"record":{"id":"4c191c7f37ff6d30","repo":"google-gemini/gemini-cli","slug":"missing-workable-spec","errorCode":null,"errorMessage":"Missing 'workable_spec'","messagePattern":"Missing 'workable_spec'","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"tools/caretaker-agent/cloudrun/triage-worker/utils/validator.py","lineNumber":74,"sourceCode":"        comment = metadata.get(\"comment\")\n        if not isinstance(comment, str) or not comment.strip():\n            metadata[\"comment\"] = (\n                \"Thank you for opening this issue! Additional information (such as \"\n                \"reproduction steps, environment details, or error logs) is required \"\n                \"to help us triage and investigate. Please provide any relevant details \"\n                \"so we can assist you.\"\n            )\n\n    if metadata.get(\"quality\") == \"OK\":\n        effort = metadata.get(\"effort_estimate\")\n        if effort not in [\"SMALL\", \"MEDIUM\", \"LARGE\"]:\n            raise ValueError(\n                f\"Invalid or missing 'effort_estimate': {effort}\"\n            )\n\n        spec = data.get(\"workable_spec\")\n        if not isinstance(spec, dict):\n            raise ValueError(\"Missing 'workable_spec'\")\n        \n        issue_id = spec.get(\"issue_id\")\n        pattern = r\"^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+#[0-9]+$\"\n        valid_id = isinstance(issue_id, str) and bool(\n            re.match(pattern, issue_id)\n        )\n        if not valid_id:\n            raise ValueError(\n                f\"Invalid or missing 'issue_id' format: {issue_id}\"\n            )\n\n        _assert_section_schema(spec, \"summary\", {\n            \"problem\": str,\n            \"root_cause\": str,\n            \"context\": str,\n        })\n        _assert_section_schema(spec, \"implementation_plan\", {\n            \"files_to_modify\": [str],","sourceCodeStart":56,"sourceCodeEnd":92,"githubUrl":"https://github.com/google-gemini/gemini-cli/blob/5024443c7217464a66e98f80d73172a26440bd8f/tools/caretaker-agent/cloudrun/triage-worker/utils/validator.py#L56-L92","documentation":"Error \"Missing 'workable_spec'\" thrown in google-gemini/gemini-cli.","triggerScenarios":"Thrown at tools/caretaker-agent/cloudrun/triage-worker/utils/validator.py:74 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5024443c7217464a66e98f80d73172a26440bd8f","analyzedAt":"2026-08-12T06:01:53.711Z","schemaVersion":2},"datasetVersion":"2026-08-12T13:17:24.610Z"}