Skip to content

doc: fix /once claim step for replan/plan worker types#8301

Open
kim-em wants to merge 1 commit into
mainfrom
agent/deaae543
Open

doc: fix /once claim step for replan/plan worker types#8301
kim-em wants to merge 1 commit into
mainfrom
agent/deaae543

Conversation

@kim-em

@kim-em kim-em commented Jun 23, 2026

Copy link
Copy Markdown
Owner

This PR fixes a real failure mode in the /once one-shot dispatch command, found while triaging issue https://github.com/kim-em/hex/issues/8297 as a replan worker. The /once template instructs every worker type to claim via coordination claim <N> --label <type> and ABORT if the claim fails — but coordination claim deliberately refuses any replan-labelled issue (CLAIM FAILED: Issue #N needs replan), so a literal /once replan (or plan) session would wrongly abort and do nothing. Add a carve-out: replan/plan worker types skip the claim step and edit issues directly per their skill, treating a claim refusal as expected rather than fatal.

Also note in the /replan command that coordination plan takes a positional title with the body piped on stdin and has no --help flag, 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.md and agent-worker-flow/SKILL.md are left untouched.

🤖 Prepared with Claude Code

…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>
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