The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(kanban): import VALID_STATUSES from the workflow so kanban_db does not grow
kshitijk4poor0b61278197e5
diff --git a/hermes_cli/kanban_db.py b/hermes_cli/kanban_db.pyindex ce622333c32..8992fc39807 100644--- a/hermes_cli/kanban_db.py+++ b/hermes_cli/kanban_db.py@@ -29,7 +29,7 @@ from dataclasses import dataclassfrom pathlib import Pathfrom typing import Any, Iterable, Optional-from hermes_cli import kanban_workflow+from hermes_cli.kanban_workflow import DEFAULT_STATUSES as VALID_STATUSESfrom toolsets import get_toolset_names_log = logging.getLogger(__name__)@@ -104,8 +104,6 @@ def _git_out(cwd: Path, *args: str, timeout: int = 30) -> Optional[str]:# --- Constants ----# Derived from the one workflow definition (``kanban_workflow``).-VALID_STATUSES = kanban_workflow.DEFAULT_STATUSESVALID_INITIAL_STATUSES = {"running", "blocked"}# Typed block reasons (routing in ``_route_block``); ``None`` = legacy un-typed.