Skip to content

fix(receive-handoff): next_step.owner is a closed enum and pm is not in it - #106

Merged
clabonte merged 1 commit into
mainfrom
fix/receive-handoff-owner-enum
Sep 25, 2026
Merged

clabonte merged 1 commit into
mainfrom
fix/receive-handoff-owner-enum

Conversation

@clabonte

Copy link
Copy Markdown
Collaborator

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_source and specs_authored_by are now accepted, and dependentRequired correctly 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:

next_step:
  owner: pm        # not a member of the enum

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

…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>
@clabonte
clabonte merged commit 2bb0a09 into main Sep 25, 2026
2 checks passed
@clabonte
clabonte deleted the fix/receive-handoff-owner-enum branch September 25, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant