docs(maestro-case): split validate + ship into dedicated Phase 4 + 5#509
Open
song-zhao-25 wants to merge 1 commit into
Open
docs(maestro-case): split validate + ship into dedicated Phase 4 + 5#509song-zhao-25 wants to merge 1 commit into
song-zhao-25 wants to merge 1 commit into
Conversation
Agents occasionally skipped debug + validate after Phase 2b's "Full validate" step because the post-build prompt was framed as optional and buried at the tail of the detail-build phase. Promote validate and ship to their own named phases so they cannot be silently skipped, and add Rule 14 to enforce the always-runs contract. - Rename Phase 2a -> Phase 2 (skeleton), Phase 2b -> Phase 3 (detail) - New Phase 4 (Validate) - full validate; agent fixes failures via direct caseplan.json edits (no Phase 3 plugin re-runs), cap 3 retries - New Phase 5 (Ship) - mandatory hard-stop AskUserQuestion loop with debug + publish; debug retry policy added (3 retries) - 17 plugin/reference docs renamed to use the new phase names Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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 2a→Phase 2(skeleton),Phase 2b→Phase 3(detail). All 17 plugin/reference docs updated.caseplan.jsonedits (no Phase 3 plugin re-runs — agent has enough context to make targeted fixes). Cap at 3 retries; on 3rd failure, AskUserQuestionRetry with fix/Pause for manual edit/Abort.case debugerror message, editscaseplan.json, re-runs debug. Cap 3 retries.SKILL.mdto enforce Phase 4 + 5 always-runs contract — closes the agent-skip gap.Test plan
caseplan.jsondirectly (no Phase 3 plugin re-invocation) and re-validatesdebug → publish → doneandpublish → debug → donePhase 2a/Phase 2bno longer appear anywhere in skill docs (including pluginimpl-json.mdfiles)Rule 14blocks any code path that would skip Phase 4 or Phase 5🤖 Generated with Claude Code