Skip to content

fix(plugin): make status bar actor badge fall back to hud_state.activeAgent#1339

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775315752/pane-1
Apr 4, 2026
Merged

fix(plugin): make status bar actor badge fall back to hud_state.activeAgent#1339
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775315752/pane-1

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • resolve_agent()hud_state.activeAgent fallback 추가 (stdin → hud_state → env 순)
  • format_status_line()이 hud_state를 resolve_agent()에 전달하도록 수정
  • 9개 테스트 추가 (resolve_agent 6개, format_status_line 3개), 전체 99개 통과

Closes #1333

Test plan

  • python3 -m pytest tests/test_hud.py -v — 99 passed
  • stdin agent가 hud_state를 override 확인
  • hud_state agent가 env를 override 확인
  • 모든 소스 absent 시 빈 문자열 반환 확인

@vercel

vercel Bot commented Apr 4, 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 4, 2026 3:43pm

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Review complete — all CI checks pass

Changes:

  • resolve_agent() now accepts hud_state parameter with 3-tier fallback: stdin → hud_state.activeAgent → env
  • format_status_line() passes hud_state to agent resolution
  • 9 new/updated tests covering all fallback combinations

Clean, well-structured fix. LGTM.

@JeremyDev87 JeremyDev87 added fix sub-issue 상위 이슈의 하위 작업 priority:medium Medium priority labels Apr 4, 2026
@JeremyDev87 JeremyDev87 self-assigned this Apr 4, 2026
@JeremyDev87 JeremyDev87 merged commit 5934ca6 into master Apr 4, 2026
29 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775315752/pane-1 branch April 4, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix priority:medium Medium priority sub-issue 상위 이슈의 하위 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(plugin): make the status bar actor badge fall back to hud_state.activeAgent

1 participant