summaryrefslogtreecommitdiff
path: root/tests/opencode/test-plugin-loading.sh
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-10-22 22:32:48 +0000
committerJesse Vincent <jesse@fsck.com>2026-10-23 03:38:19 +0000
commit750ba92008b88850f6ab321706c7f840bbfff503 (patch)
treed13ce7fd72c1c8616ed889b9147b63e1b1132f7e /tests/opencode/test-plugin-loading.sh
parentf75c01fd9b320060c301e2c6591dfc74a8436f15 (diff)
fix(sdd): task-brief says when a plan's task headings are not in Englishfix/2459-2496-task-brief-headings
task-brief recognizes only the English word `Task` in a task heading. writing-plans' template shows `### Task N:` but never says the word is machine-read, so a model writing a plan in Spanish writes `## Tarea 1:`. task-brief and task-start then report "task 1 not found in plan-es.md (no heading matching 'Task 1')", which reads as "this plan has no task 1" and sends the controller looking for a task that is on line 3 (#2496). When a plan has no Task headings at all, task-brief now prints, before the existing not-found line, that task headings must use the English word "Task" whatever the plan's language, and lists up to five headings shaped like tasks (`<word> <id-with-a-digit>`). A plan that has Task headings, just not the requested one, still gets only the not-found line, so asking for Task 9 of an eight-task plan stays quiet. This deliberately does not accept other words. Plans commonly carry `Phase 1`, `Chunk 2` and `Step 1` headings, and a word-agnostic rule would turn them into tasks. Keeping the word fixed in the plans themselves is a writing-plans wording change, which needs evals. Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
Diffstat (limited to 'tests/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions