Skip to content

fix(local-agent): skip bind prompt for WorkBuddy ephemeral dirs and deduplicate per session - #271

Merged
jeff-r2026 merged 1 commit into
mainfrom
fix/bind-prompt-ephemeral-dedup
Jul 31, 2026
Merged

fix(local-agent): skip bind prompt for WorkBuddy ephemeral dirs and deduplicate per session#271
jeff-r2026 merged 1 commit into
mainfrom
fix/bind-prompt-ephemeral-dedup

Conversation

@jeff-r2026

Copy link
Copy Markdown
Collaborator

Summary

Closes #270

  • Skip bind prompt for WorkBuddy ephemeral task directories (WorkBuddy/YYYY-MM-DD-*) by detecting the path pattern in resolveWorkspacePath
  • Use DashboardEvent.sessionId instead of process.ppid for session-level dedup in both emitBindingHint and ensureWorkspaceBinding, preventing repeated prompts within the same session

Test plan

  • npx tsc --noEmit passes
  • npx vitest run src/__tests__/local-agent.test.ts — 62 tests pass (2 new)
  • npm run build succeeds

🤖 Generated with Claude Code

…eduplicate per session (#270)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jeff-r2026
jeff-r2026 merged commit aced24d into main Jul 31, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(mcp): skip bind prompt for WorkBuddy ephemeral task dirs and deduplicate per session

1 participant