Skip to content

Return verified tasks to reviewing on blocking verdicts (T180) - #72

Merged
erickb336 merged 1 commit into
mainfrom
codex/t180-blocking-verdict
Oct 7, 2026
Merged

erickb336 merged 1 commit into
mainfrom
codex/t180-blocking-verdict

Conversation

@erickb336

Copy link
Copy Markdown
Owner

Closes #60
Sage task T180

A new blocking verdict could leave a task marked verified. findings, qa-fail, and checks-fail now 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 build regenerated the Claude and Codex plugin files.

Validation

Fake ps, pgrep, and kill were first on PATH for every test run.

Command Last result
npm run build built 102 files
npm run check ✓ all checks pass (1 timing bound carries "// timing-ok:")
git diff --check Exit 0
PATH="$PWD/../test-bin:$PATH" node --test --test-name-pattern='T180:' scripts/sage.test.mjs tests 3; pass 3; fail 0
PATH="$PWD/../test-bin:$PATH" npm test tests 464; pass 464; fail 0

Each new test was also run against main 95bf953e015c0329bc7e41c8616d32b5b8775538. I created a detached worktree with git 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

T180: State tool moves a verified task back to reviewing on a blocking verdict

1 participant