← Back to Pull requests

Over red, the second standing case: the floor bounded by main's floor and the own change, and the appends the owner covered #377

Open
unknown opened this pull request with 571 lines diff across 7 files
View on GitHub
unknown unknown commented on Nov 07, 2026 18:31 UTC
Author

The second standing case for merging over red, in CLAUDE.md, gets three changes. Each is traced to its source.

What and why

1. The floor of RunTests is held to a bound: main's floor plus the pull request's own change to it. This answers both medium findings of #362's round (issue 39, comment 6683264161).
- The Linux bound. #362 let a merge keep a measured Linux count that is at least the higher of the two sides' floors. That bound misses a merge that lost the cases the lower side added. Take a merge base with a floor of 420, a branch that adds 21 cases (441), and main adding 75 (495). A merge that lost the branch's 21 cases measures 495, which is at least the higher floor, so the floor would record the loss. The bound is now main's floor plus the pull request's own change to it, which is its floor less the merge base's. On Linux, the floor is the count measured on the merged tree, and a count below the bound needs the owner. #298's take of 2026-11-06 meets that bound: 495 plus its 5 makes 500, as measured.
- The Windows floor. "The higher floor" could be read as the Windows floor, which nothing here measures. Windows now has a sentence of its own: the floor there is the bound, held by the compiler-windows run.
- Whose words. The rule says that the bound is its own narrowing of the owner's approval of the floor (comment 6680659012), not the owner's own words. The rerere entry's sentence on that approval says the same.
- The history note on the second case names both steps: the approval of 2026-11-02 and its widening of 2026-11-06.
2. A same-end append counts as covered (the owner, 2026-11-06, issue 39, comment 6694541027, "Approve + widen"). The two sides may each append at the same end of an id list or of a table row, in the owner's words, when the merge keeps every word of both. An append of prose at the end of a line is no such append, and still needs the owner.
3. Two line verdicts count as covered (the owner, 2026-11-07, issue 39, comment 6710283110, "Both covered"). These are conflict blocks whose sides have different line counts, read line by line:
- one side's whole lines standing between lines the other side changed;
- items or table rows that both sides added at the end of one list, in either order.

In both, the merge keeps every line of both. Any other line block still needs the owner for its head.

Blast radius

  • CLAUDE.md, the rule "Merging over a red or missing check". Its second case changes what a session may merge over red without asking the owner. The floor's bound is narrower than before. The two kinds of conflict above are wider than before, each by the owner's answer.

  • Who reads it: every session that takes main into a pull request after its round and merges over red, and the review rule "rules for sessions".

  • knowledge/rerere-replays-a-resolution-in-every-worktree.md: one sentence on whose words the floor's bound is.

  • No gate changes. The rule's conditions are read by the caller, a judgment step, and the merge tool takes --over-red as the caller's statement (HAZARD #3). So neither knowledge/diagram-gate-map.md nor guides/quality-bar.md changes.
  • How it was made

    The three commits were made on #362's reviewed head e10b1020 while #362 waited in the queue. After #362 merged, the branch took #362's last head 1d0b1acc, whose tree equals main's at 3a76bccf, and then recorded main with that tree. The diff against main is these three commits' change alone, 2 files.

    Checks

  • The gates in the image on ee7493e3: self-tests (14 tools, 1372 cases, 1311 red proofs), tree (1251 files), knowledge (0 errors, 1 warning: the evidence's numbers expire in 60 days), reference (284 rules, 0 errors), compiler-tests (5757 passed, 0 failed, 0 skipped), unicode-tables, ci-config and push-hook PASS. merge-checks FAIL, because this login cannot read the settings. pr-title, pr-breadth and pr-findings NOT RUN, since there was no pull request.

  • The head, 1436f991, changes one phrase of CLAUDE.md after that run, from the acceptance judge's table. That edit reached the working tree while the run was going, so no local run read it from start to end. The gates run of the push is its check.

  • No case holds the rule: a session reads its conditions, a judgment step, and the merge tool takes --over-red as the caller's statement (HAZARD #3). NOT RUN, since there is nothing to run.
  • 🤖 Generated with Claude Code

    Diff: 571 lines (+428 / -143) across 7 files Reviewer: github-actions[bot] Review duration: 8m
    All Vouch review confidence checks passed
    Residual risk 0.38 = Change Risk (0.55) × (1 − Review Confidence (0.31)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.55 · 571 lines diff across 7 files
    0.55
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 56% · Reviewer familiarity: 35%
    31%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.380
    Shallow Review Depth shallow_review_depth
    0.344
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #377"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: medium confidence: 31.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 54.8% (MEDIUM) · Higher = larger blast radius
    54.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 31.2% · Lower = rushed or shallow review
    31.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 37.7% · Moderate risk
    37.7%
    Repository