Panel voice picker: name the target project and harden workspace resolution #34
Labels
No labels
NaNs
area/audio
area/build
area/docs
area/dsh
area/engine
area/security
area/ui
needs-operator
priority/later
priority/next
priority/now
type/bug
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
dsh-plugins/dsh-whale-noises#34
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Operator reported that the voice "doesn't get linked to the workspace" after the picker moved into the tool-talk panel.
Investigation: on the current build the link works end-to-end (panel pick → mapping by session cwd → announcement engine/voice = selected; verified over CDP, the operator heard GLaDOS). Two ambiguity/robustness issues stood out:
sessionCwdreturned undefined for sessions without a cwd summary (blank/subagent), so an override could be dropped silently.Fix: show
Voice · <project>in the panel row; fall back to the workspace owner list for cwd; log one line when an override is saved or cannot be saved.Acceptance: label names the active project; mapping still persists per workspace; a failed save is visible in the console.
Landed (
e8bdb93).Voice · default-workspace(orVoice · no chatwhen nothing is active).sessionCwdfalls back to the workspace owner list for blank/subagent sessions, so the mapping isn't dropped when a session has no cwd summary.setWorkspaceVoicelogsworkspace voice saved { project, engine, voice }on success and a warning when it cannot resolve a workspace.engine: piper, voice: de_DE-glados-medium→ audio chunk (the operator heard GLaDOS). 201 tests,npm run checkgreen.Root cause of the report is most likely one of: (a) the panel picker binds to the active chat's project, not the workspaces of the notes shown; (b) the server GUI checkout is still at
34e0b56(pre-dates picker/mapping), so if tested there none of this exists. Closing the code-side clarity fix; if it still fails on a current build, reopen with the browser/GUI and the console line.