feat(plugin): extend HUD state schema for richer workflow snapshots (#1326)#1328
Merged
Conversation
…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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
JeremyDev87
commented
Apr 4, 2026
JeremyDev87
left a comment
Owner
Author
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
phase,focus,executionStrategy,councilStatus,blockerCount,lastHandofffields to HUD state schemafill_defaultskwarg onread_hud_state()for backward-compatible reads of older state files_EXTENDED_DEFAULTSdict as single source of truth for default valuesTest plan
test_init_includes_extended_fields— new fields present after inittest_update_extended_fields— partial update of extended fieldstest_partial_update_preserves_other_extended_fields— multi-step updatestest_read_old_state_without_fill— raw read of old formattest_read_old_state_with_fill_defaults— back-fill missing keystest_fill_defaults_does_not_overwrite_existing— no clobberingtest_fill_defaults_on_empty_returns_empty— edge casetest_update_old_state_adds_new_field— update old formatCloses #1326