chore: remove the copilot-collections and simplify the agent instructions#259
Merged
tonyandrewmeyer merged 4 commits intocanonical:mainfrom Feb 16, 2026
Merged
Conversation
… a minimal instruction set
benhoyt
approved these changes
Feb 16, 2026
Collaborator
benhoyt
left a comment
There was a problem hiding this comment.
This looks good to me, thanks.
Co-authored-by: Ben Hoyt <benhoyt@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes the copilot-collections automation, and the files pulled from it. We've decided to use a more minimal approach, at least for now.
As a replacement, an AGENTS.md file is added, also with a minimal approach.
I think we may want to have some documentation instructions included in the future, but the copilot-collections set seems too large. I'd like to leave these out for now, and discuss this with @dwilding later.
As an example of the impact, I asked Copilot CLI to implement tonyandrewmeyer#4 (add space commands). I am not proposing we merge either of the resulting PRs (we should wait for someone to need them), it's just my current test case for this repo. I used Opal 4.6 (max effort) as the model in both cases.
A note on the one from this branch: Copilot figured out the output format, but obeyed the rule about the dataclasses coming from Go code rather than being self-written, and 'decided' to use a plain dict instead. I think this is reasonable, and I would then replace it myself if I was working on the ticket. I think it would be interesting to have a tool that agents could use (based on @benhoyt 's original one) to generate dataclasses when needed. (In a later PR). In the main version, Copilot tried to find the definition in the Juju code (good, but risky in my opinion).