hermes - 💡(How to fix) Fix [Bug]: Kanban Dashboard task creation — workspace select reverts to "scratch" on choosing "dir" or "worktree"

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…

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root cause: dist/index.js line ~2251 uses a raw DOM-event handler for the custom Select primitive:

Fix Action

Fix / Workaround

javascript // CORRECT — handles both raw-value and event-object dispatch onChange: function (e) { const v = e && e.target ? e.target.value : e; setter(v == null ? "" : v); }

Patch (verified on local install): javascript // dist/index.js, InlineCreate component workspace Select onChange: function(e){const v=e&&e.target?e.target.value:e;setWorkspaceKind(v==null?"":v);},

Code Example

Not including for privacy.

---
RAW_BUFFERClick to expand / collapse

Bug Description

In the Kanban dashboard tab, the inline create form's workspace dropdown silently reverts to scratch when selecting dir or worktree. No console errors. Backend receives workspace_kind: "scratch" regardless of user selection.

Root cause:
dist/index.js line ~2251 uses a raw DOM-event handler for the custom Select primitive:

javascript
// BROKEN — Select component passes raw value string, not an event
onChange: function (e) { setWorkspaceKind(e.target.value); },


The codebase already has a safe wrapper pattern elsewhere:

javascript
// CORRECT — handles both raw-value and event-object dispatch
onChange: function (e) {
    const v = e && e.target ? e.target.value : e;
    setter(v == null ? "" : v);
}


The inline create form was compiled without that guard.

Backend is fine: CLI hermes kanban create --workspace worktree and --workspace dir:/path work correctly, as does the kanban_create tool. This is purely a compiled-dashboard frontend bug.

Patch (verified on local install):
javascript
// dist/index.js, InlineCreate component workspace Select
onChange: function(e){const v=e&&e.target?e.target.value:e;setWorkspaceKind(v==null?"":v);},


Suggested fix: Rebuild the dashboard bundle from source, ensuring the inline create workspace select uses the same safe event normalizer as the rest of the component tree.

Environment:
- Hermes agent latest (macOS, May 2026)
- Chromium-based browser, reproduced after hard refresh
- Gateway running, profiles default and engineer present

Steps to Reproduce

  1. Open dashboard → Kanban tab → click + on any column
  2. Click workspace select (shows scratch, worktree, dir)
  3. Select worktree or dir
  4. Select closes, value stays scratch

Expected Behavior

Select control selects the chosen item

Actual Behavior

Reverts back to 'Scratch'

Affected Component

Other

Messaging Platform (if gateway-related)

No response

Debug Report

Not including for privacy.

Operating System

macOS Tahoe 26.4.1

Python Version

3.11.15

Hermes Version

0.13.0 (2026.5.7) [dd0923bb]

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

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