Repository navigation
Conversation
Off a terminal, `min box rm` of a box with work at risk said only "has changed files", even when the only risk was a commit no remote has, such as one on a detached HEAD. The refusal now lists the lines the prompt shows, and when only unpushed commits are at risk, its first sentence names them instead of files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g
|
/arch-review |
|
Warning Review limit reached
This review includes 2 billable files and costs up to $0.50.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 36 minutes for your next included review. View limit details
|
|
Approved: no findings at Nothing to do. Clobber: none seen. |
There was a problem hiding this comment.
arch-review: PASS · the full ruling
The change conforms. The headless min box rm refusal still exits 2 and names --force, as architecture.md line 344 and the exit-code table at line 375 require. The gate decision does not change. Only the refusal text now lists the at-risk lines and names unpushed commits when they are the only risk. Line 345 says that text output is not stable, so the new wording breaks no contract.
Ruled at 163a539 against gominimal/arch@5cfb8febb353 by claude-opus-5-5.
Off a terminal,
min box rmof a stopped git-project box whose only risk is an unpushed commit, such as one on a detached HEAD, is refused correctly, but the refusal says only "has changed files". No file changed, and the reason, the commit, is not named. Found in pc's full run on 0.8.0-dev.818 (N191).Why
The daemon reports the commit correctly (
unpushed_commits, which countsHEADas well, so a detached HEAD's commit is included), and the interactive prompt lists it. But the headless refusal,RmRefusalCause::ChangedFiles, dropped the at-risk lines and always printed "has changed files".What changes
RmRefusalCause::ChangedFilesnow carries the at-risk lines that the prompt shows, and the refusal prints them between its first sentence and the--forcestep. When every line is an unpushed-commit line, the first sentence names the commits instead of files. The commit line's ending is now one constant,NOT_PUSHED, shared by the line and the check.Messages
With files at risk (the first sentence and the
--forcesentence are unchanged, soscripts/session-e2e.sh's grep for "has changed files" still holds):With only an unpushed commit:
box_rm_without_force_gates_changed_filespins both. No spec quotes the old text. Spec 28's BCLI-004 sub-requirement states the condition, not the wording.Verification
-D warningsand fmt are clean.ld terminated with signal 9 [Killed], memory pressure on the shared host). The unmutated build links and passes. The new assertion compares the exact first sentence, so it fails under that mutation by construction, but I have not observed it fail.🤖 Generated with Claude Code
https://claude.ai/code/session_016CYvTye6pQuxGcVPkx1r2g