google-gemini/gemini-cli · error · ValueError

Missing 'workable_spec'

Error message

Missing 'workable_spec'

What it means

Error "Missing 'workable_spec'" thrown in google-gemini/gemini-cli.

Source

Thrown at tools/caretaker-agent/cloudrun/triage-worker/utils/validator.py:74

        comment = metadata.get("comment")
        if not isinstance(comment, str) or not comment.strip():
            metadata["comment"] = (
                "Thank you for opening this issue! Additional information (such as "
                "reproduction steps, environment details, or error logs) is required "
                "to help us triage and investigate. Please provide any relevant details "
                "so we can assist you."
            )

    if metadata.get("quality") == "OK":
        effort = metadata.get("effort_estimate")
        if effort not in ["SMALL", "MEDIUM", "LARGE"]:
            raise ValueError(
                f"Invalid or missing 'effort_estimate': {effort}"
            )

        spec = data.get("workable_spec")
        if not isinstance(spec, dict):
            raise ValueError("Missing 'workable_spec'")
        
        issue_id = spec.get("issue_id")
        pattern = r"^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+#[0-9]+$"
        valid_id = isinstance(issue_id, str) and bool(
            re.match(pattern, issue_id)
        )
        if not valid_id:
            raise ValueError(
                f"Invalid or missing 'issue_id' format: {issue_id}"
            )

        _assert_section_schema(spec, "summary", {
            "problem": str,
            "root_cause": str,
            "context": str,
        })
        _assert_section_schema(spec, "implementation_plan", {
            "files_to_modify": [str],

View on GitHub (pinned to 5024443c72)

When it happens

Trigger: Thrown at tools/caretaker-agent/cloudrun/triage-worker/utils/validator.py:74 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of google-gemini/gemini-cli@5024443c72 (2026-08-12). Data as JSON: /api/errors/4c191c7f37ff6d30. Report an issue: GitHub.