Summary
gh aw compile --strict (v0.75.0) reports that three workflows shipped from this repo declare slash_command triggers without strategy: centralized, which means each one wires up its own duplicate issue_comment trigger instead of routing through agentic_commands.yml:
⚠ Detected 7 slash_command entries in this repository; 3 are not using centralized routing.
Consider setting `on.slash_command.strategy: centralized` to reduce duplicate triggers
and route through `agentic_commands.yml`.
Affected workflows
workflows/perf-improver.md (/perf-assist)
workflows/pr-fix.md (/pr-fix)
workflows/test-improver.md (/test-assist)
The other four slash-command workflows in this repo already use strategy: centralized (e.g. add-tests.md, autofix.agent.md, build-failure-analysis-command.md, review.agent.md), so this inconsistency is the only thing keeping the warning from clearing.
Fix
Add strategy: centralized under on.slash_command in each of the three files, e.g. for workflows/perf-improver.md:
on:
schedule: daily
workflow_dispatch:
slash_command:
name: perf-assist
strategy: centralized
reaction: "eyes"
gh aw compile will then route the command through the generated agentic_commands.yml and drop the duplicate issue_comment trigger from each workflow's .lock.yml, materially reducing the size and noise of those lock files.
Downstream context
Filed for visibility — downstream fork applied locally in microsoft/testfx#8560.
Summary
gh aw compile --strict(v0.75.0) reports that three workflows shipped from this repo declareslash_commandtriggers withoutstrategy: centralized, which means each one wires up its own duplicateissue_commenttrigger instead of routing throughagentic_commands.yml:Affected workflows
workflows/perf-improver.md(/perf-assist)workflows/pr-fix.md(/pr-fix)workflows/test-improver.md(/test-assist)The other four slash-command workflows in this repo already use
strategy: centralized(e.g.add-tests.md,autofix.agent.md,build-failure-analysis-command.md,review.agent.md), so this inconsistency is the only thing keeping the warning from clearing.Fix
Add
strategy: centralizedunderon.slash_commandin each of the three files, e.g. forworkflows/perf-improver.md:gh aw compilewill then route the command through the generatedagentic_commands.ymland drop the duplicateissue_commenttrigger from each workflow's.lock.yml, materially reducing the size and noise of those lock files.Downstream context
Filed for visibility — downstream fork applied locally in microsoft/testfx#8560.