superpowers icon indicating copy to clipboard operation
superpowers copied to clipboard

subagent-driven-development: task-brief matches 'Task 6b' when asked for Task 6

Open christopherpconway opened this issue 3 months ago • 3 comments

In skills/subagent-driven-development/scripts/task-brief, the awk match uses "^#+[ \\t]+Task[ \\t]+" n "([^0-9]|$)". A plan with sub-tasks (### Task 6 followed by ### Task 6b) yields a Task 6 brief that includes all of Task 6b, because b is not a digit. Changing the terminator to ([^0-9A-Za-z]|$) fixes it (Task 6 stops at 6b; asking for 6b still works). Seen with plugin 6.3.0 on 2026-08-18.

christopherpconway avatar Aug 19 '26 01:08 christopherpconway

Thanks so much for reporting this! Actually a little surprised that it created a 6b, but this should absolutely be fixed.

obra avatar Aug 19 '26 02:08 obra

coordinator dispatching implementing-a-ticket (full tier).

Acceptance criteria:

  1. Brief for Task N stops before Task Nb (terminator excludes letters, not only digits).
  2. Asking for Task 6b still returns only 6b.
  3. Gate regression in tests/claude-code/test-sdd-workspace.sh (or sibling covered by test_command) covers it.

Verification tier: full (guard: Task N brief must never include Task Nb content). Base pin: origin/harness-trial @ c5cc551e244458581e68bb08f67f912f2ec195dd Worktree: ./tkt-2175-task-brief-letter-boundary/ PR target: kweston-66d/superpowers base harness-trial (reference Fixes obra/superpowers#2175). Planned sibling after hand-back: unit-test-writer (test files / fixtures only). Note: status:* labels not flipped (fork issues disabled; tracker is upstream).

kweston-66d avatar Sep 25 '26 20:09 kweston-66d

Fresh Cursor orchestration dispatch: implementing-a-ticket (full tier) against kweston-66d/superpowers:harness-trial @ 81b23ad2ea2137a5636d73e3d32078151791772c. Acceptance: Task 6 brief excludes Task 6b; Task 6b remains directly addressable; tests/claude-code/test-sdd-workspace.sh carries the regression. Worktree: ./tkt-2175-task-brief-letter-boundary/. Fork issues are disabled, so no status:* transition is available.

kweston-66d avatar Sep 26 '26 23:09 kweston-66d