Repository navigation
cracktro: measured Ponytail Reviewer strip - #78659
Conversation
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
Add a MEASURED strip to the Ponytail Reviewer slide from gh-aw's own
ponytail-reviewer runs and reviews (8 Aug-16 Nov 2026): reviews, inline
findings, noop share (run sample), acted-on share, lines claimed,
findings by kind and median AI credits per review by month. The diff
animation stays illustrative and is compressed to make room.
Adds refresh/ponytail-reviewer.{md,mjs}, the data-refresh index row,
a content-rules Exception bullet and an updated slides.md summary.
Co-authored-by: Copilot App <[email protected]>
Resolve conflicts by reapplying the measured Ponytail Reviewer strip on top of main (the cracktro base branch was squash-merged). Co-authored-by: Copilot App <[email protected]>
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ 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.
|
|
✅ PR Code Quality Reviewer completed the code quality review. Caution agentic threat detected DetailsPotential security threats were detected in the agent output. Detected threat types: prompt injection. Review the workflow run logs for details. 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.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: 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.
|
There was a problem hiding this comment.
🟡 Changes recommended
Published metrics remain unreliable because the script counts diagnostic skips as verdicts, includes out-of-window reviews, miscalculates even-sample medians, and cannot reproduce the documented sample size.
4 open issues
What changed in this PR
Adds measured gh-aw workflow results to the Ponytail Reviewer slide, extending the existing illustrative example with aggregate review outcomes and costs.
Changes:
- Adds a measured statistics strip and compresses the illustrative animation to make room.
- Introduces a read-only refresh script with optional workflow-artifact sampling.
- Updates the slide summary, refresh index, and measured-content rules.
| File | Description |
|---|---|
docs/public/cracktro/deck.js |
Adds measured statistics, charts, captions, and speaker notes. |
.github/skills/cracktro/slides.md |
Adds the measured takeaway to the slide summary. |
.github/skills/cracktro/refresh/ponytail-reviewer.mjs |
Collects review, finding, cost, and sampled run statistics. |
.github/skills/cracktro/refresh/ponytail-reviewer.md |
Documents sources, baseline values, and refresh steps. |
.github/skills/cracktro/data-refresh.md |
Indexes the new refresh guide. |
.github/skills/cracktro/content-rules.md |
Documents the measured-data exception for the slide. |
Review effort: Balanced (adaptive)
| | `findings.acted` (`resolved`, `outdated`, `replied`, `copilotReplied`) | 332 = 57% (118, 227, 283, 215) | KPI `57%` | | ||
| | `linesClaimed` (`reviews`, `total`, `median`) | 446, 10219, 12 | KPI `10,219`, `median 12` | | ||
| | `aicPerReview.medianByMonth` | Aug 19.9, Sep 5.19, Oct 11.6, Nov 5 | `AICM` (one decimal) | | ||
| | `sample` (`every` 5) `noopShare` (`noop`/`review`, `withOutput`) | 0.763 (300/93, 431 of 585) | KPI `76%` | |
There was a problem hiding this comment.
Fixed in 0cac7b5: the sample is now every 5th run of the whole window (newest first, any conclusion), so 2,928 runs give 585 samples. Runs without an unexpired artifact are counted as noArtifact. Regenerated with the checked-in script: 421 with output, 379 verdicts, 79% Lean already (slide, content-rules and baseline updated).
There was a problem hiding this comment.
Updated the policy to sample every fifth run from the full time-bounded, newest-first run list, and added a fixture asserting 2,928 runs produce 585 picks. The baseline uses 421 outputs from that sample. Fixed in 910a584.
| } | ||
| }; | ||
| const pool = async (items, n, fn) => Promise.all(Array.from({ length: n }, async () => { while (items.length) await fn(items.shift()); })); | ||
| const med = v => (v = v.filter(x => x != null).sort((x, y) => x - y)).length ? v[Math.floor((v.length - 1) / 2)] : null; |
There was a problem hiding this comment.
Fixed in 0cac7b5: med() now averages the two middle values for even counts. Lines-claimed median stays 12; the Aug AIC median is now 19.95, shown as 20 on the slide.
There was a problem hiding this comment.
Even-sized medians now average the two central values; the offline self-test covers [2, 10] → 6. Fixed in 910a584.
| const s = JSON.parse(await gh(args)).data.search; | ||
| for (const p of s.nodes.filter(n => n.number)) { | ||
| scanned++; | ||
| const mine = p.reviews.nodes.filter(r => (r.body || "").includes(MARK)); |
There was a problem hiding this comment.
Fixed in 0cac7b5: reviews are kept only when submittedAt falls inside START..END (same inWindow() check as runs).
There was a problem hiding this comment.
Reviews are now filtered by submittedAt within the inclusive window, as are runs by creation date. Fixed in 910a584.
| s.withOutput++; | ||
| const types = (JSON.parse(readFileSync(join(d, "agent_output.json"), "utf8")).items || []).map(i => i.type); | ||
| if (types.includes("submit_pull_request_review") || types.includes("create_pull_request_review_comment")) s.review++; | ||
| else if (types.includes("noop")) s.noop++; |
There was a problem hiding this comment.
Fixed in 0cac7b5: classify() reads the noop message and sorts runs into review, lean, clean (other nothing-to-cut wording) and skip (missing or empty pre-fetched input). Skips and other outputs are excluded from the denominator. Regenerated: 79% (297 lean + 2 clean of 379 verdicts; 6 skips excluded).
There was a problem hiding this comment.
Diagnostic noops are classified as skip and excluded from the verdict denominator. Added classifier fixtures for diagnostic and assessed noops in 910a584.
|
Caution agentic threat detected DetailsPotential security threats were detected in the agent output. Detected threat types: prompt injection. Review the workflow run logs for details. 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.
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
Potential security threats were detected in the agent output. Detected threat types: prompt injection.
Review the workflow run logs for details.
Found 3 actionable issues:
- The documented
ENDargument is passed literally and causes a silent all-zero refresh. - The notes mislabel a PR count as a review count.
- Swallowed artifact download failures bias the sampled noop rate without signaling incomplete coverage.
I did not run tests, per the static-review instructions.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~5 AIC · ⌖ ~2 AIC · ⊞ 1.5K
Comment /review to run again
| Read-only; `gh auth status` must pass. ~10 min for PRs and runs; the sample adds ~10 min per 500 runs. | ||
|
|
||
| ```bash | ||
| SAMPLE=5 node .github/skills/cracktro/refresh/ponytail-reviewer.mjs 2026-08-06 END > "$TMPDIR/pnt.json" |
There was a problem hiding this comment.
The documented invocation passes the literal string END as the second positional argument, but the script treats that argument as an ISO date. Date.parse("END") is NaN, so the PR window loop never executes and the command exits successfully with an all-zero dataset. Please use an actual date (or omit the argument) and validate date arguments so refreshes cannot silently publish zeros.
There was a problem hiding this comment.
Fixed in 0cac7b5: the docs pass explicit dates (2026-08-06 2026-11-16), END defaults to yesterday UTC, and the script rejects anything but a valid YYYY-MM-DD (and START > END) with exit 2.
There was a problem hiding this comment.
The guide now uses explicit ISO dates, and the script rejects malformed or impossible dates with a nonzero exit instead of emitting an empty dataset. Fixed in 910a584.
| under: "prr", | ||
| notes: | ||
| "Ponytail Reviewer: one of the agentic reviewers behind Pull Request Review², with a single question: is any of this more complicated than it needs to be? The file, findings and line counts are illustrative, a synthetic Go change. The workflow is real: when a pull request that changes code is marked ready for review, or when someone comments /ponytail, it runs on Codex with read-only permissions and the open-source ponytail-review skill. It reads the pre-fetched diff and ignores bugs, security and performance, which other reviewers cover; it looks only for code that should not exist or should be smaller: an abstraction with one implementation, dead code, a helper the standard library already has. Each finding is one inline comment that names the kind of cut and the lines it saves, at most ten, and the review is a comment that cannot block the merge and ends with the total lines that could go. Copilot trims, and when nothing is left to cut the reviewer just says: Lean already. Ship.", | ||
| "Ponytail Reviewer: one of the agentic reviewers behind Pull Request Review², with a single question: is any of this more complicated than it needs to be? The file, findings and line counts are illustrative, a synthetic Go change. The workflow is real: when a pull request that changes code is marked ready for review, or when someone comments /ponytail, it runs on Codex with read-only permissions and the open-source ponytail-review skill. It reads the pre-fetched diff and ignores bugs, security and performance, which other reviewers cover; it looks only for code that should not exist or should be smaller: an abstraction with one implementation, dead code, a helper the standard library already has. Each finding is one inline comment that names the kind of cut and the lines it saves, at most ten, and the review is a comment that cannot block the merge and ends with the total lines that could go. Copilot trims, and when nothing is left to cut the reviewer just says: Lean already. Ship. The bottom strip is measured on gh-aw (snapshot 17 November 2026). From 8 August to 16 November 2026 (101 days) the workflow ran 2,928 times and posted 469 COMMENT reviews on 467 pull requests: 580 inline findings, mostly one per pull request, and 35 reviews with none inline. The reviews claim 10,219 lines that could go, a median of 12 per review. 57% of the findings were acted on: the code changed under them, the thread was resolved, or someone replied, usually Copilot. Until November each finding started with its kind: yagni 203, shrink 135, delete 68, stdlib or native 16; the newer prose findings carry no tag. In a one-in-five sample of runs with saved output, 76% of verdicts were Lean already. Ship. The median AI credits per review fell from about 20 in August, on the Copilot auto model, to about 5 in November after the move to Codex and economy routing; October's rise came with a larger model. The diff and findings in the animation are illustrative.", |
There was a problem hiding this comment.
The notes say "35 reviews with none inline", but the refresh script computes perPR from p.threads.length, so this bucket counts PRs, not reviews. Since the KPI is 469 reviews on 467 PRs, the wording is materially misleading. Please change this to "35 pull requests with no inline findings" (and keep the same definition in the refresh documentation).
There was a problem hiding this comment.
Fixed in 0cac7b5: the notes now say 35 pull requests with none inline, and the refresh baseline says 35 PRs.
There was a problem hiding this comment.
Changed the note to “35 pull requests with none inline,” matching the per-PR grouping. Included in 910a584.
| const d = join(dir, String(r.id)); | ||
| try { | ||
| await gh(["run", "download", String(r.id), "-R", REPO, "-n", "agent-output-fallback", "-D", d], 1); | ||
| } catch {} |
There was a problem hiding this comment.
Download errors are swallowed here, but the code then treats missing agent_output.json exactly like an artifact that was unavailable/expired. A transient API failure, rate limit, or auth problem therefore silently removes sampled runs from withOutput and can inflate or deflate the published 76% noop share. Please track download failures separately and surface a warning or fail the sample when coverage is incomplete.
There was a problem hiding this comment.
Fixed in 0cac7b5: the script checks the artifact list first (missing or expired -> noArtifact), records real download failures in downloadErrors with the run id on stderr, and exits 1 so an incomplete sample is never published. The baseline run had 0 download errors.
There was a problem hiding this comment.
Artifact API/download errors are now logged with the run ID, recorded separately, and cause the sample to exit unsuccessfully; expired/missing artifacts remain a separate count. Fixed in 910a584.
Comment MemoryPeek at saved memory (review-history)History |
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /diagnosing-bugs, /tdd and /grill-with-docs. Requesting changes on one documented command that does not run, plus measurement points that could inflate the slide numbers.
📋 Key Themes & Highlights
Key Themes
- Broken documented command:
ponytail-reviewer.mdpasses a literalENDas the end date, so the refresh script reports zero reviews. - Possible KPI inflation: any
noop-only run counts as "Lean already", which may include failures. The 76% figure depends on this. - Silent sample loss: the artifact
catch {}hides download failures and biases the shares. - Visual verification gap: the caption and
.pnt-diffreflow have no overlap or screenshot check in this PR.
Positive Highlights
- ✅ Clear mini-skill with a validation table and an explicit KPI definition table.
- ✅ Slide notes keep the
illustrativemarker, so thetalk.spec.tscheck passes. - ✅ The refresh script is read-only and reports caveats next to each number.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~6 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
| Read-only; `gh auth status` must pass. ~10 min for PRs and runs; the sample adds ~10 min per 500 runs. | ||
|
|
||
| ```bash | ||
| SAMPLE=5 node .github/skills/cracktro/refresh/ponytail-reviewer.mjs 2026-08-06 END > "$TMPDIR/pnt.json" |
There was a problem hiding this comment.
[/diagnosing-bugs] The documented command passes the literal string END as the end date. Date.parse("END") is NaN, so the window loop never runs and the script reports prsScanned=0 and reviews=0. Use a real date such as 2026-11-17, or make the end argument optional and default it to today.
@copilot please address this.
There was a problem hiding this comment.
Fixed in 0cac7b5: explicit dates in the documented command, END optional (defaults to yesterday UTC), and invalid dates fail with exit 2.
There was a problem hiding this comment.
Replaced the literal END in the documented command with 2026-11-16; date arguments are validated before querying. Fixed in 910a584.
| s.withOutput++; | ||
| const types = (JSON.parse(readFileSync(join(d, "agent_output.json"), "utf8")).items || []).map(i => i.type); | ||
| if (types.includes("submit_pull_request_review") || types.includes("create_pull_request_review_comment")) s.review++; | ||
| else if (types.includes("noop")) s.noop++; |
There was a problem hiding this comment.
[/tdd] Any run whose only output is a noop is counted as a "Lean already" verdict, but the workflow also uses noop for failures. The 76% KPI on the slide can therefore be inflated. Match the noop message (Lean already. Ship.) or record failed runs separately, and cover both cases with a fixture.
@copilot please address this.
There was a problem hiding this comment.
Fixed in 0cac7b5: noop verdicts are classified by message (lean / clean / skip) and only lean + clean count. node .github/skills/cracktro/refresh/ponytail-reviewer.mjs --self-test covers lean, clean, skip, review and other fixtures. KPI regenerated: 79%.
There was a problem hiding this comment.
Only noops containing the required “Lean already. Ship.” verdict count as lean; diagnostic and unknown noops are excluded. Offline fixtures cover both. Fixed in 910a584.
| const d = join(dir, String(r.id)); | ||
| try { | ||
| await gh(["run", "download", String(r.id), "-R", REPO, "-n", "agent-output-fallback", "-D", d], 1); | ||
| } catch {} |
There was a problem hiding this comment.
[/diagnosing-bugs] The empty catch {} drops artifact download errors silently, so missing samples bias noopShare and withOutput with no trace. Log the failure with the run ID so a bad sample is visible in the output.
@copilot please address this.
There was a problem hiding this comment.
Fixed in 0cac7b5: download failures are logged with the run id, collected in sample.downloadErrors, and make the script exit 1.
There was a problem hiding this comment.
Download failures now emit a warning with the run ID, are included in downloadErrors, and fail the sample rather than silently biasing the result. Fixed in 910a584.
| inc((modelByMonth[month(r.submittedAt)] ||= {}), e ? `${e[1]}/${e[2]}` : "unknown"); | ||
| } | ||
| const kinds = {}; | ||
| for (const t of threads) inc(kinds, (KIND.exec((t.comments.nodes[0]?.body || "").slice(0, 260)) || [, "untagged"])[1].toLowerCase()); |
There was a problem hiding this comment.
[/grill-with-docs] The untagged bucket mixes real findings with prose-format reviews from November, and the regex only inspects the first 260 characters. Document that untagged is a proxy, or classify prose findings explicitly, so the 158 figure on the slide is not read as a clean category.
@copilot please address this.
There was a problem hiding this comment.
Done in 0cac7b5: the refresh doc now states that untagged is a format proxy (mostly November prose findings that mix every kind), and that scanning the whole body finds no more tags than the first 260 chars. The slide notes already say the newer prose findings carry no tag.
There was a problem hiding this comment.
The refresh guide and content rules now state that untagged is a format proxy for prose findings, not a finding kind. Included in 910a584.
| verdict, | ||
| h("div", { class: "ct-src" }, "illustrative · synthetic diff and findings · workflow: ponytail-reviewer.md") | ||
| strip, | ||
| h("div", { class: "dhm-cap" }, "MEASURED · snapshot 17 Nov 2026 · reviews 8 Aug–16 Nov 2026 (101 d) · run sample 19 Aug–16 Nov · diff and findings illustrative") |
There was a problem hiding this comment.
[/tdd] The ct-src caption is replaced by dhm-cap at top 1036px, the .pnt .ct-src rule is removed, and .pnt-diff shrinks to 456px. Nothing in this PR checks overlap with the chrome buttons (x ≥ 1600, y ≥ 1000). Run docs/tests/talk.spec.ts or add a screenshot check before merge.
@copilot please address this.
There was a problem hiding this comment.
Checked slide 19 at 1920x1080 from the CSS and font metrics: the MEASURED caption spans x 470-1572, y 1036-1050, about 138px left of the nearest bottom-right button (column button at x ~1710) and right of the nav dots (x <= 416). It uses the same .dhm-cap position as the other eight measured slides, so no change is needed. talk.spec.ts was not run locally because docs/node_modules is missing.
There was a problem hiding this comment.
Added a geometry assertion for the Ponytail caption versus the bottom-right chrome at a 1920×1080 viewport. The Playwright spec could not be run locally because docs/node_modules is absent. Added in 910a584.
Add a shared repoWidget (repo octicon, name, star count) with a snapshot default that refreshes live from api.github.com/repositories/<id> on https pages only (never localhost, file:// or tests) and keeps the default on failure. Ponytail shows the skill repo as 'ponytail' without the owner handle; Skills shows mattpocock/skills. Allow the endpoint in the URL test and content rules; document refreshing the defaults. Co-authored-by: Copilot App <[email protected]>
|
🍳 A little prep to help this PR along! Copilot assignment requested for the following outstanding work:
Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering. Structured data{
"completed_task": 0,
"head": "4d8006de3936f7ea5255013dab1b10f138e3c311",
"kind": "requested",
"schema_version": "1",
"state": "c4f3ad9b2119fadf04309fa9824cb5f3b36d07f95197777358881c6d32ff33e8",
"work": [
"3b6323d8812d8bb4f8295bb4d774eca7e7fd86602883992b7f82e65a5cc52e4e",
"3f604ce1a77cdc530697b6bb4f57883cb4e14aaa45b0b61d84e0d32b19e85722",
"4759304660ee65c06d91199e1c8291c71bb4c035f2b1f2df7a1869647d873b30",
"4c2aae74e22ec494a9660adbee45200b5f40d080accdee589c300f552b315745",
"709481aea8630a7e216002eb8d3dfa2d61f5c04e47e817c427bca53551ee1c62",
"829392efb1082c7644e4fef9f46d9d9b1a00cbb3e226738ef76f60e52cea5673",
"86c4e8bb8a1abc263486c72bb4fdcb48c58e1b433491d38dd93e0ef5e9ef6a5b",
"9956435fd71be5be1e857f8176e4864fae6651e565fdd93965b92e8ef1e1c171",
"b9be56714b6f0bf0aa854c7ed8c50fec8c50e89cfb99a0e755a0557fea3f3d44",
"ba1fa14cafdab441c41664620fd2a822a44f7a8028d9c731bdcda274c12b576e",
"df163d539ef468e1c5811d0544bff12c0ddc30561dc255af103d79a6dae0b099",
"f5b0bb9a20ed58eef7a8afb9cec1a32fd42e9119b8d0186c800a887824792e6a"
],
"workflow": "pr-sous-chef"
}
|
- ponytail-reviewer.mjs: validate START/END dates, bound reviews by submittedAt, true median, sample every Nth run of the window, classify noop verdicts by message (lean/clean/skip) with a --self-test, track download failures and exit 1 on an incomplete sample. - Regenerate: Lean already share 79% (299 of 379 verdicts), Aug median AIC 20; notes say 35 pull requests without inline findings. - Document untagged findings as a format proxy. - Index & search: repo widget for the qmd repo (by numeric id). - Skill: take 16:9 screenshots by capturing the .stage element. Co-authored-by: Copilot App <[email protected]>
|
🎉 This pull request is included in a new release. Release: |

The Ponytail Reviewer slide was fully illustrative. This adds a bottom MEASURED strip showing how gh-aw's own
ponytail-reviewerworkflow has actually performed (snapshot 17 Nov 2026; reviews 8 Aug–16 Nov 2026, 101 days):The diff/findings/verdict animation stays illustrative (caption and notes say so) and is compressed to make room.
Repo star widgets (Ponytail Reviewer, Index & search and Skills slides)
ponytail · ponytail-review skill(no owner handle); Index & search showsqmd(no owner handle); Skills showsmattpocock/skills.https://api.github.com/repositories/<id>(numeric id) and keeps the default on any failure. Localhost,file://and tests make no network request, so the "no external requests" test still holds.talk.spec.tsURL allowlist,content-rules.mdURL rule and Exception bullets,SKILL.mdcore rules anddata-refresh.mdupdated; refreshing the defaults is documented.Supporting changes
.github/skills/cracktro/refresh/ponytail-reviewer.{md,mjs}: read-only refresh script (PR search + runs API, optionalSAMPLE=Nartifact sampling; date validation, true medians, noop verdicts classified by message with--self-test, download failures fail the sample) and mini-skill; indexed indata-refresh.md.content-rules.md: Exception bullet for thepnt-strip.SKILL.md: preview screenshots are always 16:9, captured from the.stageelement.slides.mdPonytail row: summary gains a durable takeaway; Notes staysillustrative(mixed slide).Aggregate only: no PR numbers, logins, SHAs or URLs; the external skill's author is not named. Originally stacked on #78638 (now merged); main is merged in.
Validation
node --checkondeck.jsand the script; forbidden-string grep clean;slides.mdparses (88 rows); deck order verified around the slide.runtime.js+deck.js.talk.spec.tsnot run (nodocs/node_moduleslocally).📸 I couldn't upload the screenshot from this environment. Please attach one of the Ponytail Reviewer slide at its end state, one of Index & search and one of the Skills slide.