Skip to content

feat(plugin): extend HUD state schema for richer workflow snapshots (#1326)#1328

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

feat(plugin): extend HUD state schema for richer workflow snapshots (#1326)#1328
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775305982/pane-1

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Add phase, focus, executionStrategy, councilStatus, blockerCount, lastHandoff fields to HUD state schema
  • New fill_defaults kwarg on read_hud_state() for backward-compatible reads of older state files
  • _EXTENDED_DEFAULTS dict as single source of truth for default values

Test plan

  • test_init_includes_extended_fields — new fields present after init
  • test_update_extended_fields — partial update of extended fields
  • test_partial_update_preserves_other_extended_fields — multi-step updates
  • test_read_old_state_without_fill — raw read of old format
  • test_read_old_state_with_fill_defaults — back-fill missing keys
  • test_fill_defaults_does_not_overwrite_existing — no clobbering
  • test_fill_defaults_on_empty_returns_empty — edge case
  • test_update_old_state_adds_new_field — update old format

Closes #1326

…1326)

Add phase, focus, executionStrategy, councilStatus, blockerCount, and
lastHandoff fields to init_hud_state. Add fill_defaults kwarg to
read_hud_state for backward-compatible reads of older state files.
@JeremyDev87 JeremyDev87 added feat plugin packages/claude-code-plugin wow-experience Plugin Wow Experience Design labels Apr 4, 2026
@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 0:51am

@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: ✅ APPROVE

CI Status: ALL PASS

Files: hud_state.py + test_hud_state.py

  • HUD state schema extended with phase, focus, executionStrategy, councilStatus, blockerCount, lastHandoff
  • Backward-compatible reads, safe partial merges
  • Tests cover new fields, defaults, and backward compat

✅ HUD state schema ready for workflow snapshots.

@JeremyDev87 JeremyDev87 self-assigned this Apr 4, 2026
@JeremyDev87 JeremyDev87 merged commit ad27ba6 into master Apr 4, 2026
29 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775305982/pane-1 branch April 4, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat plugin packages/claude-code-plugin wow-experience Plugin Wow Experience Design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(plugin): extend HUD state schema for richer workflow snapshots

1 participant