os-sdlc map: route a red diff-test caused by a test-file change to a role that may edit tests #665
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
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
rule-proposal
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#665
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?
Problem
After implementation, the os-sdlc map routes every red diff-test to programmer-repair. The programmer role may not edit tests. When the only remaining red is a test-file change that the ticket's Required work names, the pipeline runs two repair rounds with no progress and stops on the user's stop-and-ask rule. No route exists from a red test-file diff to a role that may edit tests (test-writer or wiring). This is an architecture-level change to the map and needs an ADR.
Observed
Session 007cbccc, ticket #641, implementation 18. Required work item 3 named the conversion of
CliTestHelpers#run_cliintest/test_cli.rbandtest/test_cli_edge_cases.rbfromOpen3.capture3to in-processPluginConfig::Cli.run. The seam testtest_only_smoke_test_file_uses_open3_across_test_cli_filesstayed red. Programmer-repair ran twice and changed nothing. The session labeled #641waiting. The user hand-finished #641 on 2026-09-24.Reproduce
/os-sdlc:implementon a ticket whose Required work includes a post-implementation test-helper edit and whose test set asserts on test-file content.Origin
New case 2026-09-25 (#712, implementation 47): #712 removed the spawner: and lifecycle: keywords; tests/lsp_probe/cli_test.rb and tests/model/implementation_complete_stamp_test.rb outside the diff still passed them, the gate went red in programmer-repair, and the map offered only programmer-repair again. The orchestrator hand-edited the tests. Ticket-skeptic verdict: DROP as a new ticket; same routing gap as this issue and #709.
Another case on 2026-09-29, #802 implementation 77. The change-auditor PINS list and the test-writer both missed tests/ticket_573_lint_config_test.rb, which called Project::Lint.new(paths: []). suite-check returned error and the Runner went to implementation_failed. No node could edit the test, so the run was hand-finished (escalation step 4).
Resolution
Done: Folded into #544 as evidence
Evidence: Same mechanism; see occurrence comment on #544
Follow-ups: none