Skip to content

Add centralized /cook alias for PR Sous Chef - #76548

Merged
pelikhan merged 1 commit into
mainfrom
copilot/respond-to-centralized-command
Nov 10, 2026
Merged

pelikhan merged 1 commit into
mainfrom
copilot/respond-to-centralized-command

Conversation

Copilot AI commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

PR Sous Chef should respond to centralized /cook commands alongside /souschef.

  • Routing: Register /cook for PR comments and regenerate the centralized router and workflow lock.
  • Activation: Give both commands the same acknowledgement behavior, including empty queues, while preserving rate-limit and eligibility safeguards.
  • Guidance: Update acknowledgement instructions and regression assertions for both aliases.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan November 10, 2026 15:23
@pelikhan
pelikhan marked this pull request as ready for review November 10, 2026 15:32
Copilot AI adaptive review requested due to automatic review settings November 10, 2026 15:32
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

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.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

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.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_no_action

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.

Generated from PR Specification Reviewer · gpt56 · ~3 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 1.6K · ◷

Generated by PR Specification Reviewer for #76548

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

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.

Generated from Ponytail Reviewer · routed: gpt61 medium · ~4 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 181 · ◷

Generated by Ponytail Reviewer for #76548

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ 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: reported_no_action

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.

Generated from Design Decision Gate 🏗️ · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 8.5K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@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.

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

Copilot AI 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.

🟢 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 /cook in 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)

@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.

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 /souschef in its footer regex. Minor, not blocking.

Positive Highlights

  • ✅ The if: gate, routing, and help metadata are updated together for cook.
  • ✅ 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);

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.

[/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.

@pelikhan
pelikhan merged commit 1beeb13 into main Nov 10, 2026
146 checks passed
@pelikhan
pelikhan deleted the copilot/respond-to-centralized-command branch November 10, 2026 15:50
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants