Repository navigation
feat: github_verdict key keeps the verdict off GitHub (15.3.0) - #324
Conversation
…iew shows (15.3.0) review_verdict: private posts every review as a plain COMMENT, with no verdict emoji, Verdict section, verdict note or verdict in the progress signal; the verdict goes to the chat report. review_footer: disabled leaves the signature line out. Both default to the current behavior. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🛡️ Code Guardian - Code guardian repo — bcd6ad6
PR #324: feat: review_verdict and review_footer keys control what a posted review shows (15.3.0)
Author: lamoghaighoroje | Branch: feat/review-output-controls → main | Changes: +98 −11 (13 files)
Summary
The PR adds two opt-in keys. review_verdict: private posts every review as a plain comment with no verdict. review_footer: disabled removes the signature line.
Limits: 3 skill(s) did not run: issue-fit, typescript-engineering, react-ui-engineering.
Findings
- 🟡 Warning: Under
review_verdict: privatetwo GitHub surfaces still name the verdict (scripts/review-pr.sh:2218). A rapid APPROVE body says "This approval covers critical checks only". A dismissal message says "verdict is now REQUEST_CHANGES". Reported by Agent Engineering.
Fix: Underprivate, name no verdict on any GitHub surface: use a neutral dismissal message, and drop the rapid body's approval sentence (scripts/review-pr.sh:2287,docs/review-urgent.md:49). - 🟡 Warning: The 15.3.0 changelog entry says "Nothing — docs are re-read per run" (
CHANGELOG.md:14). A migration reads only that block, so it never offers the two new opt-in keys.docs/persistence.mdstep 2 requires the offer, and 14.2.0 made one forapprove_after_rounds. Reported by Agent Engineering.
Fix: State in the 15.3.0 Upgrade block that both keys are off by default, each with its effect and its key, as 14.2.0 does.
Human Review Guide
📊 Visual guide for the human reviewer — whether a private review still shows its verdict anywhere (about 12 min)
Documentation Check (doc-drift)
✅ No findings.
Agent Engineering
- 🟢 Suggestion: The new
auto_mergewarning branch has no test (scripts/verify-onboarding.sh:268).review_verdict_with_roundsseeds noauto_merge, so no case reaches it.
Verdict
COMMENT — A private verdict still reaches GitHub twice, and the changelog never offers the new keys.
Review by Code Guardian - Code guardian repo · automated code guardian · cb/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017 on pi
… offers both keys Under review_verdict: private the stale-approval dismissal message ends after the SHA, the re-review "Previous HEAD" line drops the prior verdict, and the rapid quote names no approval. The 15.3.0 Upgrade block now tells the operator about review_verdict and review_footer. Tests cover the dismissal, the re-review line and the auto_merge warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, keep the key out of onboarding github_verdict: enabled | disabled (missing = enabled) replaces review_verdict: public | private with the same behavior; disabled posts every review as a plain COMMENT and gives the verdict in the chat only. The review_footer key is removed: every posted review keeps its signature line. Onboarding does not ask for github_verdict; the operator sets it in the direct session.
|
Answer to the review at
Checks: |
There was a problem hiding this comment.
🛡️ Code Guardian - Code guardian repo — 0124ed3
PR #324: feat: github_verdict key keeps the verdict off GitHub (15.3.0)
Author: lamoghaighoroje | Branch: feat/review-output-controls → main | Changes: +135 −15 (13 files)
Summary
This PR adds the opt-in github_verdict key. With it, every review posts as a plain COMMENT and the verdict stays in the chat report. The three findings of the last round are fixed.
Limits: 3 skill(s) did not run: issue-fit, typescript-engineering, react-ui-engineering.
2 suggestion(s) dropped under the 🟢 budget.
Changes since last review
Previous HEAD: bcd6ad6 (2026-11-30T11:22:55Z) — verdict COMMENT
- ✅ Fixed: private verdict still reaches GitHub (
scripts/review-pr.sh:2218) - ✅ Fixed: no changelog offer for the two keys (
CHANGELOG.md:14) - ✅ Fixed: auto_merge warning branch untested (
scripts/verify-onboarding.sh:268) - 🆕 New: payload docs miss the disabled-verdict exception (
docs/review-mechanics.md:22) - 🆕 New: progress table lists a verdict that is not written (
docs/review-bookkeeping.md:94) - 🆕 New: the Desk cannot show or change the new key (
scripts/desk/settings.mjs:10)
Findings
- 🟡 Warning: Two docs say the posted payload always names the verdict (
docs/review-mechanics.md:22,docs/review-mechanics.md:31).docs/github-access.md:66anddocs/review-urgent.md:55restate that rule. Undergithub_verdict: disabledthe script forcesCOMMENTand drops the emoji (scripts/review-pr.sh:2218,scripts/review-pr.sh:2589). Reported by Agent Engineering.
Fix: State thedisabledexception in every doc that names a rendered verdict field. - 🟡 Warning: The progress-signal table lists description text that no run writes (
docs/review-bookkeeping.md:93,docs/review-bookkeeping.md:94). Undergithub_verdict: disabledthe rapid line and the posted line name no verdict (scripts/review-pr.sh:2267,scripts/review-pr.sh:2690). Reported by Agent Engineering.
Fix: Update a progress row in the same change, and give the value each configuration writes.
Human Review Guide
📊 Visual guide for the human reviewer — whether hiding the verdict is safe while auto-merge still acts on it (about 12 min)
Documentation Check (doc-drift)
✅ No findings.
Agent Engineering
- 🟢 Suggestion: The Desk settings table has no
github_verdictrow, so the page cannot set it (scripts/desk/settings.mjs:10,scripts/desk/data.mjs:36). Reported by Agent Engineering.
Verdict
COMMENT — The code honors the key, but two documents still state a verdict that the disabled branch never writes.
Review by Code Guardian - Code guardian repo · automated code guardian · cb/rits/deepseek-ai/DeepSeek-V4.1-Flash-1017 on pi
…-PR, rapid and progress docs
|
Answer to the review at
Checks: |
What and why
The operator wants every approval on GitHub to come from a person, and no verdict on posted reviews. No key controls this now. This PR adds one opt-in key. The default keeps the current behavior.
github_verdict: disabled: every review posts as a plainCOMMENT. The body shows no verdict emoji, no### Verdictsection and no own-PR verdict note. The progress signal, the re-reviewPrevious HEADline, the stale-approval dismissal message and the rapid quote name no verdict. The verdict goes to the chat report.REVIEWS.md, the ledger and auto-merge still record and read the real verdict.enabled. Onboarding does not ask for the key; the operator sets it in the direct session.Where to look
scripts/review-pr.sh→review_event,build_payload,dismiss_approvals, the rapid path: underdisabled, nothing may reach GitHub asAPPROVEorREQUEST_CHANGES, and no text may name the verdict.verify-onboarding.shwarns whendisabledis set together withapprove_after_roundsorauto_merge.Scope
review-pr.sh,preflight.sh(config object),verify-onboarding.sh(known key, value check, warnings), the key docs (config.md,finding-form.md,review.md,review-rereview.md,review-urgent.md,review-mechanics.md,review-bookkeeping.md,github-access.md,README.md), tests,VERSION15.3.0 andCHANGELOG.md.ONBOARDING.mddoes not change. No issue tracks this change.Testing
The CI checks for shell syntax, VERSION and CHANGELOG, internal doc links, cross-file section references and
kit.yamlpass locally. The stub tests (test_review_pr.sh,test_verify_onboarding.sh) run in CI.