feat(review): append follow-up-issue command to nit fix-handoff blocks (#1962)#4055
feat(review): append follow-up-issue command to nit fix-handoff blocks (#1962)#4055carlh7777 wants to merge 1 commit into
Conversation
JSONbored#1962) Co-authored-by: Cursor <cursoragent@cursor.com>
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review result - reject/close recommendedReview updated: 2026-07-07 17:31:30 UTC
🛑 Suggested Action - Reject/Close
Review summary Nits — 5 non-blocking
Why this is blocked
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
|
Gittensory is closing this pull request on the maintainer's behalf (No linked issue detected; Maintainer requires a linked issue). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4055 +/- ##
=======================================
Coverage 93.59% 93.59%
=======================================
Files 379 379
Lines 35582 35586 +4
Branches 13049 13051 +2
=======================================
+ Hits 33302 33306 +4
Misses 1618 1618
Partials 662 662
🚀 New features to boost your workflow:
|
Summary
Completes the remaining slice of #1962 that #4053 left open: the follow-up-issue action. PR #4053 wired fix-handoff block emission into the unified review comment;
buildFollowUpIssueSpec(#2177 / #3834) and thegittensory_file_follow_up_issueMCP tool already existed, but no review comment ever surfaced the action. This appends a runnablegh issue createcommand to nit fix-handoff blocks only — deferred findings a maintainer may want tracked instead of fixed in this PR. Blockers are unchanged (fix in-PR, not defer).Closes the follow-up-issue deliverable of #1962.
Design
src/review/fix-handoff-render.ts: optionalFixHandoffBuildOptions.repoFullName. When set, nit blocks gain an Or file a follow-up issue fencedbashblock composed bybuildFollowUpIssueSpec(samefile_issuespec shape +LOCAL_WRITE_BOUNDARYas every other local-write artifact). Blockers and callers that omitrepoFullName⇒ byte-identical.src/queue/processors.ts: passesrepoFullNameintobuildFixHandoffBlocksat the existing fix-handoff publish site (same gate, sameaiReview.inlineFindingssource as feat(review): emit fix-handoff blocks into the unified review comment (#1962) #4053).repoFullNameat call site ⇒ unchanged (processor always passes it when emitting).Tests
test/unit/fix-handoff-render.test.ts: nit gets follow-up command; blocker does not; path-only nit location; absentrepoFullNameparity.test/unit/fix-handoff-collapsible.test.ts: unchanged (still passes — blocks built withoutrepoFullNamein bridge unit tests).test/unit/queue.test.ts: end-to-end review withGITTENSORY_REVIEW_FIX_HANDOFF+review.fixHandoffemits follow-upgh issue createfor a nit finding in the unified comment.Validation
npm run typecheck— cleannpx vitest run test/unit/fix-handoff-render.test.ts test/unit/fix-handoff-collapsible.test.ts— 26 passednpx vitest run test/unit/queue.test.ts -t "Fix handoff"— passedSafety
buildFollowUpIssueSpec's existing marker stripping + bounded title/body.UI Evidence
N/A — backend review-comment rendering only.