doc: fix /once claim step for replan/plan worker types#8301
Open
kim-em wants to merge 1 commit into
Open
Conversation
…tion plan has no --help The /once command told every worker type to claim via `coordination claim` and ABORT on failure, but that helper deliberately refuses replan-labelled issues, so a literal /once replan session would wrongly abort and do nothing. Add a replan/plan carve-out. Also note that `coordination plan` takes a positional title with body on stdin and has no `--help` (probing it creates a junk issue). Found while triaging #8297 (progress file included). Co-Authored-By: Claude Opus 4.8 <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.
This PR fixes a real failure mode in the
/onceone-shot dispatch command, found while triaging issue https://github.com/kim-em/hex/issues/8297 as a replan worker. The/oncetemplate instructs every worker type to claim viacoordination claim <N> --label <type>and ABORT if the claim fails — butcoordination claimdeliberately refuses anyreplan-labelled issue (CLAIM FAILED: Issue #N needs replan), so a literal/oncereplan (orplan) session would wrongly abort and do nothing. Add a carve-out:replan/planworker types skip the claim step and edit issues directly per their skill, treating aclaimrefusal as expected rather than fatal.Also note in the
/replancommand thatcoordination plantakes a positional title with the body piped on stdin and has no--helpflag, so probing its usage creates a junk issue (it did — a stray#8299, since closed).Scope is limited to the two command docs plus this session's progress file; the pre-existing working-tree edits to
review.mdandagent-worker-flow/SKILL.mdare left untouched.🤖 Prepared with Claude Code