Skip to content

docs(pr-pipeline): record stage-order baseline - #11762

Merged
kyle-sexton merged 3 commits into
mainfrom
host-run/10205-stage-order-baseline
Nov 1, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
host-run/10205-stage-order-baseline

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #10205

Summary

Records the stage-order baseline the owner asked for on 2026-10-29: rounds, re-verifications, and lane turns and minutes per merged pull request, over the 1,400 pull requests merged from 2026-10-24T23:56Z to 2026-10-31T23:56Z. It is measured before the stage order changes.

Fix

  • Adds docs/conventions/pr-pipeline/stage-order-baseline.md with the figures, the window, the sources and the queries, plus a pr-pipeline changelog fragment.
  • Re-verifications come from the 90-day pr-verify-<pr>-<sha>-<verdict> artifacts: mean 0.60 per pull request.
  • Rounds:
    • Counted as address-feedback runs. Reading the marker comment would take one comment read per pull request.
    • publish-feedback.mjs posts one marker per run, so the counts match.
    • Per pull request: 0.13, on a one-day cohort of 235.
    • Per merged pull request over 7 days: 0.16.
  • Turns and minutes:
    • Estimated from a random sample of 60 act-turns.json files, out of 1,725 runs.
    • 55.5 turns and 5.8 model minutes per merged pull request.
    • Tokens are unavailable.

Verification

  • scripts/check-affected.sh --tests on the committed head: 12 passed, 4 skipped.
  • The run used 194 GitHub reads, all list reads apart from 2 issue reads and the 60 sample downloads. No call hit a rate limit.

Left out: nothing

Related

Remaining

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits October 31, 2026 20:09
Rounds, re-verifications, and lane turns and minutes per merged pull
request over the 7 days to 2026-10-31, from list reads and a 60-run
sample of act-turns.json.

Refs: #10205

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 1, 2026 00:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T00:49:55.547567Z 92f77f0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed a977c453270f3a5b34bdf3b2b95bf107fd64c631: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review (incremental, since 92f77f0)

I found no security issues.

Scope. I read the only file changed since the last review, docs/conventions/pr-pipeline/stage-order-baseline.md, in full from .claude-lane/incremental.diff.

  • The change replaces measured figures. Address-feedback rounds per PR go from 0.13 to 0.07, and the max goes from 4 to 2.
  • It renames a table row to "Address-feedback runs ÷ merged PRs".
  • It expands the methodology. It splits dispatches from model runs, says where the 80 dispatches landed, and defines a round as a dispatch that reached the address-feedback model run.

Why nothing is flagged.

  • The file is a descriptive measurement record. It holds no standing instruction, gate, hold, token scope, trusted-actor list or manifest field.
  • It deletes or softens no rule that a model or lane relies on, so the instruction-surface lens finds nothing.
  • docs/conventions/pr-pipeline/stage-order-baseline.md matches none of the TRUSTED PATHS globs. The only pr-pipeline trusted path is docs/conventions/pr-pipeline.yaml, which this pull request does not touch.
  • The skip gate's item 2 applies: the change has no security-relevant surface.

PR context. The description contains no embedded directives aimed at the review lane. It still gives the earlier figure, "Per pull request: 0.13", which the head file now records as 0.07. That is a description-accuracy point, not a security one.

critical-findings: 0

@github-actions github-actions Bot 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.

claude-review: 1 inline finding(s) on 92f77f0cb427a4949b3b47209d7d2866fd05ea54; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed a977c453270f3a5b34bdf3b2b95bf107fd64c631: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Incremental code review: docs/conventions/pr-pipeline/stage-order-baseline.md (92f77f0 → a977c45)

No findings.

What changed

This commit changes how the baseline counts rounds. A pr-feedback-dispatched-* artifact now counts as a dispatched pr-unblock run, not as a model run. A round is now a dispatched run whose workflow run also has a skill-reply-pr-unblock-address-feedback-* artifact, which marks the model run that publish-feedback.mjs posts a marker for. As a result:

  • The per-PR rounds row drops from mean 0.13 / max 4 to mean 0.07 / max 2.
  • The 7-day row is renamed "Address-feedback runs ÷ merged PRs", and the prose now says it is a ratio, not a per-PR count.

Consistency checks (arithmetic on the document's own figures; I could not check the underlying data)

  • Where the 80 dispatches landed: 31 + 3 + 34 + 11 + 1 = 80 ✔
  • Cohort dispatches: 17 reached + 14 stopped = 31 ✔. 17 ÷ 235 = 0.072 → 0.07 ✔
  • 17 rounds on 14 PRs leaves 3 extra rounds, which fits a max of 2 per PR (it rules out the old max of 4) ✔
  • For the whole day: 39 dispatched + 7 undispatched = 46 model runs ✔
  • 7-day figure: 227 ÷ 1,400 = 0.162 → 0.16 ✔. This matches the 227 address-feedback runs in the "Lane runs" table.
  • The "one-day cohort undercounts rounds" limit (L99) still holds with the lower figure.

All of these figures are the author's. I re-checked only that they agree with each other; the counts behind them are unverified.

Note (not counted as a finding)

The PR description is now out of date against the document. Its "Rounds" bullets still give 0.13 per PR. They also say "publish-feedback.mjs posts one marker per run, so the counts match", but the revised doc (L44, L52-L54) shows that dispatches and model runs differ. The description should say 0.07 so a reader of the PR record doesn't quote the old figure.

Other

A pr-feedback-dispatched artifact records a dispatched pr-unblock run,
not an address-feedback model run. Show where the 80 dispatches landed
and count rounds as the 17 cohort dispatches that reached the model run.

Refs: #10205

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit ca93260 Nov 1, 2026
43 checks passed
@kyle-sexton
kyle-sexton deleted the host-run/10205-stage-order-baseline branch November 1, 2026 02:56
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.

1 participant