Skip to content

✨ feat(copilot): render model and tools frontmatter#35

Merged
zrr1999 merged 1 commit intomainfrom
feat/copilot-render-model-tools
Mar 23, 2026
Merged

✨ feat(copilot): render model and tools frontmatter#35
zrr1999 merged 1 commit intomainfrom
feat/copilot-render-model-tools

Conversation

@zrr1999
Copy link
Copy Markdown
Owner

@zrr1999 zrr1999 commented Mar 20, 2026

Summary

This PR upgrades the Copilot adapter so role-forge render -t copilot emits modern GitHub Copilot frontmatter instead of only description.

What changed

  • render model from model_map with Copilot adapter defaults
  • render tools from capability expansion using Copilot tool aliases
  • add focused Copilot adapter tests for model resolution, tool mapping, delegates, and snapshots
  • remove Copilot from the shared model-less adapter test matrix

Why

Copilot custom agents now support per-agent model selection and tool scoping via tools. The previous output was too minimal and dropped important role metadata during render.

Validation

  • just ci
  • 199 passed

Notes

I did not add a permission field for Copilot output. Current Copilot custom agent configuration uses tools to scope capabilities; permission is not part of the supported frontmatter for this target, so emitting it here would be speculative and likely ignored.

Add per-agent model rendering and capability-derived tools output for the Copilot adapter.

- resolve model via model_map with adapter defaults
- map semantic capabilities to Copilot tool aliases
- add focused Copilot adapter coverage and snapshot updates
- remove Copilot from model-less adapter shared tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
role-forge Ready Ready Preview, Comment Mar 20, 2026 9:32am

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 20, 2026

Merging this PR will not alter performance

✅ 1 untouched benchmark


Comparing feat/copilot-render-model-tools (1fad282) with main (6958aeb)

Open in CodSpeed

@zrr1999 zrr1999 merged commit b015b79 into main Mar 23, 2026
9 checks passed
@zrr1999 zrr1999 deleted the feat/copilot-render-model-tools branch March 23, 2026 02:39
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.

1 participant