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
- Open dashboard → Kanban tab → click + on any column
- Click workspace select (shows scratch, worktree, dir)
- Select worktree or dir
- 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) [dd0923b]
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
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.
Steps to Reproduce
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) [dd0923b]
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?