Skip to content

fix(plugin): honor CODINGBUDDY_HUD_STATE_FILE for clarification budget#1434

Merged
JeremyDev87 merged 1 commit into
masterfrom
fix/hud-state-file-clarification-budget-1433
Apr 8, 2026
Merged

fix(plugin): honor CODINGBUDDY_HUD_STATE_FILE for clarification budget#1434
JeremyDev87 merged 1 commit into
masterfrom
fix/hud-state-file-clarification-budget-1433

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Pass CODINGBUDDY_HUD_STATE_FILE env var to read_hud_state() and update_hud_state() in standalone clarification budget persistence
  • Previously, custom HUD state path was ignored causing questionBudget to not decrement across clarification rounds
  • Add 2 regression tests: custom path budget decrement (3→2→1) and default path behavior preservation

Test plan

  • TestClarificationBudgetHudFile::test_custom_hud_file_budget_decrements — verifies budget decrements with custom HUD file
  • TestClarificationBudgetHudFile::test_default_path_still_works — verifies default path behavior unchanged
  • Full test suite: 49/52 passed (3 pre-existing standalone failures unrelated to this change)
  • All CI checks passed: lint, format, typecheck, test:coverage (100%), circular, build
  • Security audit: no issues across all workspaces

Closes #1433

#1433)

- Pass CODINGBUDDY_HUD_STATE_FILE env var to read_hud_state() and
  update_hud_state() in standalone clarification budget persistence
- Previously, custom HUD state path was ignored causing budget to
  not decrement across clarification rounds
- Add regression tests for custom path budget decrement (3→2→1)
  and default path behavior preservation

Closes #1433
@JeremyDev87 JeremyDev87 added fix plugin packages/claude-code-plugin P1 Priority 1: First Impression labels Apr 8, 2026
@vercel

vercel Bot commented Apr 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 8, 2026 8:33am

@JeremyDev87 JeremyDev87 self-assigned this Apr 8, 2026
@JeremyDev87 JeremyDev87 merged commit e4c4fd1 into master Apr 8, 2026
29 checks passed
@JeremyDev87 JeremyDev87 deleted the fix/hud-state-file-clarification-budget-1433 branch April 8, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix P1 Priority 1: First Impression plugin packages/claude-code-plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(plugin): honor CODINGBUDDY_HUD_STATE_FILE when persisting standalone clarification question budget

1 participant