Repository navigation
Delete the Stale Bot-Id Disproved Claims Entry and Bar Hub-Hosted Entries - #2681
Conversation
…ries The ledger entry about the GraphQL pullRequests states default cited a runbook section and query this file no longer holds, so it is deleted under the ledger's own rule. The ledger preamble now states that an entry is never about hub-hosted tooling, and the still-live constraint is recorded beside Q_BOT_ID in scripts/pr_review.py instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The added rule read as one 32-word sentence whose link title sat in subject position. It is now two sentences, and the "therefore" that tied it to the preceding downstream-only reason is gone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
"The constraint" had no antecedent in the preamble, since an entry records a disproved claim rather than a constraint. 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 |
"Recorded in its own code" let "its" bind to the repository, which reads as the opposite of the rule. The sentence now names that tooling's code. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Two unresolved P2 clarity and style comments remain.
2 open findings
What changed in this PR
This pull request removes a stale disproved-claims entry and documents the live Q_BOT_ID query behavior.
Changes:
- Updates the hub-hosted tooling boundary in the ledger.
- Documents the query’s all-state default beside
Q_BOT_ID.
| File | Summary |
|---|---|
scripts/pr_review.py |
Documents bot-ID query behavior. |
.github/copilot-instructions.md |
Removes the stale claim and updates ledger guidance. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2681 +/- ##
==========================================
Coverage ? 59.58%
==========================================
Files ? 16
Lines ? 8317
Branches ? 0
==========================================
Hits ? 4956
Misses ? 3361
Partials ? 0
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:
|
The added comment ran 31 words in one sentence, past the 25-word cap for new prose. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
## Summary Promotes develop to main. It carries two changes: - #2681 Deletes the stale "Disproved Claims" entry about the GraphQL `pullRequests` connection's default `states` from `.github/copilot-instructions.md`, states in the ledger preamble that an entry is never about hub-hosted machinery, and records the live `states` constraint beside `Q_BOT_ID` in `scripts/pr_review.py`. - #2687 Bounds the `Q_BOT_ID` comments to the window the query reads, answering this pull request's review finding. Fixes #1238 🤖 Generated with [Claude Code](https://claude.com/claude-code)
#2689) ## Summary The `Lint sources job` pulled three images from Docker Hub without authenticating: editorconfig-checker, shellcheck, and shfmt. Once a runner's address used up Docker Hub's anonymous pull allowance, the step failed with `toomanyrequests` regardless of the change under test (#2682). This change pulls each image from a registry without that limit: | Was | Now | | --- | --- | | `mstruebing/editorconfig-checker:latest` | `ghcr.io/editorconfig-checker/editorconfig-checker:latest` (the project's own GHCR image) | | `koalaman/shellcheck:stable` | `mirror.gcr.io/koalaman/shellcheck:stable` | | `mvdan/shfmt:latest` | `mirror.gcr.io/mvdan/shfmt:latest` | Each new reference resolves to the same image id as the reference it replaces. `scripts/docker_lint.py`, the repo-gate `composite-actions` check (`SHELLCHECK_IMAGE`), and the two READMEs that name the images move with the workflow, so local runs keep using the same images as CI. A second commit splits a 29-word sentence on the README line this change touched. The `catalog/snippets/configs/vscode-tasks*.json` editor tasks keep the Docker Hub editorconfig-checker reference. They run locally rather than in CI, the image is identical, and changing them would give every carrying repository resync drift for no behavior change. The maintainer chose this design over authenticating to Docker Hub (a per-repository secret fleet-wide, missing on Dependabot and fork pull requests), installing the tools natively (CI tool versions drift from `docker_lint.py`), and a bounded retry (three attempts across about twenty minutes already failed on #2681). The known risk is that `mirror.gcr.io` is a pull-through cache that Google does not guarantee for these images. ## Verification - `scripts/docker_lint.py`: all 7 linters pass, pulling the new images. - `scripts/repo_gate.py`: `composite-actions`, `eol`, `eol-coverage`, and `sha-pin` all clean. `composite-actions` runs shellcheck from the new image. - `tests/test_docker_lint.py` and `tests/test_repo_gate.py`: 181 passed. - `spec/validate.py`, `ruff check`, `ruff format --check`, actionlint, and `prose_lint.py --diff` (default and `--check sentence-length`) are all clean. - Two recorded `local-strict-review` passes. The first reported only the pre-existing long sentence, which the second commit fixes, and the second reported nothing. Part of #2682. The closing reference goes on the promotion pull request. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated the container image sources used for repository validation and script checks. The checks themselves remain unchanged. * Updated setup and script documentation to reflect the revised image references. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>

Applies the maintainer's decision recorded on #1238.
.github/copilot-instructions.mdabout the GraphQLpullRequestsconnection defaulting tostates: [OPEN]. It cited a "Triggering and Polling" section and aBOT_IDquery the file no longer holds, so the ledger's own rule deletes it.Q_BOT_IDinscripts/pr_review.py: the query names nostatesargument 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 thecommentslabel.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 aboutrepo-config/configure.sh, theclaimscheck inscripts/pr_review.py, and.github/workflows/merge-bot-task.yml, which it covers. Deferred to Move the Hub-Tooling Disproved Claims Entries Into the Code They Constrain #2680, since the decision on Disproved Claims Entry Cites a Runbook Section the File No Longer Holds #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 underprose_lint.py --check sentence-length. Filed on Move the Hub-Tooling Disproved Claims Entries Into the Code They Constrain #2680.🤖 Generated with Claude Code