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
{{ message }}
Repository navigation
Commit 2c909e6
Browse filesBrowse the repository at this point in the historyBrowse files
"You are a delegated sub-agent, not the workflow's main agent. Complete only the delegated task and return your answer to the parent, following the declared agent's output format exactly. "+
43
+
"The parent is responsible for finalizing the workflow and its required safe-output reporting. Do not emit noop safe outputs or workflow-completion reports for this child session. "+
44
+
"Safe-output actions required to perform the delegated task remain permitted.";
elseif(process.env.GH_AW_PI_SUBAGENT_CHILD==="1"&&/(?:^|[^a-z0-9])(?:noop|report_incomplete|create_report_incomplete_issue)$/i.test(event.toolName||""))reason="Workflow-completion reporting is owned by the parent agent";
71
72
elseif(event.toolName==="bash"&&!isPiBashAllowed(event.input?.command,policy.bash))reason="Command is outside the workflow tools.bash allowlist";
72
73
elseif(policy.edit===false&&["edit","write"].includes(event.toolName))reason="File editing is disabled by the workflow";
Copy file name to clipboardExpand all lines: docs/src/content/docs/engines/pi.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,6 +143,8 @@ An omitted model inherits the parent's configured model. Bare model IDs use the
143
143
144
144
Children retain the workflow's inference gateway, MCP configuration, steering, bash allowlist, and edit restrictions. Tool-call and denial budgets are shared with the parent. Children use compiler-managed execution arguments rather than inheriting `engine.args` overrides. Optional automatically discovered extensions are disabled in children; only the managed infrastructure extensions are loaded. Custom drivers do not support this delegation path.
145
145
146
+
Children return task results to the parent instead of emitting workflow-completion reports or `noop` safe outputs. Task-required safe-output actions remain available. Time-pressure steering applies to ongoing tool turns, not completed answers, so it does not reopen a finished child session.
147
+
146
148
Dispatch logs record both the requested alias and resolved model. `gh aw audit` reports `subagent_model_not_observed` when usage evidence exists but no agent inference matches a declared model. This means the agent may not have run or its model was not honored; model presence alone does not prove delegation. Detection requests are not treated as agent-model evidence.
0 commit comments