From cb9fb12a0dd91b28c4eca9644d63529e3234696e Mon Sep 17 00:00:00 2001 From: JSONbored <49853598+JSONbored@users.noreply.github.com> Date: Tue, 7 Jul 2026 03:06:51 -0700 Subject: [PATCH] fix(review): stop draft PRs from re-triggering AI review (#3999) A push to a draft PR was silently re-running the full AI reviewer on every commit, letting contributors iterate for free while tokens kept burning. review.auto_review.skip_drafts already exists and is fully wired (src/signals/focus-manifest.ts) but was unset. Also enables skip_docs_only, since a docs-only PR never needs an AI pass. --- .gittensory.yml | 9 +++++++++ src/config/gittensory-repo-focus-manifest.ts | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.gittensory.yml b/.gittensory.yml index 766d9ca714..b7e7f65171 100644 --- a/.gittensory.yml +++ b/.gittensory.yml @@ -55,6 +55,15 @@ gate: # relatedWork: false # linkedIssue | relatedWork | reviewLoad (Change scope) | # openPrQueue: false # validationEvidence (Validation posture) | openPrQueue (Contributor workload) | contributorContext | gateResult +# AI-review eligibility filters (#3999): a draft PR previously re-triggered a full AI review on every +# push, letting a contributor iterate for free while tokens kept burning — skip_drafts stops that. +# skip_docs_only skips the reviewer entirely when every changed file is documentation, which never +# needs an AI pass. +review: + auto_review: + skip_drafts: true + skip_docs_only: true + # Linked-issue label propagation (#priority-linked-issue-gate, #priority-linked-issue-gate-ownership): a PR # that closes/fixes/resolves an issue inherits that issue's point-bearing gittensor:* label onto the PR # itself, instead of the PR's own label being decided purely by its commit-title prefix. bug/feature are diff --git a/src/config/gittensory-repo-focus-manifest.ts b/src/config/gittensory-repo-focus-manifest.ts index 7436b5619c..c13cbe9ea1 100644 --- a/src/config/gittensory-repo-focus-manifest.ts +++ b/src/config/gittensory-repo-focus-manifest.ts @@ -59,6 +59,15 @@ gate: # relatedWork: false # linkedIssue | relatedWork | reviewLoad (Change scope) | # openPrQueue: false # validationEvidence (Validation posture) | openPrQueue (Contributor workload) | contributorContext | gateResult +# AI-review eligibility filters (#3999): a draft PR previously re-triggered a full AI review on every +# push, letting a contributor iterate for free while tokens kept burning — skip_drafts stops that. +# skip_docs_only skips the reviewer entirely when every changed file is documentation, which never +# needs an AI pass. +review: + auto_review: + skip_drafts: true + skip_docs_only: true + # Linked-issue label propagation (#priority-linked-issue-gate, #priority-linked-issue-gate-ownership): a PR # that closes/fixes/resolves an issue inherits that issue's point-bearing gittensor:* label onto the PR # itself, instead of the PR's own label being decided purely by its commit-title prefix. bug/feature are