Skip to content

Refs/heads/copilot/create cli tool for agents - #3414

Closed
Daigrin wants to merge 14 commits into
github:mainfrom
Daigrin:copilot/create-cli-tool-for-agents
Closed

Daigrin wants to merge 14 commits into
github:mainfrom
Daigrin:copilot/create-cli-tool-for-agents

Conversation

@Daigrin

@Daigrin Daigrin commented Oct 5, 2026

Copy link
Copy Markdown

Summary

Why

Fixes #

What changed

MCP impact

  • No tool or API changes
  • Tool schema or behavior changed
  • New tool added

Prompts tested (tool changes only)

Security / limits

  • No security or limits impact
  • Auth / permissions considered
  • Data exposure, filtering, or token/size limits considered

Tool renaming

  • I am renaming tools as part of this PR (e.g. a part of a consolidation effort)
    • I have added the new tool aliases in deprecated_tool_aliases.go
  • I am not renaming tools as part of this PR

Note: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed
  • Updated (README / docs / examples)

dependabot Bot and others added 14 commits August 22, 2026 15:52
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.12.0...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.12.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps node from `e88a35b` to `aadf416`.

---
updated-dependencies:
- dependency-name: node
  dependency-version: 26-alpine
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…tretchr/testify-1.12.1

build(deps): bump github.com/stretchr/testify from 1.12.0 to 1.12.1
build(deps): bump node from `e88a35b` to `aadf416`
Co-authored-by: Daigrin <198701947+Daigrin@users.noreply.github.com>
Co-authored-by: Daigrin <198701947+Daigrin@users.noreply.github.com>
…ol-for-agents

Co-authored-by: Daigrin <198701947+Daigrin@users.noreply.github.com>
@Daigrin
Daigrin marked this pull request as ready for review October 5, 2026 01:06
Copilot AI balanced review requested due to automatic review settings October 5, 2026 01:06
@Daigrin
Daigrin requested a review from a team as a code owner October 5, 2026 01:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Windows checkout isolation and Docker workflow credential handling need correction.

Review effort: Balanced
Findings: 2 High severity

Open (2)
What changed in this PR

Adds agentctl, a standalone wrapper for running local GitHub Copilot CLI agents alongside the existing MCP server.

Changes:

  • Adds checkout validation, agent execution, and explicit profile installation.
  • Bundles nine profiles with offline tests and usage documentation.
  • Adds Docker build CI and updates the UI build image digest.
File Description
internal/​agentctl/​profiles/​workflow-debugger.agent.md CI diagnosis profile.
internal/​agentctl/​profiles/​test-writer.agent.md Regression-test writing profile.
internal/​agentctl/​profiles/​summarizer.agent.md Read-only summarization profile.
internal/​agentctl/​profiles/​security-auditor.agent.md Read-only security audit profile.
internal/​agentctl/​profiles/​reviewer.agent.md Read-only code review profile.
internal/​agentctl/​profiles/​researcher.agent.md Local repository research profile.
internal/​agentctl/​profiles/​issue-planner.agent.md Issue drafting profile.
internal/​agentctl/​profiles/​errorfixer.agent.md Error diagnosis and repair profile.
internal/​agentctl/​profiles/​coder.agent.md Focused implementation profile.
internal/​agentctl/​profiles.go Embeds and installs profiles.
internal/​agentctl/​profiles_test.go Tests installation safeguards and profiles.
internal/​agentctl/​command.go Defines commands, permissions, and execution.
internal/​agentctl/​command_test.go Tests dispatch, validation, and subprocess handling.
internal/​agentctl/​checkout.go Validates checkout identity and filters environment overrides.
internal/​agentctl/​checkout_test.go Tests checkout validation safeguards.
download.md Documents setup, usage, and limitations.
Dockerfile Updates UI build image digest.
cmd/​agentctl/​main.go Adds executable entry point.
.github/​workflows/​docker-image.yml Adds Docker build validation.
.github/​workflows/​codeql.yml.bak Adds an inactive CodeQL workflow backup.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +9 to +16
jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
var env []string
for _, variable := range os.Environ() {
key, _, _ := strings.Cut(variable, "=")
if !strings.HasPrefix(key, "GIT_") {
@SamMorrowDrums SamMorrowDrums added the invalid This doesn't seem right label Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This doesn't seem right

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants