The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(kanban): expose task runtime limit in JSON
fangliquanflq1a4c68ce97e6
diff --git a/hermes_cli/kanban_output.py b/hermes_cli/kanban_output.pyindex c5abcce0c85..ed8ccf266e3 100644--- a/hermes_cli/kanban_output.py+++ b/hermes_cli/kanban_output.py@@ -19,7 +19,7 @@ _TASK_DICT_FIELDS = ("id", "title", "body", "assignee", "status", "priority", "tenant","workspace_kind", "workspace_path", "branch_name", "project_id","created_by", "created_at", "started_at", "completed_at", "result",- "skills", "max_retries", "model_override", "provider_override",+ "skills", "max_runtime_seconds", "max_retries", "model_override", "provider_override","session_id", "workflow_template_id", "current_step_key", "completion_contract", "last_failure_error",)_SHOW_RUN_FIELDS = (diff --git a/tests/hermes_cli/test_kanban_cli.py b/tests/hermes_cli/test_kanban_cli.pyindex 7ffee70c80c..c00bfed210e 100644--- a/tests/hermes_cli/test_kanban_cli.py+++ b/tests/hermes_cli/test_kanban_cli.py@@ -59,6 +59,17 @@ def test_kanban_list_json_includes_session_id(kanban_home):)+def test_kanban_show_json_includes_runtime_limit(kanban_home):+ with kbc.connect() as conn:+ task_id = kb.create_task(+ conn, title="bounded task", max_runtime_seconds=2700+ )++ payload = json.loads(kc.run_slash(f"show {task_id} --json"))++ assert payload["task"]["max_runtime_seconds"] == 2700++def test_kanban_show_text_renders_graph_with_open_connection(kanban_home):with kbc.connect_closing() as conn:parent_id = kb.create_task(conn, title="parent task")