Skip to content

Commit ce76fb0

Browse files
committed
Fix .NET in-process E2E transport
Make the in-process E2E matrix use the FFI runtime, restore the native host environment between tests, and align same-client session resume with the other SDKs while preserving routing after failed resumes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: c71188a1-1445-46aa-9faf-3b73cf6a6dd9
1 parent ff18f7e commit ce76fb0

173 files changed

Lines changed: 3574 additions & 9311 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.
Lines changed: 16 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,24 @@
11
---
2-
name: Agentic Workflows
3-
description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.
2+
description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing
43
disable-model-invocation: true
54
---
65

76
# GitHub Agentic Workflows Agent
87

98
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.
109

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-
1810
## What This Agent Does
1911

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

2214
- **Creating new workflows**: Routes to `create` prompt
2315
- **Updating existing workflows**: Routes to `update` prompt
24-
- **Debugging workflows**: Routes to `debug` prompt
16+
- **Debugging workflows**: Routes to `debug` prompt
2517
- **Upgrading workflows**: Routes to `upgrade-agentic-workflows` prompt
2618
- **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
2719
- **Creating shared components**: Routes to `create-shared-agentic-workflow` prompt
2820
- **Fixing Dependabot PRs**: Routes to `dependabot` prompt — use this when Dependabot opens PRs that modify generated manifest files (`.github/workflows/package.json`, `.github/workflows/requirements.txt`, `.github/workflows/go.mod`). Never merge those PRs directly; instead update the source `.md` files and rerun `gh aw compile --dependabot` to bundle all fixes
2921
- **Analyzing test coverage**: Routes to `test-coverage` prompt — consult this whenever the workflow reads, analyzes, or reports on test coverage data from PRs or CI runs
30-
- **Rendering ASCII charts in markdown**: Routes to `asciicharts` guide — consult this whenever the workflow needs compact charts that render reliably in GitHub issues, comments, or discussions
31-
- **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
32-
- **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
33-
- **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
3422

3523
Workflows may optionally include:
3624

@@ -42,7 +30,7 @@ Workflows may optionally include:
4230
- Workflow files: `.github/workflows/*.md` and `.github/workflows/**/*.md`
4331
- Workflow lock files: `.github/workflows/*.lock.yml`
4432
- Shared components: `.github/workflows/shared/*.md`
45-
- Configuration: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agentic-workflows.md`
33+
- Configuration: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/github-agentic-workflows.md
4634

4735
## Problems This Solves
4836

@@ -61,32 +49,30 @@ When you interact with this agent, it will:
6149

6250
## Available Prompts
6351

64-
> **Note**: The prompt and reference files listed below are located in the [`github/gh-aw`](https://github.com/github/gh-aw) repository and are **not available locally** in this repository. Load them from their public URLs.
65-
6652
### Create New Workflow
6753
**Load when**: User wants to create a new workflow from scratch, add automation, or design a workflow that doesn't exist yet
6854

69-
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/create-agentic-workflow.md`
55+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/create-agentic-workflow.md
7056

7157
**Use cases**:
7258
- "Create a workflow that triages issues"
7359
- "I need a workflow to label pull requests"
7460
- "Design a weekly research automation"
7561

76-
### Update Existing Workflow
62+
### Update Existing Workflow
7763
**Load when**: User wants to modify, improve, or refactor an existing workflow
7864

79-
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/update-agentic-workflow.md`
65+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/update-agentic-workflow.md
8066

8167
**Use cases**:
8268
- "Add web-fetch tool to the issue-classifier workflow"
8369
- "Update the PR reviewer to use discussions instead of issues"
8470
- "Improve the prompt for the weekly-research workflow"
8571

86-
### Debug Workflow
72+
### Debug Workflow
8773
**Load when**: User needs to investigate, audit, debug, or understand a workflow, troubleshoot issues, analyze logs, or fix errors
8874

89-
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/debug-agentic-workflow.md`
75+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/debug-agentic-workflow.md
9076

9177
**Use cases**:
9278
- "Why is this workflow failing?"
@@ -96,7 +82,7 @@ When you interact with this agent, it will:
9682
### Upgrade Agentic Workflows
9783
**Load when**: User wants to upgrade workflows to a new gh-aw version or fix deprecations
9884

99-
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/upgrade-agentic-workflows.md`
85+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/upgrade-agentic-workflows.md
10086

10187
**Use cases**:
10288
- "Upgrade all workflows to the latest version"
@@ -106,7 +92,7 @@ When you interact with this agent, it will:
10692
### Create a Report-Generating Workflow
10793
**Load when**: The workflow being created or updated produces reports — recurring status updates, audit summaries, analyses, or any structured output posted as a GitHub issue, discussion, or comment
10894

109-
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/report.md`
95+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/report.md
11096

11197
**Use cases**:
11298
- "Create a weekly CI health report"
@@ -116,7 +102,7 @@ When you interact with this agent, it will:
116102
### Create Shared Agentic Workflow
117103
**Load when**: User wants to create a reusable workflow component or wrap an MCP server
118104

119-
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/create-shared-agentic-workflow.md`
105+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/create-shared-agentic-workflow.md
120106

121107
**Use cases**:
122108
- "Create a shared component for Notion integration"
@@ -126,7 +112,7 @@ When you interact with this agent, it will:
126112
### Fix Dependabot PRs
127113
**Load when**: User needs to close or fix open Dependabot PRs that update dependencies in generated manifest files (`.github/workflows/package.json`, `.github/workflows/requirements.txt`, `.github/workflows/go.mod`)
128114

129-
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/dependabot.md`
115+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/dependabot.md
130116

131117
**Use cases**:
132118
- "Fix the open Dependabot PRs for npm dependencies"
@@ -136,54 +122,19 @@ When you interact with this agent, it will:
136122
### Analyze Test Coverage
137123
**Load when**: The workflow reads, analyzes, or reports test coverage — whether triggered by a PR, a schedule, or a slash command. Always consult this prompt before designing the coverage data strategy.
138124

139-
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/test-coverage.md`
125+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/test-coverage.md
140126

141127
**Use cases**:
142128
- "Create a workflow that comments coverage on PRs"
143129
- "Analyze coverage trends over time"
144130
- "Add a coverage gate that blocks PRs below a threshold"
145131

146-
### CLI Commands Reference
147-
**Load when**: The user asks how to run, compile, debug, or manage workflows from the command line; needs the MCP tool equivalent of a `gh aw` command; or is in a restricted environment (e.g., Copilot Cloud) without direct CLI access.
148-
149-
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/cli-commands.md`
150-
151-
**Use cases**:
152-
- "How do I trigger workflow X on the main branch?"
153-
- "What's the MCP equivalent of `gh aw logs`?"
154-
- "I'm in Copilot Cloud — how do I compile a workflow?"
155-
- "Show me all available gh aw commands"
156-
157-
### Token Consumption Optimization
158-
**Load when**: The user asks how to reduce token usage, lower workflow costs, make a workflow faster or cheaper, or measure the impact of prompt or configuration changes.
159-
160-
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/token-optimization.md`
161-
162-
**Use cases**:
163-
- "How do I reduce the token cost of this workflow?"
164-
- "My workflow is too expensive — how do I optimize it?"
165-
- "How do I compare token usage between two runs?"
166-
- "Should I use gh-proxy or the MCP server?"
167-
- "How do I use sub-agents to reduce costs?"
168-
- "How do I measure the impact of a prompt change?"
169-
170-
### Workflow Pattern Selection
171-
**Load when**: The user asks for architecture, strategy, operating model selection, or pattern recommendations for building agentic workflows.
172-
173-
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/patterns.md`
174-
175-
**Use cases**:
176-
- "Which pattern should I use for multi-repo rollout?"
177-
- "How should I structure this workflow architecture?"
178-
- "What pattern fits slash-command triage?"
179-
- "Should this be DispatchOps or DailyOps?"
180-
181132
## Instructions
182133

183134
When a user interacts with you:
184135

185136
1. **Identify the task type** from the user's request
186-
2. **Load the appropriate prompt** from the URLs listed above
137+
2. **Load the appropriate prompt** from the GitHub repository URLs listed above
187138
3. **Follow the loaded prompt's instructions** exactly
188139
4. **If uncertain**, ask clarifying questions to determine the right prompt
189140

@@ -196,10 +147,6 @@ gh aw init
196147
# Generate the lock file for a workflow
197148
gh aw compile [workflow-name]
198149

199-
# Trigger a workflow on demand (preferred over gh workflow run)
200-
gh aw run <workflow-name> # interactive input collection
201-
gh aw run <workflow-name> --ref main # run on a specific branch
202-
203150
# Debug workflow runs
204151
gh aw logs [workflow-name]
205152
gh aw audit <run-id>
@@ -222,12 +169,10 @@ gh aw compile --validate
222169

223170
## Important Notes
224171

225-
- Always reference the instructions file at `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agentic-workflows.md` for complete documentation
172+
- Always reference the instructions file at https://github.com/github/gh-aw/blob/v0.64.2/.github/aw/github-agentic-workflows.md for complete documentation
226173
- Use the MCP tool `agentic-workflows` when running in GitHub Copilot Cloud
227174
- Workflows must be compiled to `.lock.yml` files before running in GitHub Actions
228175
- **Bash tools are enabled by default** - Don't restrict bash commands unnecessarily since workflows are sandboxed by the AWF
229176
- Follow security best practices: minimal permissions, explicit network access, no template injection
230-
- **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.
177+
- **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://github.com/github/gh-aw/blob/v0.64.2/.github/aw/network.md for the full list of valid ecosystem identifiers and domain patterns.
231178
- **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.
232-
- **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.
233-
- **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: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,39 @@
11
{
22
"entries": {
3-
"actions/checkout@v7": {
3+
"actions/checkout@v6.0.2": {
44
"repo": "actions/checkout",
5-
"version": "v7",
6-
"sha": "9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0"
5+
"version": "v6.0.2",
6+
"sha": "de0fac2e4500dabe0009e67214ff5f5447ce83dd"
77
},
8-
"actions/download-artifact@v8.0.1": {
8+
"actions/download-artifact@v8.0.0": {
99
"repo": "actions/download-artifact",
10-
"version": "v8.0.1",
11-
"sha": "3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c"
10+
"version": "v8.0.0",
11+
"sha": "70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3"
1212
},
13-
"actions/github-script@v9": {
13+
"actions/github-script@v8": {
1414
"repo": "actions/github-script",
15-
"version": "v9",
16-
"sha": "373c709c69115d41ff229c7e5df9f8788daa9553"
15+
"version": "v8",
16+
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
1717
},
18-
"actions/upload-artifact@v7.0.1": {
19-
"repo": "actions/upload-artifact",
20-
"version": "v7.0.1",
21-
"sha": "043fb46d1a93c77aae656e7c1c64a875d1fc6a0a"
18+
"actions/github-script@v9.0.0": {
19+
"repo": "actions/github-script",
20+
"version": "v9.0.0",
21+
"sha": "3a2844b7e9c422d3c10d287c895573f7108da1b3"
2222
},
23-
"github/gh-aw-actions/setup-cli@v0.82.10": {
24-
"repo": "github/gh-aw-actions/setup-cli",
25-
"version": "v0.82.10",
26-
"sha": "05205436a78512d71a2d842e46586ed05f4fa058"
23+
"actions/upload-artifact@v7.0.0": {
24+
"repo": "actions/upload-artifact",
25+
"version": "v7.0.0",
26+
"sha": "bbbca2ddaa5d8feaa63e36b76fdaad77386f024f"
2727
},
28-
"github/gh-aw-actions/setup@v0.82.10": {
28+
"github/gh-aw-actions/setup@v0.77.5": {
2929
"repo": "github/gh-aw-actions/setup",
30-
"version": "v0.82.10",
31-
"sha": "05205436a78512d71a2d842e46586ed05f4fa058"
30+
"version": "v0.77.5",
31+
"sha": "3ea13c02d765410340d533515cb31a7eef2baaf0"
32+
},
33+
"github/gh-aw/actions/setup@v0.52.1": {
34+
"repo": "github/gh-aw/actions/setup",
35+
"version": "v0.52.1",
36+
"sha": "a86e657586e4ac5f549a790628971ec02f6a4a8f"
3237
}
3338
}
3439
}

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

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)