Description
Before submitting
- Searched existing issues. This is a current-version follow-up to closed [Bug]: Copilot (ACP) does not expand slash commands because T3 adds a runtime-instructions block #19384.
- Included reproduction steps and a direct ACP comparison.
Area
apps/server
Summary
An explicit /implement request in T3 Code fails with Skill not found: implement, although Copilot discovers the skill, reports it enabled, and advertises it through ACP. Direct slash invocation over ACP loads the instructions successfully. Wrapping the same request in a T3-style context envelope prevents expansion.
The skill has disable-model-invocation: true. That should prevent automatic model invocation, not an explicit user slash command. Removing this flag changes the intended behavior and is only a workaround.
Steps to reproduce
- Install a personal Copilot skill at
~/.copilot/skills/implement/SKILL.mdwithname: implement, a description, anddisable-model-invocation: truein its frontmatter. - Confirm
copilot skill list --jsonlists it withenabled: true. - Open a GitHub Copilot ACP Registry thread in T3 Code.
- Send
/implementfollowed by a request. No image or file attachment is required. - Observe the failed skill-tool invocation instead of native slash-command expansion.
A minimal skill for a safe reproduction can contain:
---
name: implement
description: Check explicit slash-command activation.
disable-model-invocation: true
---
Reply with exactly SKILL_LOADED. Do not use tools or change files.
Expected behavior
Explicit /implement invocation loads the skill instructions, as it does when sent directly to Copilot ACP. T3-added context should not prevent native command recognition.
Actual behavior
The agent receives the slash command without its skill instructions, then attempts the model-facing skill tool, which returns:
{
"message": "Skill not found: implement",
"code": "failure"
}
ACP comparison performed
Two separate sessions were tested against the installed copilot --acp --disable-builtin-mcps, using initialize, session/new, and session/prompt. Both probes prohibited tools, file edits, and commits, and asked whether the skill instructions had been supplied directly. No tool calls occurred.
The installed implement skill was used for these probes; the minimal marker skill above is a suggested reproducer, not the fixture used in the captured comparison.
- One text block beginning directly with
/implement: instructions loaded. The agent quoted the skill's first instruction and confirmed it did not use a tool to load it. - One text block containing the identical request inside a context envelope: instructions did not load. The reply was
NOT_LOADED.
The failing shape was:
<current_datetime>timestamp</current_datetime>
<user_request>
/implement [same read-only inspection request]
</user_request>
ACP also advertised implement in available_commands_update. This is an execution/expansion failure, not missing command discovery or autocomplete.
These probes establish that a prefixed context envelope alone prevents expansion. They do not capture T3's exact outgoing ACP payload or identify the current source-code branch responsible. The earlier #19384 additionally documented expansion failing when T3 appended a second runtime-instructions text block. Both findings suggest preserving Copilot's native slash-command prompt shape is important.
Impact
Major degradation or frequent failure. Explicit-only skills cannot be used through the affected invocation path.
Version or commit
T3 server/runtime 0.1.6
Environment
Linux x64 environment; GitHub Copilot CLI 1.0.105; T3 ACP Registry provider acpRegistry_copilot; model gpt-6.1-sol.
Related reports
- [Bug]: Copilot (ACP) does not expand slash commands because T3 adds a runtime-instructions block #19384: same expansion symptom, now closed; this report supplies a current-version reproduction and an additional single-block envelope comparison.
- [Bug]: ACP Registry providers probe commands/skills with the server cwd, so project-scoped commands never appear #24375: different issue involving project-skill discovery and working directory.
- Copilot skills are missing from autocomplete after other text #26443: different issue involving inline autocomplete before sending.
Workaround
Remove disable-model-invocation: true so the model can load the skill itself. This sacrifices explicit-only invocation semantics and should not be required for a user-entered slash command.
Activity