hermes - ✅(Solved) Fix [Bug]: Kanban agent crashing on task [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#18657Fetched 2026-05-03 04:55:10
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×3cross-referenced ×1

Error Message

Additional Logs / Traceback (optional)

Root Cause

It fails because SQlite only allows 1 process to access at a time, which leads me to think it should be tool calling but isn't.

Fix Action

Fixed

PR fix notes

PR #18670: Fix Kanban worker board DB handoff

Description (problem / solution / changelog)

Summary

  • pass the dispatcher's resolved Kanban DB path to spawned workers via HERMES_KANBAN_DB
  • make kanban_db_path() honor that override so worker tool calls keep using the dispatcher board across profile-specific HERMES_HOME values
  • add regressions for spawn env propagation and cross-profile kanban_show lookup

Fixes #18657

Test plan

  • scripts/run_tests.sh tests/tools/test_kanban_tools.py tests/hermes_cli/test_kanban_core_functionality.py::test_default_spawn_auto_loads_kanban_worker_skill tests/hermes_cli/test_kanban_core_functionality.py::test_default_spawn_appends_per_task_skills tests/hermes_cli/test_kanban_core_functionality.py::test_default_spawn_dedupes_kanban_worker_from_task_skills
  • git diff --check origin/main...HEAD

Changed files

  • hermes_cli/kanban_db.py (modified, +14/-4)
  • tests/hermes_cli/test_kanban_core_functionality.py (modified, +1/-0)
  • tests/tools/test_kanban_tools.py (modified, +33/-0)
  • tools/kanban_tools.py (modified, +2/-1)

Code Example

--- hermes dump ---
version:          0.12.0 (2026.4.30) [e5dad4ac]
os:               Linux 6.14.0-37-generic x86_64
python:           3.11.15
openai_sdk:       2.30.0
profile:          default
hermes_home:      ~/.hermes
model:            mimo-v2.5
provider:         custom
terminal:         local

api_keys:
  openrouter           set
  openai               not set
  anthropic            not set
  anthropic_token      not set
  nous                 not set
  google/gemini        not set
  gemini               not set
  glm/zai              not set
  zai                  not set
  kimi                 not set
  minimax              not set
  deepseek             not set
  dashscope            not set
  huggingface          not set
  nvidia               not set
  ai_gateway           set
  opencode_zen         not set
  opencode_go          not set
  kilocode             not set
  firecrawl            not set
  tavily               not set
  browserbase          not set
  fal                  not set
  elevenlabs           not set
  github               not set

features:
  toolsets:           hermes-cli
  mcp_servers:        0
  memory_provider:    built-in
  gateway:            running (systemd (user), pid 1079)
  platforms:          discord
  cron_jobs:          0 active / 0 total
  skills:             132

config_overrides:
  agent.max_turns: 60
  compression.threshold: 0.55
  display.streaming: True
  display.skin: daylight

---
RAW_BUFFERClick to expand / collapse

Bug Description

Is my "seo" agent supposed to mark kanban task complete directly by trying to manipulate the DB ?

It fails because SQlite only allows 1 process to access at a time, which leads me to think it should be tool calling but isn't.

full log - see line 384 : https://gist.github.com/flockonus/b20f411913dd37f3cec5e3a42f940b82#file-gistfile1-txt-L384

Steps to Reproduce

kanban init create a task there, assigned to seo which is a role we have set the gateway to run

Expected Behavior

well, you know, task completed

Actual Behavior

see description

Affected Component

Agent Core (conversation loop, context compression, memory)

Messaging Platform (if gateway-related)

No response

Debug Report

--- hermes dump ---
version:          0.12.0 (2026.4.30) [e5dad4ac]
os:               Linux 6.14.0-37-generic x86_64
python:           3.11.15
openai_sdk:       2.30.0
profile:          default
hermes_home:      ~/.hermes
model:            mimo-v2.5
provider:         custom
terminal:         local

api_keys:
  openrouter           set
  openai               not set
  anthropic            not set
  anthropic_token      not set
  nous                 not set
  google/gemini        not set
  gemini               not set
  glm/zai              not set
  zai                  not set
  kimi                 not set
  minimax              not set
  deepseek             not set
  dashscope            not set
  huggingface          not set
  nvidia               not set
  ai_gateway           set
  opencode_zen         not set
  opencode_go          not set
  kilocode             not set
  firecrawl            not set
  tavily               not set
  browserbase          not set
  fal                  not set
  elevenlabs           not set
  github               not set

features:
  toolsets:           hermes-cli
  mcp_servers:        0
  memory_provider:    built-in
  gateway:            running (systemd (user), pid 1079)
  platforms:          discord
  cron_jobs:          0 active / 0 total
  skills:             132

config_overrides:
  agent.max_turns: 60
  compression.threshold: 0.55
  display.streaming: True
  display.skin: daylight

Operating System

Ubuntu 25

Python Version

No response

Hermes Version

No response

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

extent analysis

TL;DR

The "seo" agent may be trying to directly manipulate the database, causing a conflict with SQLite's single-process access limitation, and a potential workaround is to use a tool or API to mark the kanban task as complete instead.

Guidance

  • Review the agent's code to determine if it's attempting to directly access the database, and consider using a tool or API to interact with the database instead.
  • Investigate the Agent Core component, specifically the conversation loop and context compression features, to see if there are any configuration options or workarounds that can help resolve the issue.
  • Check the hermes configuration and version to ensure that it's compatible with the sqlite database and the seo agent.
  • Consider adding error handling or logging to the agent's code to better understand the failure mode and identify potential solutions.

Notes

The provided information suggests that the issue may be related to the agent's interaction with the database, but without more details about the agent's code or the specific error message, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: The agent should be modified to use a tool or API to mark the kanban task as complete, rather than attempting to directly manipulate the database. This will help avoid conflicts with SQLite's single-process access limitation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix [Bug]: Kanban agent crashing on task [1 pull requests, 1 participants]