Repository navigation
Skip Design Decision Gate noops and add Decide - Draft - Record slide - #78278
Conversation
Most runs fired on ready_for_review (no label filter), found the PR already merged or below the 100-line business-logic threshold, and still started the agent just to call noop (~0.45 AIC and ~6.5 min each). Add an on.steps pre-activation check that reads the PR and skips activation when it is closed/merged, or has no implementation label, no .design-gate.yml and <=100 business-logic additions. Non-pull_request events and API errors fail open to the agent. The agent prefetch stays as defense-in-depth. Co-authored-by: Copilot App <[email protected]>
Illustrative PR → drafted ADR → maintainer review flow for the Design
Decision Gate, with a measured strip of ADRs on main and a refresh
mini-skill (refresh/decide-draft-record.{md,sh}).
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
|
✅ 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.
|
|
✅ 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.
|
|
🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills... |
|
✅ 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]>
|
✅ PR Specification Reviewer completed successfully!
|
There was a problem hiding this comment.
Found one blocking correctness issue in the refresh script: its history traversal records the newest add/rename date rather than each ADR's first-add date, which invalidates the measured monthly and 30-day figures for files changed after creation. The specialist pass was unavailable because its tool invocation was rejected; this review is based on the pre-fetched diff and targeted source inspection.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~2 AIC · ⊞ 1.5K
Comment /review to run again
Comment MemoryPeek at saved memory (review-history)History |
There was a problem hiding this comment.
Overview
Reviewed PR head 755225247f5e40b4d9a953f3e06fbd46acbc1586 against the agentic-workflow source/lock compilation contract.
Finding
- Blocking — source/lock drift:
.github/workflows/design-decision-gate.md:29adds theadr_gatepre-activation step and downstream gate output, but the checked-in.github/workflows/design-decision-gate.lock.ymlcontains neitheradr_gatenoradr_gate_needed; itspre_activationjob is unchanged. The published workflow therefore will not skip the claimed deterministic noops. Regenerate the lock and verify the emitted job and condition before merging.
Coverage
Static review only; the captured PR head was unavailable as a local Git object, so no compilation or tests were run. PR state/head were rechecked immediately before publication.
Generated by PR Specification Reviewer for #78278 · copilot · gpt50 · ~5 AIC · ⌖ ~2 AIC · ⊞ 1.6K
Comment /review-specs to run again
Comment MemoryPeek at saved memory (spec-review-history)History |
There was a problem hiding this comment.
🟡 Changes recommended
The helper can exit without emitting JSON and produce inconsistent historical metrics, while the workflow guards do not match the promised skip policy.
3 open issues
What changed in this PR
This PR reduces unnecessary Design Decision Gate agent runs and adds a cracktro slide showing how architecture decision records (ADRs) are drafted, reviewed, and reused.
Changes:
- Adds a live PR pre-check and connects its result to workflow activation.
- Adds the “Decide · Draft · Record” slide with an illustrative flow and measured ADR statistics.
- Adds refresh tooling and updates the slide inventory, data index, and content rules.
| File | Description |
|---|---|
docs/public/cracktro/deck.js |
Adds the animated ADR flow and statistics strip. |
.github/workflows/design-decision-gate.md |
Adds pre-activation checks to avoid unnecessary agent runs. |
.github/workflows/design-decision-gate.lock.yml |
Compiles the checks, outputs, and activation conditions. |
.github/skills/cracktro/slides.md |
Registers the new slide and its takeaway. |
.github/skills/cracktro/refresh/decide-draft-record.sh |
Computes ADR counts, statuses, and monthly additions. |
.github/skills/cracktro/refresh/decide-draft-record.md |
Documents statistics refresh and validation. |
.github/skills/cracktro/data-refresh.md |
Links the refresh guide and adjusts slide numbering. |
.github/skills/cracktro/content-rules.md |
Documents the slide’s measured-data exception. |
Review effort: Balanced (dynamic)
Resolve cracktro conflicts: keep both ddr- and ppx- CSS blocks in deck.js and renumber the data-refresh index from slides.md (Decide · Draft · Record is #30, Personas · Probe · Patch #34). Co-authored-by: Copilot App <[email protected]>
Use the earliest add/rename date per ADR, read every metric from the last commit on or before the snapshot day, and keep grep no-matches from aborting under pipefail. The 2026-11-16 output is unchanged. Co-authored-by: Copilot App <[email protected]>
|
Automated status comments 6908172840, 6908173685, 6908175638, 6908178217, 6908181573, 6908267719 and 6908306374 are run reports and comment-memory ledgers, with no requested changes. No action is needed beyond the inline review threads, which are now resolved. The review findings they refer to are fixed in d961d8f (refresh script pinned to the snapshot commit), and the workflow skip policy is now described accurately in the PR description. |
ok
|
🎉 This pull request is included in a new release. Release: |

Design Decision Gate spent most of its runs on noops. About 89% of the successful runs did nothing, often because the PR had already merged by the time the agent started, and each noop still cost about 0.45 AIC and 6.5 minutes. The workflow is also a strong example for the cracktro talk: 8 of the 9 ADRs it drafted were merged.
Workflow: skip deterministic noops
on.stepspre-activation github-script step (adr_gate) that checks the live PR state onpull_requestevents. It skips the run only when the agent would deterministically noop:implementation;implementationlabel, no.design-gate.yml, and 100 or fewer added lines in the default business-logic directories.jobs.pre-activation.outputs.adr_gate_needed, and a top-levelif:uses it to skip the agent. Downstream jobs are skipped with it.activationjob, sopre_activationruns on every labeled event. That is cheap, and the script exits early on a non-implementation label.Cracktro: slide 21 "Decide - Draft - Record"
docs/adr.docs/adrtoday.slides.mdrow, the content-rules exception, the data-refresh index entry andrefresh/decide-draft-record.{md,sh}are all added. The data-refresh table numbering was already off by one, and this PR fixes it.Review notes
talk.spec.tstests were not run locally becausedocs/node_moduleswas missing.