Skip to content

Updating agentic engine frontmatter for new mcp field - #50345

Merged
pelikhan merged 10 commits into
mainfrom
copilot/update-agentic-engine-frontmatter
Aug 4, 2026
Merged

Updating agentic engine frontmatter for new mcp field#50345
pelikhan merged 10 commits into
mainfrom
copilot/update-agentic-engine-frontmatter

Conversation

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Pull request created by AI Agent


Generated by 👨‍🍳 PR Sous Chef · gpt54 · 9.35 AIC · ⌖ 6.61 AIC · ⊞ 8.3K ·
Comment /souschef to run again

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review August 4, 2026 17:33
Copilot AI balanced review requested due to automatic review settings August 4, 2026 17:33

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.

Pull request overview

Adds engine-level MCP capability metadata and proxy enforcement for engines without native MCP support.

Changes:

  • Adds the engine.mcp field and schema.
  • Automatically enables GitHub and CLI proxies for MCP-less engines.
  • Updates and recompiles the Aider smoke workflow.
Show a summary per file
File Description
pkg/workflow/engine_definition.go Adds MCP capability metadata.
pkg/workflow/compiler_orchestrator_tools.go Enforces proxy tools.
pkg/workflow/compiler_orchestrator_tools_test.go Tests proxy enforcement.
pkg/parser/schemas/main_workflow_schema.json Defines the new schema field.
.github/workflows/shared/aider.md Marks Aider as MCP-less.
.github/workflows/smoke-aider.md Removes incompatible GitHub disabling.
.github/workflows/smoke-aider.lock.yml Regenerates the compiled workflow.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 7/7 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment on lines +256 to +260
if _, exists := tools["github"]; !exists {
tools["github"] = map[string]any{"mode": string(GitHubMCPModeGHProxy)}
} else if enabled, ok := tools["github"].(bool); ok && enabled {
tools["github"] = map[string]any{"mode": string(GitHubMCPModeGHProxy)}
}
@pelikhan

pelikhan commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

@copilot review the pi agent engine definition and update since it does not support MCP either. Ensure that the gh-proxy/cli-proxy enforcement is generic and using the new falg.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot review the pi agent engine definition and update since it does not support MCP either. Ensure that the gh-proxy/cli-proxy enforcement is generic and using the new falg.

Implemented in 066a1ef. Pi now declares mcp: false; the shared capability-based enforcement enables gh-proxy and cli-proxy, including nil and string GitHub tool shorthand.

@pelikhan

pelikhan commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

@copilot pi engine is defined in .go here https://github.com/github/gh-aw/blob/main/pkg/workflow/pi_engine.go#L45 please patch as well

Copilot AI and others added 2 commits August 4, 2026 18:24
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot pi engine is defined in .go here https://github.com/github/gh-aw/blob/main/pkg/workflow/pi_engine.go#L45 please patch as well

Implemented in 3472331. NewPiEngine now explicitly sets MCP: false; generic proxy enforcement uses this runtime capability, including behavior-defined engines derived from engine.mcp.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Triage

Category: feature | Risk: medium | Score: 54/100 (impact 30, urgency 12, quality 12)

Recommended action: fast_track

Touches core engine files (19 changed) adding a new pi agentic engine and mcp field support to frontmatter. No CI status available yet; has one reviewer comment. Given the breadth of engine-layer changes, recommend expedited human review before merge.

Generated by 🔧 PR Triage Agent · auto · 43.1 AIC · ⌖ 2.46 AIC · ⊞ 8K ·

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot Please address the remaining unresolved review feedback and prepare this PR with the pr-finisher skill.

Once handled, resolve the thread and leave the PR ready for maintainer verification.

Generated by 👨‍🍳 PR Sous Chef · gpt54 · 9.35 AIC · ⌖ 6.61 AIC · ⊞ 8.3K ·
Comment /souschef to run again

Copilot AI and others added 3 commits August 4, 2026 19:08
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
…c-engine-frontmatter

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Please address the remaining unresolved review feedback and prepare this PR with the pr-finisher skill.

  • Unresolved review thread: copilot-pull-request-reviewer[bot] — https://github.co...

Refreshed the branch with main and synchronized the generated metadata in d2181ed. The MCP proxy normalization is covered by TestEnforceMCPProxyTools; make lint, make test-unit, make test, and final pre-PR validation pass.

Copilot AI requested a review from gh-aw-bot August 4, 2026 19:43
@pelikhan
pelikhan merged commit 8383188 into main Aug 4, 2026
30 checks passed
@pelikhan
pelikhan deleted the copilot/update-agentic-engine-frontmatter branch August 4, 2026 19:46
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.85.0

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants