Repository navigation
Return verified tasks to reviewing on blocking verdicts (T180) - #72
Merged
Merged
Conversation
This was referenced Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #60
Sage task T180
A new blocking verdict could leave a task marked verified.
findings,qa-fail, andchecks-failnow return that task to reviewing. The command prints the new state and records the verdict kind and commit in the decision trail. Clean verdicts keep the task verified. Merge checks stay unchanged.The state change edits
packages/sage-core/state.mjs. Source instructions and the design page describe the same rule.npm run buildregenerated the Claude and Codex plugin files.Validation
Fake
ps,pgrep, andkillwere first on PATH for every test run.npm run buildbuilt 102 filesnpm run check✓ all checks pass (1 timing bound carries "// timing-ok:")git diff --checkPATH="$PWD/../test-bin:$PATH" node --test --test-name-pattern='T180:' scripts/sage.test.mjstests 3; pass 3; fail 0PATH="$PWD/../test-bin:$PATH" npm testtests 464; pass 464; fail 0Each new test was also run against main
95bf953e015c0329bc7e41c8616d32b5b8775538. I created a detached worktree withgit worktree add --detach ../sage-t180-proof origin/main, copied only the final test file, and ran the same focused command. Result:tests 3; pass 0; fail 3. Each failure shows main omits· reviewing. On this branch, each test also checks the saved state, decision, ledger, clean-verdict behavior, and continued merge refusal.The final diff passed a lead review and an independent code and test review with no actionable findings. Sage's review and merge remain pending.
Not verified
A live Claude session and the owner's logbook were not used. Tests use isolated temporary logbooks and the local HTTPS fixture. No real merge or push command ran in a test.