Repository navigation
Add centralized /cook alias for PR Sous Chef - #76548
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
✅ 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 Specification Reviewer completed successfully! PR Specification 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.
|
|
✅ 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.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: 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 has completed the skills-based review. ✅
|
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.
Reviewed the changed routing, workflow activation, acknowledgement guidance, generated lock/router outputs, and regression assertions. I found no actionable correctness, performance, or maintainability issues in the changed lines. The grumpy-coder specialist pass was unavailable because its diff-read invocation was denied, so this assessment is based on the independent static review.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~2 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change adding /cook as a PR Sous Chef alias.
No open issues 🎉
What changed in this PR
Adds /cook as a centralized alias for PR Sous Chef, alongside /souschef, for pull request comments.
Changes:
- Registers
/cookin centralized routing and command help. - Extends acknowledgement-only activation and instructions to both aliases while retaining rate-limit and eligibility safeguards.
- Updates the generated workflow lock and regression assertions.
| File | Description |
|---|---|
scripts/pr-sous-chef.test.mjs |
Adds assertions for alias registration, activation, and acknowledgement guidance. |
.github/workflows/pr-sous-chef.md |
Declares /cook and applies the existing acknowledgement behavior to both aliases. |
.github/workflows/pr-sous-chef.lock.yml |
Updates compiled conditions, command lists, and workflow hashes. |
.github/workflows/agentic_commands.yml |
Adds /cook to generated routing, metadata, and command help. |
Review effort: Balanced (auto)
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd and /codebase-design. The alias wiring is consistent: the router cook entry, the lock if: gate, and GH_AW_COMMANDS agree, and the test suite passes 114/114 against the PR head. One coverage gap is noted inline.
📋 Key Themes & Highlights
Key Themes
- Test gap: the new assertions do not cover the compiled lock or the router entry.
- Outside the diff:
.github/workflows/prompt-clustering-analysis.md(around line 390) still matches only/souschefin its footer regex. Minor, not blocking.
Positive Highlights
- ✅ The
if:gate, routing, and help metadata are updated together forcook. - ✅ No name collisions with existing commands.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~7 AIC · ⌖ ~2 AIC · ⊞ 6.6K
Comment /matt to run again
| const workflow = readFileSync(new URL("../.github/workflows/pr-sous-chef.md", import.meta.url), "utf8"); | ||
| assert.match(workflow, /^ schedule: every 5m$/m); | ||
| assert.match(workflow, /^max-daily-ai-credits: -1$/m); | ||
| assert.match(workflow, /^ slash_command:\n strategy: centralized\n name: \[souschef, cook\]\n events: \[pull_request_comment\]$/m); |
There was a problem hiding this comment.
[/tdd] These assertions only read pr-sous-chef.md. Nothing guards the compiled lock (slash_command == 'cook' in the if: and GH_AW_COMMANDS) or the cook entry in agentic_commands.yml routing, so a stale recompile could silently drop the alias.
💡 Suggested test
In the same test, also read pr-sous-chef.lock.yml and agentic_commands.yml and assert that each contains slash_command == 'cook' and the cook routing entry for pr-sous-chef.
Similar drift checks catch recompile regressions early.
@copilot please address this.
|
🎉 This pull request is included in a new release. Release: |
PR Sous Chef should respond to centralized
/cookcommands alongside/souschef./cookfor PR comments and regenerate the centralized router and workflow lock.