feat: make Maestro design workflows faster and resumable - #24
Merged
Conversation
achuvyas-kv
marked this pull request as ready for review
August 23, 2026 22:27
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
This PR rewrites Maestro's design phase to make PRD, HLD, and LLD generation faster, clearer, resumable, and safer for multi-repository teams.
How the flow is faster
Approved Corrections
When a new requirement or design decision is discovered after the PRD, HLD, or LLD has already been approved, Maestro now offers three explicit choices:
Choosing Approve as correction creates an immutable correction receipt and immediately adds it to the run's effective design. If a correction conflicts with an older PRD, HLD, or LLD statement, the approved correction wins for all downstream work.
Design workflow changes
PRD
HLD and LLD
Legacy run upgrade
upgrade-runpreviews whether a run needs migration before making changes.Validation
python3 -m unittest discover engine/tests— 221 tests passed.python3 testdata/test_ui_schema_sync.py— 4 tests passed.python3 testdata/test_workflow_skill_contracts.py— passed.python3 engine/maestroctl.py validate workflows/sdlc-main.yaml— 0 errors.bookinglegacy run was previewed, upgraded, and resumed successfully while the live run state remained unchanged.