github/spec-kit · error · ValueError

Installed workflow owner is unavailable; cannot safely resum

Error message

Installed workflow owner is unavailable; cannot safely resume

What it means

Error "Installed workflow owner is unavailable; cannot safely resume" thrown in github/spec-kit.

Source

Thrown at src/specify_cli/workflows/_commands.py:163

    external workflow-file invocation) -- see ``workflow_run``. The common
    case (an installed workflow run from its own project) stores ``None``,
    so a later project rename/move is transparently picked up here by
    falling back to the *current* ``project_root`` instead of a stale
    absolute path baked in at run start.

    A persisted cross-project root that no longer exists cannot be safely
    rediscovered and must fail closed instead of consulting the unrelated
    project that happens to store the run state.
    """
    if installed_registry_root:
        candidate = Path(installed_registry_root)
        if (
            candidate.is_absolute()
            and not _path_has_symlink_component(candidate)
            and candidate.is_dir()
        ):
            return candidate
        raise ValueError(
            "Installed workflow owner is unavailable; cannot safely resume"
        )
    return project_root


def _parse_input_values(
    input_values: list[str] | None, *, json_output: bool = False
) -> dict[str, Any]:
    """Parse repeated ``key=value`` CLI inputs into a dict.

    Shared by ``workflow run`` and ``workflow resume``. Exits with an error
    on any entry missing ``=``.
    """
    inputs: dict[str, Any] = {}
    for kv in input_values or []:
        if "=" not in kv:
            _error_console(json_output).print(
                f"[red]Error:[/red] Invalid input format: {kv!r} (expected key=value)"

View on GitHub (pinned to bf88c9f9a8)

Solutions

  1. Reinstall the workflow so its owner metadata is restored, then retry the resume.

When it happens

Trigger: Thrown at src/specify_cli/workflows/_commands.py:163 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of github/spec-kit@bf88c9f9a8 (2026-08-14). Data as JSON: /api/errors/457f5bd5292b39ff. Report an issue: GitHub.