Skip to content

Promote the Stale Bot-Id Disproved Claims Entry Removal to Main - #2686

Merged
ptr727 merged 2 commits into
mainfrom
develop
Oct 10, 2026
Merged

ptr727 merged 2 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

Promotes develop to main. It carries two changes:

Fixes #1238

🤖 Generated with Claude Code

…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]>
Copilot AI lite review requested due to automatic review settings October 10, 2026 00:03
@coderabbitai

coderabbitai Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6eb8752f-ced5-4d83-bf51-30801e850c41

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.58%. Comparing base (918b587) to head (e69f3dd).
⚠️ Report is 355 commits behind head on main.

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           
Flag Coverage Δ
python-3.13 59.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Comment thread scripts/pr_review.py Resolved
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]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are documentation-only, and the remaining ledger cleanup is explicitly tracked as separate work.

0 open findings

1 resolved since last review

🧠 Review effort: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disproved Claims Entry Cites a Runbook Section the File No Longer Holds

2 participants