feat(gate): re-align planner to close-or-merge (minimize manual review) - #1085
Conversation
…mize manual) Match reviewbot's decideNonContentGate, tuned to the operator's minimize-manual goal: - A CONTRIBUTOR PR that is not review-good (gate blockers / red OR unverified CI) OR conflicts with base is CLOSED one-shot (taopedia model — resolve + open a fresh PR), citing the concrete reasons. Closes even on a guarded path: the guardrail withholds a GOOD PR for review, it never rescues a bad one. - A review-good PR (gate passes + CI green) on a protected path is APPROVED but HELD for the owner's manual safety review (never auto-merged). - OWNER / automation PRs are NEVER closed — held with request-changes. - request-changes only fires as a fallback when not closing (owner, or close not at an acting level). - Manual review is now the rare exception. 3425 unit tests pass.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1085 +/- ##
==========================================
- Coverage 94.77% 94.76% -0.01%
==========================================
Files 153 153
Lines 18518 18526 +8
Branches 6699 6705 +6
==========================================
+ Hits 17550 17556 +6
Misses 416 416
- Partials 552 554 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Caution 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 🛑 Gittensory review — blocked
🛑 Blocked Review summary Suggestions
Risks
CI checks failing
Nits — 1 non-blocking
Review context
Contributor next steps
Signal definitions
Review detailsGenerated from public PR metadata and the diff. Advisory only; deterministic signals remain authoritative. The planner now references the variable `ciReason` before it is declared. This causes a runtime ReferenceError whenever the label action is evaluated, breaking the planning logic and potentially causing CI failures or missed actions. Suggestions
Risks
🟩 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.
|
ghost
left a comment
There was a problem hiding this comment.
Gittensory requests changes — CI is not green:
- CI is failing (codecov/patch, codecov/project, codecov/project, codecov/patch)
Re-aligns the auto-maintain planner to the canonical reviewbot
decideNonContentGatemodel, tuned to the operator's minimize-manual goal: every PR ends in merge or close; manual review is the rare exception.Policy (per PR):
request_changesis the fallback when close isn't at an acting level.Preserves #1062's fail-safe guardrail (unknown/empty changed paths → treat as guarded, never auto-merge a diff we can't see);
reviewGoodis computed from the real diff upstream so bad PRs still close accurately.All 3440 unit tests pass; tsc clean.