Skip to content

refactor(review): retire the unread review guards file - #2595

Merged
dan-petty merged 2 commits into
mainfrom
refactor/1916-review-guards
Oct 29, 2026
Merged

dan-petty merged 2 commits into
mainfrom
refactor/1916-review-guards

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

No review stage gave the text of .devops/review.md to a model, and Copilot code review does not read it, so its guards checked nothing. The group analysis stage only explains findings that tools admitted, so a guard against a finding that a model makes up has no job (ADR 0005).

  • .devops/review.md, nearest_review_conventions, CONST_REVIEW_CONVENTIONS_FILE, the devops ai agents route to the file and its documentation-class entry are deleted.
  • devops review corpus generate and the pull request checkout copy only AGENTS.md and its peers.
  • ai/tasks/review.md and the current guidance in docs/SELF_IMPROVEMENT.md no longer name the file.
  • Tests that used the file as an example now use AGENTS.md; the guard snapshot test is deleted.

Closes #1916

Change: openspec/changes/archive/2026-10-29-1916-review-guards/

No review stage gave the text of `.devops/review.md` to a model, and
Copilot code review does not read it. The file, its reader, its
constant, the `devops ai agents` route to it and the copies into a
defect corpus and a pull request checkout are deleted. The tests that
used the file as an example now use `AGENTS.md`.
@dan-petty

Copy link
Copy Markdown
Owner Author

Test evidence:

  • uv run devops ci fail-to-pass --base origin/main: 3 failed on base, 154 passed. The three new tests failed there: the corpus held .devops/review.md, the pull request checkout read and wrote it, and a generated AGENTS.md named it.
  • After the rebase: 157 passed in the seven affected test files. Before it, 295 passed with the docs tests, and 77 passed in the persona, group analysis and review history tests.
  • ruff check, ruff format --check and mypy on the changed sources pass; devops docs check passes.

Follow-up filed: #2594 (no review prompt reads the target's AGENTS.md, and conventions_digest is never set).

Pending a person:

  • In AGENTS.md, the row "run a review, or work on verdicts and suppressions" says "review guards are in .devops/review.md". Change it to "suppressions are in .devops/review.toml". No test reads that text, because it is code, not a link.
  • Review the diff in tuicr (tuicr -r origin/main..HEAD).

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 02:17
@dan-petty
dan-petty merged commit 6ae7123 into main Oct 29, 2026
16 checks passed
@dan-petty
dan-petty deleted the refactor/1916-review-guards branch October 29, 2026 02:17
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.13.1](v0.13.0...v0.13.1)
(2026-10-29)


### Bug Fixes

* **roadmap:** import refine at module level to avoid deadlock
([#2535](#2535))
([#2599](#2599))
([3731dff](3731dff))


### Code Refactoring

* **review:** retire the unread review guards file
([#2595](#2595))
([6ae7123](6ae7123)),
closes [#1916](#1916)

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

refactor(review): the review guards of .devops/review.md get a reader, or the guards and the unread constant are deleted

1 participant