implement skill names no map for a behavior-preserving refactor; ticket-implementation map escalates on unexpected_pass #663
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#663
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
On 2026-09-23 ticket #659, a pure refactor of byte-identical code, was opened on maps/poodr-ticket-implementation.yaml. change-auditor and seam-designer passed. test-writer added two ancestry tests. test-reviewer rejected them as hierarchy-coupled extras and wrote "no legitimately red test exists". The second test-writer removed them and the diff-test gate escalated with reason
unexpected_pass:test-writer/diff-testafter 5 dispatches and 414 s. maps/poodr-implementation.yaml has the same test-writer -> test-reviewer red round. The orchestrator recovered by hand: it closed the implementation and reopened on maps/coding.yaml (programmer -> reviewer), which completed in 2 dispatches. #660 and #661 were run on coding.yaml from the start and each completed. The implement skill names poodr-implementation.yaml for "docs, config, an ADR-only change, or a spike" and never names coding.yaml or the refactor case.Reproduce
Open any ticket whose acceptance criteria name no new observable behavior on poodr-ticket-implementation.yaml. Observe the escalation after the second test-writer round.
Approach
Required work:
Acceptance criteria
Origin
Session: 24f1de09-c081-4958-902b-0512a5d86e04
Transcript: /home/jared/.claude/projects/-home-jared-dev-cc-os/24f1de09-c081-4958-902b-0512a5d86e04.jsonl
Where: plugins/os-sdlc/skills/implement/SKILL.md, plugins/os-sdlc/maps/poodr-ticket-implementation.yaml
Parent: #659 (escalation payload, implementation 1)
VERDICT: CREATE — complete in-policy run hit a real gap in map selection guidance/escalation edge, with recorded provenance; root cause is missing map documentation/edge, not agent improvisation.
#663 must wire change-auditor into coding.yaml's reviewer node when it makes that map selectable. #652 closed as folded into this: coding.yaml is unreachable from the implement skill today (plugins/os-sdlc/skills/implement/SKILL.md line 52 hardcodes poodr-ticket-implementation.yaml; coding.yaml appears in no skill or lib map-selection path), so adding a change-auditor node to coding.yaml alone changes nothing until #663 makes coding.yaml selectable.
Resolution
Done: Occurrence: #952 "No approved map fits a behavior-preserving refactor" (same mechanism as #859: the red-first map cannot handle already-green work).
Evidence: #952 adds #948 impl 30: four test-writer/test-reviewer rounds on correct green preservation pins ended bound_exhausted:test-reviewer/fail; poodr-guard-implementation has no programmer node. Its AC: map-router selects a map whose test nodes accept green pins.
Follow-ups: none
2026-10-18:
bb617f0badds the routing rule to plugins/os-sdlc/skills/implement/SKILL.md line 59. Rename, move, and split refactors get category/structure. Other refactors and docs, config, ADR-only, and spike tickets open on poodr-ticket-implementation and reroute when they escalate. Still open: maps/coding.yaml does not exist. A decision is still needed on an edge in poodr-ticket-implementation from a 'no red test exists' verdict to programmer.Occurrence: Exit the red round early when an acceptance criterion adds no behavior
Seen: plugins/os-sdlc/agents/test-writer.md, plugins/os-sdlc/lib/os_sdlc/dispatch/brief/facts.rb:84
Run: session b0da7c4b-f4b3-4f3b-96cd-0b77e82451d4, implementation 115 (ticket #1239), dispatches 939-956
Adds: a new trigger. An acceptance criterion that describes unchanged behavior (a regression guard: 'a failing test still fails the gate') is green before any change. Four test-writer/test-reviewer rounds on the same objection 101 ended bound_exhausted:test-reviewer/fail after about 8 agent minutes. Writer replied each round: 'AC 3 cannot be red without an invented requirement.'