feat: Define review-state.json schema and provide workflow integration commands #192
No reviewers
Labels
No labels
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli!192
Loading…
Reference in a new issue
No description provided.
Delete branch "IW-136"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR establishes a formal contract for
review-state.jsonfiles used by workflows to communicate with the iw-cli dashboard. Previously, the schema was implicit, leading to fragile integration. Now workflows have clear, authoritative guidance and validation tools.Changes
Phase 1: JSON Schema formally defines contract
schemas/review-state.schema.json- JSON Schema Draft-07 definitionschemas/README.mdPhase 2: Validation command for review state
ReviewStateValidatorwith pure validation logiciw review-state validate)Phase 3: Write command for review state
ReviewStateBuilderfor JSON construction from typed inputsiw review-state write)Refactoring R1: Separate display from workflow semantics
displayobject for dashboard rendering instructionsbadgesarray for contextual indicatorstask_listsarray for progress trackingRefactoring R2: Add update command and restructure as subcommands
iw review-state {validate|write|update}ReviewStateUpdaterwith merge logicupdatecommand for partial state modificationdocs/commands/review-state.mdTesting
Release Notes
User-facing release notes (Czech)
Documentation
Closes IW-136
🤖 Generated with Claude Code