Instruct test-writer to split tests by independent AC so shard-plan can parallelize #271
Labels
No labels
P0
P1
P2
P3
bug
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#271
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Recent implement runs dispatch a single programmer despite the sharding pipeline. Investigation (2026-08-04) showed shard_plan.rb maps one test file to one shard (unchanged since
12d76a2) and plugins/os-sdlc/agents/test-writer.md gives no file-organization guidance, so it usually writes one test file per ticket — single shard, working as designed but defeating the parallel-programmers intent. Fix is prompt-side: add a rule to test-writer.md to write one test file per independent acceptance criterion/concern; existing shard-plan overlap/reserved-set handling already supports multi-file output.Spec (verified unimplemented 2026-08-06; ready-for-agent):
Root cause:
lib/os_sdlc/shard_plan.rb:48-52already maps one shard per test file (correct, do not touch). Butagents/test-writer.mdgives no file-organization guidance, so the test-writer emits one test file per ticket — collapsing every plan to a single shard/programmer and defeating the parallel-sharding machinery.Seam: the "Rules" bullet list in
plugins/os-sdlc/agents/test-writer.md. Prompt-only change; no Ruby changes.Tasks:
fallback_to_single_programmer?make artificial splits pointless).bin/refresh-pluginsfrom the repo root so the edit reaches sessions.Acceptance criteria:
ruby tests/all.rbfrom plugins/os-sdlc).Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.