Copilot CLI agent behaviour from docs #187
Notifications
Due Date
No due date set.
Blocks
Reference: Mortis/Holocron#187
Reference in new issue
Block a user
Part of #166
Question
Copilot CLI is a runtime v1 writes to but cannot test, because there is no account. What do Copilot CLI's current docs, changelog and issue tracker say about these behaviours?
--agentdelegating to a custom subagent.modelin an agent definition being honoured, including for agents deployed by apm (older issues reported it being ignored). Are those issues open or fixed, and in which version?agent(or the equivalent tool name) to delegate.denyandaskon pre-tool-use, which thedeliveryguard hook relies on.Answer each with a primary source. Any open bug becomes a documented limitation of the
deliveryagents, not a design change.Resolution
Findings:
docs/research/copilot-cli-agents/copilot-cli-agents.mdonresearch/copilot-cli-agents(throwaway branch, never merged). Docs-only. Sources are docs.github.com and the github/copilot-cli changelog and issues, up to v1.0.114 (2026-11-18).--agentdelegating to a subagent: yes, interactive and-p. It is inferred: the session agent dispatches through thetasktool, and changelog v1.0.49, v1.0.81 and v1.0.106 back it, but no doc page states it outright. Agents load from.github/agents/,.claude/agents/,~/.copilot/agents/and plugins.model: honoured since #980 was fixed in v0.0.415. It is overridden without warning by--model, a usersubagentsoverride or an Auto session, unless the agent setsmodel-policy: required. An unavailable model silently falls back. Open: #4437 (a same-named.claude/agentsmodel overrides the.github/agentsone). #2950 auto-closed as fixed in v1.0.91, but no changelog entry confirms it.toolslist must includeagent(custom-agentandTaskalso work). Unknown tool names are ignored silently.allow,denyandask(since v1.0.4); exit code 2 denies, other errors deny, timeouts let the call through.Limitations for the
deliveryagentsmodel-policy: requiredon every agent, or the pinned model isn't guaranteed.askcan't be the only gate for odd jobs on Copilot:asksince v1.0.53.askinto deny.-pbehaviour is undocumented.-pload only in a trusted folderinclude-custom-instructions: true.--agentselection is dropped right after interactive startup.--agentcan't find agents that exist only in--add-dirdirectories.task,explore,code-review) are never delegated to.The full list with citations is in the findings note. These go to the guard hook and implement-stage tickets as inputs.