Skip to content

fix(kanban): don't crash workers when kanban-worker skill is absent (#27372)#28405

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-de55f5dd
May 19, 2026
Merged

fix(kanban): don't crash workers when kanban-worker skill is absent (#27372)#28405
teknium1 merged 1 commit into
mainfrom
hermes/hermes-de55f5dd

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvages #27372 by @oemtalks.

Dispatcher unconditionally injected --skills kanban-worker into every worker spawn, but worker profiles sometimes don't have that bundled skill — fatal at CLI startup (ValueError: Unknown skill(s): kanban-worker). Adds _kanban_worker_skill_available(hermes_home) helper and gates the flag on actual resolvability. KANBAN_GUIDANCE still ships the MANDATORY lifecycle via system prompt, so omitting the optional pattern library is safe.

Original branch was severely stale; applied the substantive change manually onto current main. Authorship preserved via rebase merge.

…is absent

Salvages #27372 by @oemtalks. The dispatcher unconditionally injected
`--skills kanban-worker` into every worker spawn, but worker profiles
sometimes don't have that bundled skill in their skills dir, which is
fatal at CLI startup (`ValueError: Unknown skill(s): kanban-worker`).

Adds `_kanban_worker_skill_available(hermes_home)` and only injects the
flag when the skill resolves. The MANDATORY lifecycle still ships via
KANBAN_GUIDANCE in the system prompt, so omitting the flag is safe.
@teknium1 teknium1 merged commit b9d38a5 into main May 19, 2026
@teknium1 teknium1 deleted the hermes/hermes-de55f5dd branch May 19, 2026 03:32
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins labels May 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-de55f5dd vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 8813 on HEAD, 8813 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 4625 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants