Skip to content

Commit 446f52f

Browse files
Copilotgh-aw-bot
andauthored
Apply remaining changes
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
2 parents 01b3e64 + e9e0a9b commit 446f52f

895 files changed

Lines changed: 122917 additions & 11801 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.changeset/fix-pi-smoke-completion.md‎

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.changeset/major-fair-dag-work-queue.md‎

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.changeset/patch-claude-session-normalization.md‎

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/agents/agentic-workflows.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ This is a **dispatcher agent** that routes your request to the appropriate speci
3131
- **CLI commands and triggering workflows**: Routes to `cli-commands` guide — consult this whenever the user asks how to run, compile, debug, or manage workflows from the command line, or when they need the MCP tool equivalent of a `gh aw` command
3232
- **Reducing token consumption / cost optimization**: Routes to `token-optimization` guide — consult this whenever the user asks how to reduce token usage, lower costs, speed up workflows, or measure the impact of prompt changes with experiments
3333
- **Choosing workflow architectures and design patterns**: Routes to `patterns` guide — consult this whenever the user asks for strategy, architecture, operating models, or pattern selection for agentic workflows
34+
- **Git-backed work queues**: Routes to `work-queue` instructions for producers, dispatchers, workers, observers, deployment and recovery
3435

3536
Workflows may optionally include:
3637

@@ -184,6 +185,15 @@ loops using explicit live gates and includes existing-run evidence triage.
184185

185186
## Instructions
186187

188+
### Work Queue
189+
190+
For queue design, deployment, inspection or recovery, load
191+
`https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/work-queue.md`.
192+
Also load it after the primary create/update/debug/upgrade prompt whenever a
193+
workflow uses `tools.work-queue`. Load linked developer docs and specifications
194+
only when needed; do not substitute lightweight WorkQueueOps backlog guidance
195+
for the Git-backed protocol.
196+
187197
When a user interacts with you:
188198

189199
1. **Identify the task type** from the user's request

‎.github/aw/actions-lock.json‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
"version": "v3.2.0",
4949
"sha": "bcd2ba49218906704ab6c1aa796996da409d3eb1"
5050
},
51+
"actions/download-artifact@v8.0.1": {
52+
"repo": "actions/download-artifact",
53+
"version": "v8.0.1",
54+
"sha": "3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c"
55+
},
5156
"actions/download-artifact@v8.0.2": {
5257
"repo": "actions/download-artifact",
5358
"version": "v8.0.2",
@@ -88,11 +93,21 @@
8893
"version": "v7.0.0",
8994
"sha": "820762786026740c76f36085b0efc47a31fe5020"
9095
},
96+
"actions/setup-node@v7.1.0": {
97+
"repo": "actions/setup-node",
98+
"version": "v7.1.0",
99+
"sha": "949feb2413d6458794dcd2491c4babbbce0c15c1"
100+
},
91101
"actions/setup-python@v7.0.0": {
92102
"repo": "actions/setup-python",
93103
"version": "v7.0.0",
94104
"sha": "5fda3b95a4ea91299a34e894583c3862153e4b97"
95105
},
106+
"actions/upload-artifact@v7.0.1": {
107+
"repo": "actions/upload-artifact",
108+
"version": "v7.0.1",
109+
"sha": "043fb46d1a93c77aae656e7c1c64a875d1fc6a0a"
110+
},
96111
"actions/upload-artifact@v7.0.2": {
97112
"repo": "actions/upload-artifact",
98113
"version": "v7.0.2",

‎.github/aw/context.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ description: GitHub context expression variables and Handlebars-style template c
7373
- **`${{ steps.* }}`** - Any outputs from previous steps (e.g., `${{ steps.my-step.outputs.result }}`)
7474
- **`${{ github.event.inputs.* }}`** - Any workflow inputs when triggered by workflow_dispatch (e.g., `${{ github.event.inputs.environment }}`)
7575

76-
`aw_context` is reserved and injected by the compiler into supported dispatch and reusable-workflow triggers; do not declare it as a user input. Workflows with `tools.work-queue` also receive a compiler-managed `work_queue_claim` dispatch input.
76+
`aw_context` is reserved and injected by the compiler into supported dispatch and reusable-workflow triggers; do not declare it as a user input. Workflows with `tools.work-queue` receive a compiler-managed `work_queue_assignment` dispatch input. It is a version-3 immutable assignment containing a `claims` array; do not declare or construct it as a user input.
7777

7878
All other expressions are disallowed.
7979

‎.github/aw/patterns.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,13 @@ Pattern docs base path: `https://github.com/github/gh-aw/blob/main/docs/src/cont
9797
- **Pattern doc:** https://github.com/github/gh-aw/blob/main/docs/src/content/docs/experimental/trial-ops.md
9898

9999
### WorkQueueOps
100-
- **Load when:** The user needs durable queue processing for many items via issues, sub-issues, discussions, or cache-memory.
100+
- **Load when:** The user needs lightweight backlog processing via issue checklists, sub-issues, discussions, or cache-memory, without native Claim authority or scheduling guarantees.
101101
- **Pattern doc:** https://github.com/github/gh-aw/blob/main/docs/src/content/docs/patterns/workqueue-ops.md
102102

103+
### Git-backed Work Queue
104+
- **Load when:** The user needs native fair scheduling, Work DAGs, Claim-scoped effects, or queue deployment/inspection/recovery.
105+
- **Instructions:** [work-queue.md](work-queue.md)
106+
103107
## Notes
104108

105109
- Prefer documented patterns over ad hoc architecture when a strong match exists.

‎.github/aw/safe-outputs-automation.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ description: Safe-output reference for workflow dispatch, code scanning, checks,
7474
allowed-refs: ["release/*"] # Optional: glob allowlist for agent-provided per-call ref overrides (default: caller's ref only)
7575
```
7676

77-
Triggers other agentic workflows using workflow_dispatch. Agent output includes `workflow_name` (without .md extension) and optional `inputs` (key-value pairs). Cross-repo dispatch is supported via `target-repo` plus an `allowed-repos` allowlist; cross-repo targets require a token with `actions: write` on the target repository. When the target workflow enables `tools.work-queue: true` and declares `aw_context`, pass `work_queue: {work_id: "<id>"}` instead of `inputs` to dispatch a Claim to that worker — see [work-queue.md](work-queue.md) for the full protocol.
77+
Triggers other agentic workflows using workflow_dispatch. Agent output includes `workflow_name` (without .md extension) and optional `inputs` (key-value pairs). Cross-repo dispatch is supported via `target-repo` plus an `allowed-repos` allowlist; cross-repo targets require a token with `actions: write` on the target repository. For queue workers, load [work-queue.md](work-queue.md) and use `work_queue_dispatch_next` to request a bounded pool prefix. Trusted processing selects Work and the installed worker profile; do not select `work_id` through `dispatch_workflow` or declare reserved assignment/caller inputs.
7878
- `dispatch-repository:` - Dispatch `repository_dispatch` events to external repositories (experimental)
7979

8080
```yaml

0 commit comments

Comments
 (0)