Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
16269ce
Add centralized slash command trigger strategy and generator
Copilot May 12, 2026
03ea49e
Make archie and cloclo slash commands centralized
Copilot May 12, 2026
f027538
Plan centralized router filename fix
Copilot May 12, 2026
59e84f4
Rename centralized slash router workflow output
Copilot May 12, 2026
6f88771
Polish centralized router filename migration logic
Copilot May 12, 2026
2f2666b
Remove legacy centralized trigger cleanup logic
Copilot May 12, 2026
df243c3
Scope slash router permissions per job
Copilot May 12, 2026
a228c7d
Use explicit empty top-level permissions mapping
Copilot May 12, 2026
3423a6f
Add centralized slash router trigger generation tests
Copilot May 12, 2026
5bb0d47
Polish centralized slash router test helper naming
Copilot May 12, 2026
9e53098
Warn when many slash commands are non-centralized
Copilot May 12, 2026
089bcc9
Polish slash strategy warning implementation
Copilot May 12, 2026
8a36773
Add draft ADR-31605 for centralized slash-command routing
github-actions[bot] May 12, 2026
e471720
Fix centralized slash+label gating and add regression test
Copilot May 12, 2026
dd5fb5b
Document centralized label condition dispatch allowance
Copilot May 12, 2026
e762f4a
Regenerate cloclo lock with centralized dispatch gating
Copilot May 12, 2026
0fbf69e
Rename centralized router workflow to agentic_commands
Copilot May 12, 2026
db13f81
Simplify legacy centralized workflow cleanup
Copilot May 12, 2026
427b3c7
Harden centralized slash routing and mark strategy experimental
Copilot May 12, 2026
5cc5e03
Move centralized slash trust checks into compiled membership validation
Copilot May 12, 2026
c9609be
Clarify centralized dispatch PR validation errors
Copilot May 12, 2026
84311d3
Merge remote-tracking branch 'origin/main' into copilot/update-compil…
Copilot May 12, 2026
acde9af
Merge main and recompile lock workflows
Copilot May 12, 2026
b425c32
Merge branch 'main' into copilot/update-compiler-slash-commands
pelikhan May 12, 2026
f436fad
Plan: address new centralized router review feedback
Copilot May 12, 2026
b47da81
WIP: apply centralized router review feedback
Copilot May 12, 2026
e658ef4
Plan remaining PR feedback
Copilot May 12, 2026
4ce24f3
Move slash router setupGlobals call into github-script source
Copilot May 12, 2026
67d5593
Refine centralized slash routing setup context and tests
Copilot May 12, 2026
5a6c533
Align centralized label conditions with aw_context event filtering
Copilot May 12, 2026
6a08f2c
Simplify centralized label-condition builder signature
Copilot May 12, 2026
727775c
Plan workflow recompile follow-up
Copilot May 12, 2026
6281bd9
Recompile generated agentic commands workflow
Copilot May 12, 2026
eb58016
Plan commands metadata header update
Copilot May 12, 2026
8742d99
Add gh-aw-commands JSON metadata header
Copilot May 12, 2026
7165207
Assert legacy compiler header is removed
Copilot May 12, 2026
8fc1c59
Plan slash command logging updates
Copilot May 12, 2026
78c4119
Add detailed router logging for slash command dispatch
Copilot May 12, 2026
60ad42e
Use configured routes in slash router filter
Copilot May 12, 2026
31a6d32
Add slash router payload metadata and centralize slash commands
Copilot May 12, 2026
b6bd645
Plan: address dev-mode runtime setup for agentic commands router
Copilot May 12, 2026
f1eb19f
Add setup runtime step to centralized commands workflow in dev mode
Copilot May 12, 2026
80cec81
Merge remote-tracking branch 'origin/main' into copilot/update-compil…
Copilot May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions .github/workflows/ace-editor.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .github/workflows/ace-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ACE Editor Session
description: Generates an ACE editor session link when invoked with /ace command on pull request comments
on:
slash_command:
strategy: centralized
name: ace
events: [pull_request_comment]
strict: false
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/agentic_commands.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# gh-aw-commands: {"payload_version":"v1","schema_version":"v1","compiler_version":"b6bd645","commands":["ace","approach-validator","archie","brave","cloclo","craft","grumpy","mergefest","nit","plan","poem-bot","review","security-review","summarize","tidy","unbloat"],"workflows":["ace-editor","approach-validator","archie","brave","cloclo","craft","grumpy-reviewer","mergefest","pdf-summary","plan","poem-bot","pr-code-quality-reviewer","pr-nitpick-reviewer","security-review","tidy","unbloat-docs"]}
# ___ _ _
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot include header format with information about compiler version, ...

# / _ \ | | (_)
# | |_| | __ _ ___ _ __ | |_ _ ___
# | _ |/ _` |/ _ \ '_ \| __| |/ __|
# | | | | (_| | __/ | | | |_| | (__
# \_| |_/\__, |\___|_| |_|\__|_|\___|
# __/ |
# _ _ |___/
# | | | | / _| |
# | | | | ___ _ __ _ __| |_| | _____ ____
# | |/\| |/ _ \ '__| |/ /| _| |/ _ \ \ /\ / / ___|
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
#
# This file was automatically generated by gh-aw. DO NOT EDIT.
#
# To regenerate this workflow, run:
# gh aw compile
# Not all edits will cause changes to this file.
#
# For more information: https://github.github.com/gh-aw/introduction/overview/
#
name: "Agentic Commands"

on:
issues:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot the set of triggers should be the minimal union set of triggers of all commands centralized

types: [edited, opened, reopened]
issue_comment:
types: [created, edited]
pull_request:
types: [edited, opened, reopened]
pull_request_review_comment:
types: [created, edited]
discussion:
types: [created, edited]
discussion_comment:
types: [created, edited]

permissions: {}

jobs:
route:
runs-on: ubuntu-slim
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot this runs-on should be configurable, use typical resolution stragtegy

permissions:
actions: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

Comment on lines +49 to +51
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot in dev mode, you still need to insert the ./actions/setup step to copy the runtime file. See how this is done with the agentic_maintenance code and reuse helper to configure the runtime files.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented in f1eb19f.

agentic_commands.yml generation now adds Setup Scripts (using ./actions/setup in dev mode via ResolveSetupActionReference) and routes load runtime files from ${{ runner.temp }}/gh-aw/actions, matching the maintenance runtime setup pattern.

- name: Setup Scripts
uses: ./actions/setup
with:
destination: ${{ runner.temp }}/gh-aw/actions

- name: Route slash command
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
GH_AW_SLASH_ROUTING: '{"ace":[{"workflow":"ace-editor","events":["pull_request_comment"]}],"approach-validator":[{"workflow":"approach-validator","events":["issue_comment","pull_request_comment"]}],"archie":[{"workflow":"archie","events":["issue_comment","issues","pull_request","pull_request_comment"]}],"brave":[{"workflow":"brave","events":["issue_comment"]}],"cloclo":[{"workflow":"cloclo","events":["discussion","discussion_comment","issue_comment","issues","pull_request","pull_request_comment","pull_request_review_comment"]}],"craft":[{"workflow":"craft","events":["issues"]}],"grumpy":[{"workflow":"grumpy-reviewer","events":["pull_request_comment","pull_request_review_comment"]}],"mergefest":[{"workflow":"mergefest","events":["pull_request_comment"]}],"nit":[{"workflow":"pr-nitpick-reviewer","events":["pull_request_comment","pull_request_review_comment"]}],"plan":[{"workflow":"plan","events":["discussion_comment","issue_comment"]}],"poem-bot":[{"workflow":"poem-bot","events":["issues"]}],"review":[{"workflow":"pr-code-quality-reviewer","events":["pull_request_comment","pull_request_review_comment"]}],"security-review":[{"workflow":"security-review","events":["pull_request_comment","pull_request_review_comment"]}],"summarize":[{"workflow":"pdf-summary","events":["issue_comment","issues"]}],"tidy":[{"workflow":"tidy","events":["pull_request_comment"]}],"unbloat":[{"workflow":"unbloat-docs","events":["pull_request_comment"]}]}'
with:
script: |
const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');
setupGlobals(core, github, context, exec, io, getOctokit);
const { main } = require('${{ runner.temp }}/gh-aw/actions/route_slash_command.cjs');
await main();
Loading