Repository navigation
cracktro: add PR Sous Chef slide under Pull Request Review² - #78640
Conversation
Co-authored-by: Copilot App <[email protected]>
…-slide # Conflicts: # .github/skills/cracktro/mechanics.md
Regroup the process band into documented pattern columns, rename Daily Unsloppers to Daily Improvers, add Dreaming and Ponytail Reviewer slides. Co-authored-by: Copilot App <[email protected]>
…an-agent-processes # Conflicts: # .github/skills/cracktro/SKILL.md # .github/skills/cracktro/mechanics.md # .github/skills/cracktro/slides.md # docs/public/cracktro/deck.js
Co-authored-by: Copilot App <[email protected]>
…ocesses' into pelikhan/pr-sous-chef-slide # Conflicts: # .github/skills/cracktro/mechanics.md # docs/public/cracktro/deck.js
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✂️ Ponytail Reviewer has started processing this pull request |
|
✅ PR Code Quality Reviewer completed the code quality review. PR Code Quality ReviewerOutcome: The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
Co-authored-by: Copilot App <[email protected]>
Comment MemoryPeek at saved memory (pr-code-quality-reviewer)Note This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread.
|
There was a problem hiding this comment.
I found one blocking correctness issue in the refresh miner: its candidate search is bounded by PR creation dates, so the published all-time window can omit older PRs nudged during the measurement period. Please fix the candidate discovery before relying on these metrics.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~4 AIC · ⌖ ~2 AIC · ⊞ 1.5K
Comment /review to run again
| // PRs whose comments carry the Sous Chef marker, partitioned by PR creation date (7-day windows stay below the 1,000-result search cap) | ||
| const prs = new Map(); | ||
| if (process.env.IN) for (const n of JSON.parse((await import("node:fs")).readFileSync(process.env.IN, "utf8"))) prs.set(n.number, n); | ||
| else for (let t = Date.parse("2026-05-01"); t <= Date.parse(end); t += 7 * DAY) { |
There was a problem hiding this comment.
This search partitions candidates by pull-request creation date (created:${w}) and only scans windows starting 2026-05-01. It therefore omits any PR created before May 1 that received a Sous Chef nudge during the stated 13 May–16 Nov measurement window—exactly the kind of long-lived idle PR this workflow targets. The resulting nudges, PR count, merge rate, and monthly bars cannot be treated as all-time totals. Please discover candidates independently of PR creation date (or start the creation-date range early enough) and continue filtering comments by nudge date before publishing these measurements.
Comment MemoryPeek at saved memory (review-history)History |
There was a problem hiding this comment.
🟡 Changes recommended
An unchanged navigation assertion will fail because the control remains visible, and the nudge-counting logic can incorrectly attribute replies when a subsequent nudge falls outside the requested date window.
1 open issue
What changed in this PR
This PR supports the PR Sous Chef example in the cracktro talk’s Pull Request Review² column, explaining how idle pull requests get moving again. It adds measured-data refresh tooling and aligns supporting documentation and tests with the reorganized process slides.
Changes:
- Add PR Sous Chef data mining, refresh instructions, and measured-content documentation.
- Update the slide index and column structure, including Dreaming and Daily Improvers.
- Align navigation tests and refresh references with the revised slide organization.
| File | Description |
|---|---|
docs/tests/talk.spec.ts |
Update slide names and column-navigation expectations. |
.github/skills/cracktro/workflow-prompts.md |
Rename the Daily Improvers prompt entry. |
.github/skills/cracktro/slides.md |
Register PR Sous Chef and reorganize process slides. |
.github/skills/cracktro/SKILL.md |
Use improvers in slide metadata examples. |
.github/skills/cracktro/refresh/pr-sous-chef.mjs |
Compute nudge, response, and merge metrics from PR comments. |
.github/skills/cracktro/refresh/pr-sous-chef.md |
Document metric definitions, refresh steps, and limitations. |
.github/skills/cracktro/refresh/merge-fast-unslop-daily.sh |
Update terminology in a comment only. |
.github/skills/cracktro/refresh/merge-fast-unslop-daily.md |
Align refresh documentation with Improver terminology. |
.github/skills/cracktro/refresh/daily-improvers.mjs |
Update header comments and the usage example. |
.github/skills/cracktro/refresh/daily-improvers.md |
Rename the refresh guide and helper references. |
.github/skills/cracktro/mechanics.md |
Document revised process columns and their examples. |
.github/skills/cracktro/data-refresh.md |
Register the new refresh guide and renamed helper. |
.github/skills/cracktro/content-rules.md |
Document PR Sous Chef’s measured strip and terminology updates. |
Review effort: Balanced (adaptive)
| out.prepItems[/^\d+\. Update this branch/.test(l) ? "branch" : /^\d+\. Review \(/.test(l) ? "review" : /^\d+\. Fix failing check/.test(l) ? "check" : "other"]++; | ||
| } | ||
| // answered: the Copilot coding agent (copilot-swe-agent) comments after this nudge and before the next one | ||
| const next = nudges[i + 1]?.createdAt || "9999"; |
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd, /diagnosing-bugs and /codebase-design to the refresh tooling and the slide wiring. Posting observations only: no blocking issues.
📋 Key Themes & Highlights
Key Themes
- Test coverage: the nudge classifier in
pr-sous-chef.mjshas no fixtures. - Silent undercounts: truncated comment pages are recorded but never surfaced.
- Duplicated numbers: the runbook baseline and the deck KPIs can drift apart.
Positive Highlights
- ✅ The committed
deck.jsparses. The PR Sous Chef block sits underprr, and theimproverscolumn holds seven examples, matchingdocs/tests/talk.spec.ts. - ✅ The Daily Unsloppers to Daily Improvers rename is complete in the committed tree, with no stale references.
- ✅ The miner is read-only and its search windows are capped with an explicit error.
Limits of this review
- The pre-fetched patch omits
docs/public/cracktro/deck.js. I reviewed the committedHEADcopy instead, so the diff-level changes there are only partly covered. - The measured numbers in the runbook and deck could not be re-derived from this sandbox, so I did not verify them.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~7 AIC · ⌖ ~2 AIC · ⊞ 6.7K
Comment /matt to run again
| const inWin = c => c.createdAt.slice(0, 10) >= start && c.createdAt.slice(0, 10) <= end; | ||
| const isChef = c => BOTS.has(c.author?.login) && (c.body || "").includes("pr-sous-chef"); | ||
| // a nudge addresses Copilot first, after an optional ```hidden marker block, or is a prep list (the first prep lists, 4-8 Nov 2026, had no @copilot); acknowledgements and reports do not | ||
| const isNudge = c => |
There was a problem hiding this comment.
[/tdd] isNudge encodes three nudge shapes (the PREP marker, a leading hidden block followed by @copilot, and a bare @copilot) plus the first-prep-list exception, but none of these has a fixture test. A format change in the bot comments would silently shrink the counts.
💡 Suggested test
Add one fixture per shape, plus negatives: a body that mentions @copilot only on a later line, and an acknowledgement. Both should return false.
@copilot please address this.
| const hours = []; | ||
| for (const p of prs.values()) { | ||
| const cs = p.comments.nodes; | ||
| if (p.comments.totalCount > cs.length) out.truncated.push(p.number); |
There was a problem hiding this comment.
[/diagnosing-bugs] Truncated comment pages are only recorded in out.truncated. Nothing in this path fails or warns, so an undercounted window would flow silently into the KPIs on the slide.
💡 Suggested fix
Fail the run, or print a warning, when out.truncated is non-empty, unless the caller already checks it.
@copilot please address this.
|
|
||
| Output: `{ window: {start, end, days}, nudges, nudgedPRs, prepLists, prepItems: {branch, review, check, other}, ciFollowUps, answered, merged, nudgeToMergeHours: {median, n}, months: {"YYYY-MM": {nudges, prs}}, truncated: [PR numbers] }`. | ||
|
|
||
| Sanity baseline (window 2026-05-13..2026-11-16, run 17 Nov 2026): |
There was a problem hiding this comment.
[/codebase-design] This baseline table repeats numbers that are also KPI strings in deck.js, and nothing ties the two together. The next refresh could update one and not the other. I checked that the monthly nudge counts sum to 5,826, so the table is internally consistent.
💡 Suggested fix
Generate both from the miner output, or keep the baseline in one dated fixture that the deck reads.
@copilot please address this.
|
🎉 This pull request is included in a new release. Release: |

The talk's Pull Request Review² column showed how agents review PRs, but not what keeps PRs from stalling after review. This adds a PR Sous Chef slide as the fourth example in that column, after Ponytail Reviewer, Issue Monster and Decide - Draft - Record.
The slide (#22)
It explains the concept in one animated flow:
@copilotcomment listing what is left; Copilot pushes, CI reruns, and the PR is back in motion. Humans still review and merge.A bottom strip carries measured gh-aw data from PR comments with the Sous Chef marker (13 May - 16 Nov 2026, snapshot 17 Nov): 5,826 nudges on 2,623 PRs, 71% answered by Copilot before the next nudge, 90% of nudged PRs merged (median 1.8 h after the first nudge), plus nudges per month. The PRs and comments in the flow are illustrative; the caption and speaker notes say so.
Supporting changes
.github/skills/cracktro/slides.md: new row in column order..github/skills/cracktro/mechanics.md:prrcolumn list now ends with PR Sous Chef..github/skills/cracktro/content-rules.md: Exception bullet for the measuredpsc-strip..github/skills/cracktro/data-refresh.md+ newrefresh/pr-sous-chef.{md,mjs}: a refresh mini-skill and miner to recompute the strip.Notes for review
// Patch to PR, with its own CSS lines, to keep conflicts small.mainandpelikhan/cracktro-human-agent-processes(Ponytail Reviewer, Dreaming column, Daily Improvers rename). The diff will shrink once that branch lands.Validation
node --check docs/public/cracktro/deck.jsandloadSlides()(88 slides) pass.talk.spec.tsnot run locally (nodocs/node_modules); tests look up slides by heading, so the renumbering should not affect them.Screenshot: I could not capture and upload one from this environment; please attach a 1920x1080 screenshot of slide #22 at its end state.