Skip to content

[RefImpl] Add a GitHub Copilot CLI host adapter #114

Description

@DvJiang

Target runtime or language

Github Copilot CLI

What this proves

I tested Copilot CLI’s hook API locally. Its session and tool hooks appear sufficient for an ACS adapter:

ACS Copilot CLI
Session lifecycle sessionStart, sessionEnd
Tool request preToolUse
Tool result postToolUse, postToolUseFailure
Tool decision permissionDecision
Session ID sessionId
Workspace cwd

The adapter would mainly need to translate tool names and payloads, Guardian decisions, tool results, and audit events.

A few details still need to be handled carefully, especially tool-name mapping (bash vs. Bash), non-zero shell exits, hook timeouts, and multiple-hook behavior.

Do you intend to implement this yourself

Yes, I want this assigned to me

Current Priority Scope

This is deferred or out of scope and I am filing it to be tracked

Activity

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

    status:needs-triageNot yet triaged. Applied by the issue formstype:refimplReference implementation or adapter work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions