Repository navigation
The adversarial review decides issue state, and files less - #819
Merged
Merged
Conversation
Two changes to the review, from the arithmetic of 2026-09: 61 issues filed, 19 closed. The share of merged PRs carrying a closing keyword did not move all year, so the discipline was not the problem. Filing rose fourfold while merging halved. The review now adjudicates every open issue in the territory the branch touches, with one of three verdicts: closed by this branch, already fixed, or still live. Refusing to close is a verdict and gets a line, because the failure this replaces is silence -- the fix lands, the issue reads as familiar to anyone who knows the PR work, and nothing goes back to it. A random sample of five open issues found two already fixed on development. "Already fixed" closes on a probe pasted into the issue, never on the word of a PR that merged nearby: of 44 open issues referenced by a merged PR, the reference very often names a neighbour rather than the defect. And the review files less. A finding the branch fixes is a commit and a line in the posted review, not also an issue. Only a deferred finding is filed, and the PR body says what it leaves open. One defect producing both an issue and a PR comment, with the comment addressed on merge, is most of the backlog. Underworld development team with AI support from Claude Code
This was referenced Oct 5, 2026
This was referenced Oct 5, 2026
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The workflow summary contradicts the three-verdict process and could cause issues to be closed prematurely.
Review effort: Balanced
Findings: 1
What changed in this PR
Updates the adversarial-review process to reduce stale issues and duplicate issue filing.
Changes:
- Adds three-way issue adjudication during reviews.
- Clarifies when findings should become issues.
- Mirrors the policy in
CLAUDE.md.
| File | Description |
|---|---|
docs/developer/guides/adversarial-review.md |
Defines issue adjudication and filing rules. |
CLAUDE.md |
Summarizes the new review policy. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+21
to
+23
| 4. Adjudicate every open issue in the territory the branch touches: close it | ||
| with evidence, or refuse to close it and say what is still live. See | ||
| [Issues the review closes](#issues-the-review-closes). |
This was referenced Oct 5, 2026
Closed
This was referenced Oct 6, 2026
The script is in #820; this is the line that sends a session to it. Underworld development team with AI support from Claude Code
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.

133 open issues. The arithmetic says where they came from.
The share of merged PRs carrying a closing keyword is flat at ~30% all year,
so closing discipline is not what changed. Filing rose fourfold while merging
halved, and 122 of the 133 open issues come from the review sweeps rather than
from anyone using the library.
Two changes, both to
guides/adversarial-review.mdand the CLAUDE.md rulingthat points at it.
The review decides issue state
Before opening the PR, list the open issues in the territory the branch
touches, and return one of three verdicts for each — closed by this branch,
already fixed, or still live — posted on the PR with its evidence.
Refusing to close is a verdict, not a gap. The failure it replaces is silence:
the fix lands, the issue reads as familiar to anyone who knows the PR work, and
nothing ever goes back to adjudicate it.
"Already fixed" closes on a probe run against
developmentand pasted into theissue, never on the word of a PR that merged nearby. 44 open issues are
referenced by a merged PR and the reference very often names a neighbour. A
random sample of five open issues found two already fixed and still open
(#642, #798).
The review files less
A finding the branch fixes is a commit and a line in the posted review. It is
not also an issue. Only a finding we decide not to fix in that branch is filed,
and the PR body then says what it leaves open.
One defect producing both an issue and a PR comment, with the comment addressed
on merge and the issue left behind, is most of the backlog. That escalation was
not in the rule — the rule said post the findings on the PR — so this writes
down what it actually says.
Applied to the branch it was written on
#818 adjudicated its own territory under this rule and found #639: filed in
August with a full diagnosis and a correct recommended fix, left open, and
still costing four cores today — four
divergent.pyranks orphaned to init for15 hours at ~100% CPU each, from the worktree that was editing that very file
all day. 15-minute load average 25.2 before they were killed, 12.9 after.
The adjudication also caught a wrong fix before it shipped. Following the
issue's own evidence (every leak it recorded had
ppid=1) gave a dead-manswitch on
os.getppid(); probed, all four ranks andprterunsurvived aSIGKILLed pytest for the full 70 s at 100% CPU, because under
mpiruntherank's parent is
prterunand not pytest. Watching the runner's pid directlyclears all five in 5 s.
Underworld development team with AI support from Claude Code