Show staged changes in the behavior-verifier brief diff #1275
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#1275
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 shows only unstaged changes. A programmer that deletes files with
git rmstages the deletions, so the verifier does not see them and fails a criterion that the code meets.Observed
In implementation 134 (#1266),
git status --shortshowedDforplugins/os-me/lib/os_me/decision_model.rband six files underplugins/os-me/lib/os_me/decision_model/. The behavior-verifier (dispatch 1146) reported: "code_changes shows no deletion of plugins/os-me/lib/os_me/decision_model.rb ... The session git status shows these as staged deletions, so the brief diff probably omits staged changes". It gave verdict fail on acceptance criterion 10. The same brief had notest_changes.Reproduce
n/a: needs a pipeline run where the programmer stages a deletion; seen once in implementation 134.
Origin
git statusandgrepoutput by SendMessage on the same dispatch; it then passed.Git::Repo#changed_pathsruns plaingit diff --name-only(skeptic, 2026-10-23), andGit::Diffdiffs a path missing from the index with--no-indexagainst/dev/null, which is empty. Stop atDESIGN(Git::Repo#changed_paths).VERDICT: CREATE