From 96d950adbfb03d25bb67ec6d67b1b0524ac9caa5 Mon Sep 17 00:00:00 2001 From: Robert Gering Date: Tue, 21 Jul 2026 14:54:46 +0200 Subject: [PATCH] =?UTF-8?q?Fully-qualify=20kickoff's=20/continue=20?= =?UTF-8?q?=E2=86=92=20/work-system:continue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A Claude Code built-in/alias `/continue` can shadow the work-system plugin skill, and plugin skills are only guaranteed reachable via their `plugin:skill` namespace. So a `/kickoff`-launched worker running the bare `/continue` in a fresh worktree ran CC's own resume (nothing to resume → idle, TASK.md never loaded) instead of the work-system resume flow, breaking the kickoff→worker handoff. Switch every machine-generated launch invocation to the plugin-qualified `/work-system:continue`, which resolves unambiguously and can't be shadowed: - agent-registry.sh emit_argv (the selector path) + its argv-shape comment - herdr-launch.sh legacy no-selector fallback + header comment - kickoff/adopt SKILL.md outside-herdr manual launch blocks - kickoff's "suggest /continue" hint when run inside a worktree - README launch examples (root + work-system) Tests lock in the qualified argv: test_agent_registry.py asserts emit_argv's shape, and test_herdr_launch.py now asserts the legacy no-selector worker argv is `claude -n /work-system:continue` (one token, no bare form). Human-typed reopen instructions (continue SKILL description, README reopen section) updated to the qualified form too, since the bare command is what the built-in shadows. Knowledge (herdr-kickoff-automation) gains a dedicated shadowing gotcha with the verified CC finding and the plugin-cache deployment caveat; CHANGELOG entry added; work-system bumped 1.9.1 → 1.9.2. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_0189f7ewkgmdN1xgWBLJM1J2 --- .claude-plugin/marketplace.json | 2 +- .../features/herdr-kickoff-automation.md | 32 +++++++++++-- CHANGELOG.md | 3 ++ README.md | 2 +- .../work-system/.claude-plugin/plugin.json | 2 +- plugins/work-system/README.md | 17 ++++--- plugins/work-system/scripts/agent-registry.sh | 9 ++-- plugins/work-system/scripts/herdr-launch.sh | 5 +- .../scripts/test_agent_registry.py | 6 +-- .../work-system/scripts/test_herdr_launch.py | 47 +++++++++++++++++-- plugins/work-system/skills/adopt/SKILL.md | 8 ++-- plugins/work-system/skills/continue/SKILL.md | 4 +- plugins/work-system/skills/kickoff/SKILL.md | 9 ++-- 13 files changed, 114 insertions(+), 32 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 9c9d125..2b9694b 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -18,7 +18,7 @@ "name": "work-system", "source": "./plugins/work-system", "description": "Generic task and worktree workflow system for Claude Code. Manage tasks as markdown files, run them in isolated git worktrees with a choice of worker agent (Claude, codex, or grok), and track progress across the define/kickoff/continue/status/close lifecycle.", - "version": "1.9.1" + "version": "1.9.2" }, { "name": "pr-flow", diff --git a/.claude/knowledge/features/herdr-kickoff-automation.md b/.claude/knowledge/features/herdr-kickoff-automation.md index 10f144b..9c184e3 100644 --- a/.claude/knowledge/features/herdr-kickoff-automation.md +++ b/.claude/knowledge/features/herdr-kickoff-automation.md @@ -1,10 +1,10 @@ --- title: "herdr /kickoff + /continue-reopen Automation" createdAt: 2026-06-24 -updatedAt: 2026-07-19 +updatedAt: 2026-07-21 createdFrom: "PR #17" -updatedFrom: "session: 2026-07-19 (surface herdr launch errors)" -pluginVersion: 1.9.1 +updatedFrom: "session: 2026-07-21 (fully-qualify kickoff's /continue)" +pluginVersion: 1.9.2 prime: false reindexedAt: 2026-07-12 --- @@ -31,7 +31,8 @@ truth; this entry captures the durable design and one non-obvious gotcha. `herdr agent start "