Skip to content

Add "copilot" to engine enum in included_file_schema.json - #4989

Merged
pelikhan merged 3 commits into
mainfrom
copilot/add-copilot-to-engine-enum
Nov 28, 2025
Merged

pelikhan merged 3 commits into
mainfrom
copilot/add-copilot-to-engine-enum

Conversation

Copilot AI commented Nov 28, 2025 •

Copy link
Copy Markdown
Contributor

The included file schema was missing "copilot" from the engine enum, preventing imported workflow files from using the default/recommended engine.

Changes

  • Added "copilot" to both engine enum locations in pkg/parser/schemas/included_file_schema.json:
    • String format enum (line 220)
    • Object id field enum (line 229)

Example

Included files can now use:

---
engine: copilot
---

or:

---
engine:
  id: copilot
  version: beta
---

Fixes #4969

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>[task] Add "copilot" to engine enum in included_file_schema.json</issue_title>
<issue_description>## Objective
Add "copilot" to the engine enum values in included_file_schema.json to match the main workflow schema and enable copilot engine in included files.

Context

The included schema's engine enum only includes ["claude", "codex", "custom"] but is missing "copilot", which is the default engine and available in the main schema. This prevents included files from using the copilot engine.

Related to #4969 - Medium severity schema inconsistency.

Approach

  1. Open pkg/parser/schemas/included_file_schema.json
  2. Locate the engine property definition (around line 216-263)
  3. Update the inline enum from ["claude", "codex", "custom"] to ["claude", "codex", "copilot", "custom"]
  4. Alternatively, consider using $ref to #/$defs/engine_config if that definition exists and matches

Files to Modify

  • pkg/parser/schemas/included_file_schema.json - Add "copilot" to engine enum

Acceptance Criteria

AI generated by Plan Command for discussion #4969</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add copilot to engine enum in included_file_schema.json Add "copilot" to engine enum in included_file_schema.json Nov 28, 2025
Copilot AI requested a review from pelikhan November 28, 2025 08:18
@pelikhan
pelikhan marked this pull request as ready for review November 28, 2025 08:32
@pelikhan
pelikhan merged commit 1eafc4d into main Nov 28, 2025
@pelikhan
pelikhan deleted the copilot/add-copilot-to-engine-enum branch November 28, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[task] Add "copilot" to engine enum in included_file_schema.json

2 participants