Skip to content

The adversarial review decides issue state, and files less - #819

Merged
lmoresi merged 2 commits into
developmentfrom
docs/review-adjudicates-issues
Oct 6, 2026
Merged

lmoresi merged 2 commits into
developmentfrom
docs/review-adjudicates-issues

Conversation

@lmoresi

@lmoresi lmoresi commented Oct 5, 2026

Copy link
Copy Markdown
Member

133 open issues. The arithmetic says where they came from.

month PRs merged issues opened issues closed net
Jul 99 15 61 −46
Aug 81 49 59 −10
Sep 50 61 19 +42

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.md and the CLAUDE.md ruling
that 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 development and pasted into the
issue, 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.py ranks orphaned to init for
15 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-man
switch on os.getppid(); probed, all four ranks and prterun survived a
SIGKILLed pytest for the full 70 s at 100% CPU, because under mpirun the
rank's parent is prterun and not pytest. Watching the runner's pid directly
clears all five in 5 s.

Underworld development team with AI support from Claude Code

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

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.

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 Low severity

Open (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
The script is in #820; this is the line that sends a session to it.

Underworld development team with AI support from Claude Code
@lmoresi
lmoresi merged commit 0972db8 into development Oct 6, 2026
2 checks passed
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.

2 participants