Repository navigation
Conversation
…ries (#2681) Applies the maintainer's decision recorded on #1238. - Deletes the "Disproved Claims" entry in `.github/copilot-instructions.md` about the GraphQL `pullRequests` connection defaulting to `states: [OPEN]`. It cited a "Triggering and Polling" section and a `BOT_ID` query the file no longer holds, so the ledger's own rule deletes it. - States in the ledger preamble that an entry is never about hub-hosted machinery, with the decision's reason: a repository without that tooling has nothing to re-check such a claim against. - Records the still-live constraint beside `Q_BOT_ID` in `scripts/pr_review.py`: the query names no `states` argument because the omitted default is every state, so the bot id still resolves where every reviewed pull request has merged. This adds a comment line, so the pull request carries the `comments` label. The remaining ledger entries were deliberately left alone, since the decision kept their sweep as separate work. Closes on promotion: #1238 ## Local review findings still open after the edit budget - `introduced` - `.github/copilot-instructions.md:43`: "recorded in its own code" lets "its" bind to "A repository" rather than to "that tooling", which reads as telling a downstream repository to record the constraint in its own code. Fixed in a7cead4. - `introduced` - `.github/copilot-instructions.md:43`: the new rule now sits beside entries about `repo-config/configure.sh`, the `claims` check in `scripts/pr_review.py`, and `.github/workflows/merge-bot-task.yml`, which it covers. Deferred to #2680, since the decision on #1238 bounded this change to the one entry and the general rule. - `pre-existing` - `.github/copilot-instructions.md:43`: the preamble sentence opening "Each names a file and a revision" runs 43 words under `prose_lint.py --check sentence-length`. Filed on #2680. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2686 +/- ##
=======================================
Coverage 59.58% 59.58%
=======================================
Files 16 16
Lines 8316 8316
=======================================
Hits 4955 4955
Misses 3361 3361
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
The new bot-ID comment guarantees resolution even when the bounded history search cannot find a review.
1 open finding
What changed in this PR
This promotion brings the stale bot-ID ledger cleanup from develop to main. It removes an obsolete disproof entry and records the still-relevant query constraint beside the query, without changing executable behavior.
Changes:
- Removes the stale ledger entry and adds a rule for claims about hub-hosted tooling.
- Adds an explanatory comment beside the bot-ID query.
| File | Description |
|---|---|
scripts/pr_review.py |
Documents why the bot-ID query omits a pull-request state filter. |
.github/copilot-instructions.md |
Removes the stale entry and updates the ledger preamble. |
🧠 Review effort: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Answers Copilot's finding on the promotion pull request #2686, which flagged the comment beside `Q_BOT_ID` in `scripts/pr_review.py` for promising the bot id resolves wherever every reviewed pull request has merged. The query reads only a bounded window of recently updated pull requests, so that promise does not hold. - Replaces that line with what omitting `states` actually does: merged pull requests fill the window alongside open ones. - Bounds the sibling line two lines up the same way. It said the id "resolves" even on a pull request whose round 1 carries no review, and now says the query reads the id from every pull request in the window rather than only the one under review. Both edits are comment lines, so this pull request carries the `comments` label. No behavior changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>

Summary
Promotes develop to main. It carries two changes:
pullRequestsconnection's defaultstatesfrom.github/copilot-instructions.md, states in the ledger preamble that an entry is never about hub-hosted machinery, and records the livestatesconstraint besideQ_BOT_IDinscripts/pr_review.py.Q_BOT_IDcomments to the window the query reads, answering this pull request's review finding.Fixes #1238
🤖 Generated with Claude Code