Skip to content

[Bug]: Copilot slash-only skills still fail with prompt wrapping on 0.1.6 #30246

Closed

Description

@TheHACKATHON

Before submitting

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

  1. Install a personal Copilot skill at ~/.copilot/skills/implement/SKILL.md with name: implement, a description, and disable-model-invocation: true in its frontmatter.
  2. Confirm copilot skill list --json lists it with enabled: true.
  3. Open a GitHub Copilot ACP Registry thread in T3 Code.
  4. Send /implement followed by a request. No image or file attachment is required.
  5. 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.

  1. 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.
  2. 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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions