Repository navigation
fix(roadmap): the jobs trust the items of the two bots - #3664
Merged
Merged
Conversation
Plans #3502: the jobs take an item of the Service App's bot and of github-actions[bot], refine reviews such an item before it is Ready, and the model of refine reads the replies of trusted authors only.
Item, IssueRecord and IssueComment hold the login of the author, which the GitHub store reads from user.login. The in-memory store seeds it, and gives the owner's association to a comment that it writes, as GitHub gives an association to each comment.
…flows The refine, stage, implement and alternatives jobs take an item whose author login is exactly the login of the Service App's bot or github-actions[bot], beside the items of a person with write access. Refine reviews a Ready proposal for such an item with the verification pass of the stage job, and the other jobs take the item only with the recorded approval. A refusal keeps the item New with one comment. Refine tells the author of any other item once, and its model reads only the replies of trusted authors.
SECURITY.md names the rule and the reason: the exact login is the proof, the review of refine is no security control, and the model of refine reads only the replies of trusted authors. The refine page and the workflow page describe the review and the record key refine.judge.
…view read An approval (refine.judge approved) now holds only while the body hashes as refine recorded with the verdict. A body edit ends it, a refine round reviews a Ready item of a bot with no valid approval again, and a record of the hashes with no review clears the verdict. The hash helpers move to body_hash.py. The alternatives job gives its model the comments of trusted authors only, and the dry-run plan of refine lists the read and the notice comment for an item of an author that the jobs do not trust. The new texts are shorter sentences.
…he specs of the jobs SECURITY.md rule 14, the refine and alternatives pages and the key table name the approval and the filter of replies. The change folder adds deltas for the alternatives, stage and implement specs, and shorter sentences.
…login only when given
…nder 500 characters
…s of the two bots
Owner
Author
Fail-to-pass runCommand:
Full gate runCommand:
Earlier review findingsI checked each finding against the code on this branch.
The owner decides at merge: the change widens the trust rule of #2478 to two bots (AGENTS.md rule 5). |
dan-petty
marked this pull request as ready for review
November 5, 2026 17:31
dan-petty
pushed a commit
that referenced
this pull request
Nov 5, 2026
🤖 I have created a release *beep* *boop* --- ## [0.62.7](v0.62.6...v0.62.7) (2026-11-05) ### Bug Fixes * **ai:** a hosted gateway call is priced, not counted local ([#3663](#3663)) ([acdc8a9](acdc8a9)) * **roadmap:** plan-check measures each task group ([#3669](#3669)) ([3791bd9](3791bd9)) * **roadmap:** the jobs trust the items of the two bots ([#3664](#3664)) ([41a362d](41a362d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refine, stage, implement and alternatives left out each item that the Service App or github-actions[bot] opened, because GitHub gives both bots the association CONTRIBUTOR. 38 items waited on this rule. Now a job takes an item whose author has write access, or whose login is exactly service.github_app.bot_login or github-actions[bot]. A bot item reaches Ready only after a review of refine approves the issue and the proposal. The other jobs take it only while that approval holds for the same body. The models of refine and of the alternatives job read only the replies of trusted authors. Refine tells the author of any other item once.
Closes #3502
Change:
openspec/changes/archive/2026-11-05-3502-jobs-trust-service-app-items/