Repository navigation
fix(receive-handoff): next_step.owner is a closed enum and pm is not in it - #106
Merged
Merged
Conversation
…t in it The Step 4 example wrote `owner: pm`. The schema's enum is `human`, `specs-agent`, `pm-agent`, `component-loop`, `qa-agent`, `qa-dispatcher`, `runner`, `merge-watcher` — so anyone following the skill literally would fail its own Step 5. Found by validating a registry entry against the freshly released 0.8.0 wheel rather than against the schema source: the two new provenance properties were accepted and dependentRequired rejected a half-record correctly, leaving this as the only error — in my example, not in the schema. The prose now names the enum, so the next reader does not have to discover it the same way. Co-Authored-By: Claude Opus 5 <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.
Found while verifying the 0.8.0 release end to end — validating a real registry entry against the freshly published wheel rather than against the schema source.
The good news is what that check confirmed:
specs_sourceandspecs_authored_byare now accepted, anddependentRequiredcorrectly rejects a half-record ("'specs_authored_by' is a dependency of 'specs_source'"). The vendoring worked.The bad news is that it left exactly one error, and it was mine.
receive-handoff's Step 4 example writes:The schema's enum is
human,specs-agent,pm-agent,component-loop,qa-agent,qa-dispatcher,runner,merge-watcher. Anyone following the skill literally would fail its own Step 5.Fixed, and the prose now names the enum so the next reader doesn't have to discover it the same way. Step 5 does catch it — which is the argument for validating before the write, working as intended on its author.
🤖 Generated with Claude Code