You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/aw/subagents.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
description: Guide for defining inline sub-agents in workflow markdown files — syntax, feature flag, engine placement, frontmatter fields, and best practices.
2
+
description: Guide for defining inline sub-agents in workflow markdown files — syntax, engine placement, frontmatter fields, and best practices.
3
3
---
4
4
5
5
# Inline Sub-Agents
@@ -12,17 +12,15 @@ Inline sub-agents let you define specialised agents directly inside a workflow m
12
12
13
13
## Enabling the Feature
14
14
15
-
Inline sub-agent extraction and restoration steps are **only compiled in when the `inline-agents` feature flag is set**:
15
+
Inline sub-agent extraction and restoration steps are enabled by default:
16
16
17
17
```yaml
18
18
---
19
19
engine: copilot
20
-
features:
21
-
inline-agents: true
22
20
---
23
21
```
24
22
25
-
Without this flag the `## agent:` sections are stripped from the prompt at compile time but no upload or restore steps are generated, so the sub-agent files will not be available during the agent job.
23
+
> `features.inline-agents` is deprecated and no longer needed. Existing workflows may still include it, but it has no effect.
26
24
27
25
---
28
26
@@ -99,8 +97,6 @@ For sub-agents to perform useful work they typically need access to the file sys
99
97
```yaml
100
98
---
101
99
engine: copilot
102
-
features:
103
-
inline-agents: true
104
100
tools:
105
101
github:
106
102
mode: gh-proxy
@@ -172,8 +168,6 @@ Extract a repetitive sub-task (file summarisation, commit-message generation, co
172
168
```markdown
173
169
---
174
170
engine: copilot
175
-
features:
176
-
inline-agents: true
177
171
tools:
178
172
github:
179
173
mode: gh-proxy
@@ -205,5 +199,5 @@ changes. Return a bulleted list, one bullet per file.
205
199
206
200
- Sub-agents do not support `engine:`, `tools:`, `network:`, or `mcp-servers:` fields — those are stripped at runtime.
207
201
- Sub-agents cannot define their own safe-output jobs.
208
-
-The feature requires `features.inline-agents: true` — without it the upload/restore steps are not generated.
202
+
-`features.inline-agents` is deprecated and has no effect; inline sub-agent upload/restore is always generated.
209
203
- Sub-agent blocks must appear in the main workflow file body; they are not resolved inside imported shared files.
0 commit comments