Skip to content

Commit a5967f8

Browse files
rolfbjarneCopilot
andcommitted
Merge main into native enumerator lifetime fixes
Integrate the latest main branch after separating the independent callback binding corrections. Preserve the 37 managed-owner lifetime guards and their regression coverage while retaining the binding fixes already landed upstream. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2 parents cea51ab + 159f7aa commit a5967f8

458 files changed

Lines changed: 14622 additions & 7686 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.

‎.gitattributes‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
**/.template.config/localize/templatestrings.*.json text
1212

13-
.github/workflows/*.lock.yml linguist-generated=true merge=ours
13+
.github/workflows/*.lock.yml linguist-generated=true

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

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ disable-model-invocation: true
88

99
This agent helps you work with **GitHub Agentic Workflows (gh-aw)**, a CLI extension for creating AI-powered workflows in natural language using markdown files.
1010

11+
## Repository Instructions Overlay
12+
13+
If `.github/aw/instructions.md` exists, load it with:
14+
@.github/aw/instructions.md
15+
16+
Precedence: repository overlay instructions override defaults in this agent when they conflict.
17+
1118
## What This Agent Does
1219

1320
This is a **dispatcher agent** that routes your request to the appropriate specialized prompt based on your task:
1421

1522
- **Creating new workflows**: Routes to `create` prompt
1623
- **Updating existing workflows**: Routes to `update` prompt
17-
- **Debugging workflows**: Routes to `debug` prompt
24+
- **Diagnosis, patching, and active debugging**: Routes to `debug-agentic-workflow` for the local-first strategy, evidence triage and live gates
1825
- **Upgrading workflows**: Routes to `upgrade-agentic-workflows` prompt
1926
- **Creating report-generating workflows**: Routes to `report` prompt — consult this whenever the workflow posts status updates, audits, analyses, or any structured output as issues, discussions, or comments
2027
- **Creating shared components**: Routes to `create-shared-agentic-workflow` prompt
@@ -24,6 +31,7 @@ This is a **dispatcher agent** that routes your request to the appropriate speci
2431
- **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
2532
- **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
2633
- **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
2735

2836
Workflows may optionally include:
2937

@@ -40,7 +48,8 @@ Workflows may optionally include:
4048
## Problems This Solves
4149

4250
- **Workflow Creation**: Design secure, validated agentic workflows with proper triggers, tools, and permissions
43-
- **Workflow Debugging**: Analyze logs, identify missing tools, investigate failures, and fix configuration issues
51+
- **Diagnosis and Patching**: Analyze evidence and produce regression-backed fixes without requiring live runs
52+
- **Active Debugging**: Run bounded edit/test/run/audit loops where permitted, stopping on dispatch 403 responses
4453
- **Version Upgrades**: Migrate workflows to new gh-aw versions, apply codemods, fix breaking changes
4554
- **Component Design**: Create reusable shared workflow components that wrap MCP servers
4655

@@ -76,11 +85,14 @@ When you interact with this agent, it will:
7685
- "Update the PR reviewer to use discussions instead of issues"
7786
- "Improve the prompt for the weekly-research workflow"
7887

79-
### Debug Workflow
88+
### Diagnose, Patch, or Debug a Workflow
8089
**Load when**: User needs to investigate, audit, debug, or understand a workflow, troubleshoot issues, analyze logs, or fix errors
8190

8291
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/debug-agentic-workflow.md`
8392

93+
The shared strategy distinguishes diagnosis/patching from permitted active debug
94+
loops using explicit live gates and includes existing-run evidence triage.
95+
8496
**Use cases**:
8597
- "Why is this workflow failing?"
8698
- "Analyze the logs for workflow X"
@@ -173,6 +185,15 @@ When you interact with this agent, it will:
173185

174186
## Instructions
175187

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+
176197
When a user interacts with you:
177198

178199
1. **Identify the task type** from the user's request
@@ -189,7 +210,7 @@ gh aw init
189210
# Generate the lock file for a workflow
190211
gh aw compile [workflow-name]
191212

192-
# Trigger a workflow on demand (preferred over gh workflow run)
213+
# Only where permitted and human-validated under debug-agentic-workflow.md:
193214
gh aw run <workflow-name> # interactive input collection
194215
gh aw run <workflow-name> --ref main # run on a specific branch
195216

@@ -222,5 +243,5 @@ gh aw compile --validate
222243
- Follow security best practices: minimal permissions, explicit network access, no template injection
223244
- **Network configuration**: Use ecosystem identifiers (`node`, `python`, `go`, etc.) or explicit FQDNs in `network.allowed`. Bare shorthands like `npm` or `pypi` are **not** valid. See `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/network.md` for the full list of valid ecosystem identifiers and domain patterns.
224245
- **Single-file output**: When creating a workflow, produce exactly **one** workflow `.md` file. Do not create separate documentation files (architecture docs, runbooks, usage guides, etc.). If documentation is needed, add a brief `## Usage` section inside the workflow file itself.
225-
- **Triggering runs**: Always use `gh aw run <workflow-name>` to trigger a workflow on demand — not `gh workflow run <file>.lock.yml`. `gh aw run` handles workflow resolution by short name, input parsing and validation, and correct run-tracking for agentic workflows. Use `--ref <branch>` to run on a specific branch.
246+
- **Triggering runs**: Only where permitted and human-validated under `debug-agentic-workflow.md`, prefer `gh aw run <workflow-name>` over `gh workflow run <file>.lock.yml` for workflow resolution, input validation and run-tracking. Use the reviewed remote ref; explicit no-dispatch rules override user requests.
226247
- **CLI commands reference**: For a complete guide on all `gh aw` commands and their MCP tool equivalents (for restricted environments), see `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/cli-commands.md`

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

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,34 @@
11
{
22
"entries": {
3-
"actions/checkout@v7.0.0": {
3+
"actions/checkout@v7.0.1": {
44
"repo": "actions/checkout",
5-
"version": "v7.0.0",
6-
"sha": "9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0"
5+
"version": "v7.0.1",
6+
"sha": "3d3c42e5aac5ba805825da76410c181273ba90b1"
77
},
8-
"actions/download-artifact@v8.0.1": {
8+
"actions/download-artifact@v8.0.2": {
99
"repo": "actions/download-artifact",
10-
"version": "v8.0.1",
11-
"sha": "3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c"
10+
"version": "v8.0.2",
11+
"sha": "9000827ccba6bdab643e8b6fd33ac0654aef8333"
1212
},
1313
"actions/github-script@v9.0.0": {
1414
"repo": "actions/github-script",
1515
"version": "v9.0.0",
1616
"sha": "3a2844b7e9c422d3c10d287c895573f7108da1b3"
1717
},
18-
"actions/setup-node@v6.4.0": {
18+
"actions/setup-node@v7.1.0": {
1919
"repo": "actions/setup-node",
20-
"version": "v6.4.0",
21-
"sha": "48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e"
20+
"version": "v7.1.0",
21+
"sha": "949feb2413d6458794dcd2491c4babbbce0c15c1"
2222
},
23-
"actions/upload-artifact@v7.0.1": {
23+
"actions/upload-artifact@v7.0.2": {
2424
"repo": "actions/upload-artifact",
25-
"version": "v7.0.1",
26-
"sha": "043fb46d1a93c77aae656e7c1c64a875d1fc6a0a"
27-
},
28-
"github/gh-aw-actions/setup-cli@v0.80.9": {
29-
"repo": "github/gh-aw-actions/setup-cli",
30-
"version": "v0.80.9",
31-
"sha": "8c7d04ebf1ece56cd381446125da3e0f6896294a"
25+
"version": "v7.0.2",
26+
"sha": "cf430e030ddbb5b0abf93d22962f4752f3646cd9"
3227
},
33-
"github/gh-aw-actions/setup@v0.80.9": {
28+
"github/gh-aw-actions/setup@v0.91.12": {
3429
"repo": "github/gh-aw-actions/setup",
35-
"version": "v0.80.9",
36-
"sha": "8c7d04ebf1ece56cd381446125da3e0f6896294a"
30+
"version": "v0.91.12",
31+
"sha": "2f6729681c34eb94a2f94d533d4b6492de0d8a19"
3732
}
3833
}
3934
}

‎.github/skills/agentic-workflows/SKILL.md‎

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: agentic-workflows
3-
description: Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
3+
description: Route gh-aw design, creation, diagnosis, patching, active debugging, and upgrade requests to the right strategies.
44
---
55

66
# Agentic Workflows Router
@@ -9,32 +9,62 @@ Use this skill when a user asks to design, create, update, debug, or upgrade Git
99

1010
This skill is a dispatcher: identify the task type, load the matching workflow prompt/skill file, and follow it directly. Keep responses concise and ask a clarifying question if the correct prompt is unclear.
1111

12+
Repository overlay (optional):
13+
- If `.github/aw/instructions.md` exists, load it with `@.github/aw/instructions.md` after loading the matched prompt/skill.
14+
- Precedence: repository overlay instructions override upstream defaults when they conflict.
15+
1216
Read only the files you need:
1317
Load these files from `github/gh-aw` (they are not available locally).
18+
- `.github/aw/action-container-substitutions.md`
19+
- `.github/aw/agent-runtime-instructions.md`
1420
- `.github/aw/agentic-chat.md`
1521
- `.github/aw/agentic-workflows-mcp.md`
1622
- `.github/aw/asciicharts.md`
1723
- `.github/aw/campaign.md`
1824
- `.github/aw/charts-trending.md`
1925
- `.github/aw/charts.md`
2026
- `.github/aw/cli-commands.md`
27+
- `.github/aw/compat.md`
28+
- `.github/aw/configure-agentic-engine.md`
2129
- `.github/aw/context.md`
30+
- `.github/aw/create-agentic-workflow-trigger-details.md`
2231
- `.github/aw/create-agentic-workflow.md`
2332
- `.github/aw/create-shared-agentic-workflow.md`
2433
- `.github/aw/debug-agentic-workflow.md`
34+
- `.github/aw/debug-model-engine-misconfiguration.md`
35+
- `.github/aw/debug-security-review.md`
2536
- `.github/aw/dependabot.md`
2637
- `.github/aw/deployment-status.md`
38+
- `.github/aw/designer-mappings.md`
39+
- `.github/aw/designer.md`
40+
- `.github/aw/drive-memory.md`
41+
- `.github/aw/enclaves.md`
42+
- `.github/aw/evals.md`
2743
- `.github/aw/experiments.md`
2844
- `.github/aw/github-agentic-workflows.md`
45+
- `.github/aw/github-mcp-server-pagination.md`
46+
- `.github/aw/github-mcp-server-tools.md`
2947
- `.github/aw/github-mcp-server.md`
48+
- `.github/aw/instructions.md`
49+
- `.github/aw/intent.md`
50+
- `.github/aw/jobs.md`
51+
- `.github/aw/ledger.md`
52+
- `.github/aw/linter-workflows.md`
3053
- `.github/aw/llms.md`
54+
- `.github/aw/loop.md`
55+
- `.github/aw/lsp.md`
56+
- `.github/aw/maintainer.md`
3157
- `.github/aw/mcp-clis.md`
58+
- `.github/aw/memory-stateful-patterns.md`
3259
- `.github/aw/memory.md`
3360
- `.github/aw/messages.md`
61+
- `.github/aw/multi-agent-research.md`
3462
- `.github/aw/network.md`
3563
- `.github/aw/optimize-agentic-workflow.md`
3664
- `.github/aw/patterns.md`
65+
- `.github/aw/playwright.md`
3766
- `.github/aw/pr-reviewer.md`
67+
- `.github/aw/release-workflow.md`
3868
- `.github/aw/report.md`
3969
- `.github/aw/reuse.md`
4070
- `.github/aw/safe-outputs-automation.md`
@@ -48,25 +78,30 @@ Load these files from `github/gh-aw` (they are not available locally).
4878
- `.github/aw/subagents.md`
4979
- `.github/aw/syntax-agentic.md`
5080
- `.github/aw/syntax-core.md`
81+
- `.github/aw/syntax-engine.md`
5182
- `.github/aw/syntax-tools-imports.md`
5283
- `.github/aw/syntax.md`
5384
- `.github/aw/test-coverage.md`
5485
- `.github/aw/test-expression.md`
86+
- `.github/aw/token-optimization-caching-budgets.md`
87+
- `.github/aw/token-optimization-observability.md`
5588
- `.github/aw/token-optimization.md`
5689
- `.github/aw/triggers.md`
5790
- `.github/aw/update-agentic-workflow.md`
5891
- `.github/aw/upgrade-agentic-workflows.md`
5992
- `.github/aw/visual-regression.md`
93+
- `.github/aw/work-queue.md`
6094
- `.github/aw/workflow-constraints.md`
6195
- `.github/aw/workflow-editing.md`
6296
- `.github/aw/workflow-patterns.md`
6397

64-
- `.github/skills/agentic-workflow-designer/SKILL.md`
6598
After loading the matching workflow prompt or skill, follow it directly:
66-
- Design workflows from scratch via interview: `skills/agentic-workflow-designer/SKILL.md`
99+
- Design workflows from scratch via interview: `.github/aw/designer.md`
67100
- Create new workflows: `.github/aw/create-agentic-workflow.md`
101+
- Configure or add declarative engines: `.github/aw/configure-agentic-engine.md`
68102
- Update existing workflows: `.github/aw/update-agentic-workflow.md`
69-
- Debug, audit, or investigate workflows: `.github/aw/debug-agentic-workflow.md`
103+
- Diagnose, patch, audit, or actively debug workflows: `.github/aw/debug-agentic-workflow.md` (local-first strategy, evidence triage and live gates)
104+
- AWF model/endpoint 400s, silent cross-family sub-agent failures, `model: auto` failures, install-step 404s after a version pin, or questions about version fields: go directly to [Model and engine misconfiguration](../../aw/debug-agentic-workflow.md#model-and-engine-misconfiguration) before suggesting model changes.
70105
- Upgrade workflows and fix deprecations: `.github/aw/upgrade-agentic-workflows.md`
71106
- Create shared components or MCP wrappers: `.github/aw/create-shared-agentic-workflow.md`
72107
- Create report-generating workflows: `.github/aw/report.md`
@@ -75,6 +110,11 @@ After loading the matching workflow prompt or skill, follow it directly:
75110
- Render compact markdown charts: `.github/aw/asciicharts.md`
76111
- Map CLI commands to MCP usage: `.github/aw/cli-commands.md`
77112
- Choose workflow architecture and patterns: `.github/aw/patterns.md`
113+
- Design, deploy, inspect or recover a Git-backed work queue: `.github/aw/work-queue.md`
78114
- Optimize token usage and cost: `.github/aw/token-optimization.md`
115+
- Design long-running multi-agent research workflows: `.github/aw/multi-agent-research.md`
116+
- Add skills or agent plugins requested by the user (`skills:` / `plugins:` frontmatter, never on-the-fly installs): `.github/aw/skills.md`
79117

80118
When the task involves OTEL, OTLP, traces, observability backends, or telemetry-driven analysis, also read and follow `skills/otel-queries/SKILL.md` after loading the matching workflow prompt or skill.
119+
120+
When creating, updating, diagnosing or upgrading a workflow that uses `tools.work-queue`, also load `.github/aw/work-queue.md` after the primary prompt. Load deployment docs, operator reference or specification only when that task needs them.

0 commit comments

Comments
 (0)