behavior-verifier brief omits test_changes, producing a wrong fail and an unexpected_pass escalation #1111
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#1111
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
The behavior-verifier brief carries no
test_changes. The verifier cannot see tests that already exist in the working tree. It marks work as outstanding when that work is done.Observed
Implementation 65 of #1105, target os-backlog.
The programmer went green in dispatch 582.
The behavior-verifier brief in dispatch 583 carried no
test_changes.The verifier marked the AC2 nonzero-exit case and the AC4 ten-name pins as outstanding. Both tests were already in the working tree and green.
The Runner sent the run to test-writer in dispatch 584. Its diff-test returned
unexpected_pass.The run escalated to needs-orchestrator (escalation 38). The orchestrator hand-finished the work.
Reproduce
n/a: the evidence is implementation 65 of #1105 (dispatches 582-584, escalation 38).
Approach
Enrich
test_changes(andred_tests, if the verifier needs them) at the behavior-verifier node, or haveBrief::Factssupply them to that node.Required work:
test_changesto the behavior-verifier node — check: presenttest_changesinplugins/os-sdlc/maps/poodr-ticket-implementation.yamlAcceptance criteria
test_changes.Owner sketch
Origin
VERDICT: CREATE
Resolution
Done: Mechanism: Brief::Facts code_changes/test_changes do not show the real increment. Occurrence: #1114 "Add test_changes to the behavior-verifier brief".
Evidence: #1114 adds evidence that every behavior-verifier dispatch in run 64 (#1104) reported test_changes absent; it locates the cause in the behavior-verifier node enrich list of maps/poodr-ticket-implementation.yaml.
Follow-ups: none
Occurrence: Give behavior-verifier every changed file of the green diff
Seen: plugins/os-sdlc/lib/os_sdlc/dispatch/brief/facts.rb
Run: session b0da7c4b-f4b3-4f3b-96cd-0b77e82451d4, implementation 118 (ticket #1239), dispatches 979 (programmer), 982 (behavior-verifier), 983 (test-writer), escalation 64
Adds: non-test files under tests/ (tests/all.rb) and files under docs/ are missing from code_changes; the brief had no test_changes. The verifier marked AC1 outstanding; test-writer gated green (2452 runs, 0 failures) and escalated unexpected_pass. Orchestrator hand-finished.
Occurrence: Let behavior-verifier judge a ticket whose change is only test-support code
Seen: plugins/os-sdlc/maps/poodr-ticket-implementation.yaml (behavior-verifier enrich) and Brief::Facts#code_changes
Run: Session: 0bd25a72-f8ca-4331-a047-9cefdb9b0e3b; implementation 168 (ticket #1394), dispatch 1465
Adds: An all-test diff gives code_changes null, and the verifier settles error with MISSING: code_changes. Add a criterion: code_changes null with a populated test_changes must not settle error.
Occurrence: behavior-verifier brief has no test_changes after a reroute
Seen: plugins/os-sdlc/lib/os_sdlc/dispatch/brief/facts.rb (#test_changes) and the poodr-ticket-implementation verifier node
Run: implementation 169 (#1393), session 4453856e-c594-48a3-8871-c95b3f21ff40, dispatch 1478, handoff 1508, escalation 78
Adds: test edits were uncommitted in the worktree (orchestrator hand-fix of 48 test files plus one test, before reroute to programmer), so a working-tree diff against HEAD should have shown them; the verifier still reported 'test_changes is absent from the dispatch brief' and failed AC 1, then test-writer hit unexpected_pass. Points to the verifier node's brief not carrying the fact, not to an empty diff.
Work started on branch ticket-1111 through /os-sdlc:implement (map poodr-ticket-implementation).