Behavior-verifier errors on a test-path-only diff because the brief carries no code_changes #1428
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#1428
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 returns
verdict:erroron a ticket whose whole diff is test paths. The brief carriescode_changes: nullbecause every changed file sits under the target'stest_path, so the verifier has no production diff to verify and errors instead of judging the test-only increment. The run endsimplementation_failedand the orchestrator must hand-finish green work.Observed
Implementation 192 (ticket #1392, target os-me): the diff was a
UseCaseshim inplugins/os-me/test/test_helper.rbplusplugins/os-me/test/use_case_journeys_test.rb. Handoff 1735 from the behavior-verifier says "code_changes is null in the brief... the whole diff arrived only as test_changes." Implementation 165 (ticket #1327) failed the same way.Reproduce
Open an implementation on a ticket whose acceptance criteria are satisfied by test files only, run the map to the behavior-verifier node, and read its verdict:
verdict:error.Approach
The brief classifies every changed path under
test_pathas a test change. Either the brief must pass the test-path diff as the increment when no production path changed, or the behavior-verifier must verify a test-only increment fromtest_changes. Pick one owner and record it.Required work:
code_changes is nullinplugins/os-sdlc/agents/behavior-verifier.mdAcceptance criteria
test_path, when the behavior-verifier node runs, then its verdict ispassorfail, nevererror.Owner sketch
Origin
verdict:errorVERDICT: CREATE