Skip to content

chore: remove the copilot-collections and simplify the agent instructions#259

Merged
tonyandrewmeyer merged 4 commits intocanonical:mainfrom
tonyandrewmeyer:simplify-agent-instructions
Feb 16, 2026
Merged

chore: remove the copilot-collections and simplify the agent instructions#259
tonyandrewmeyer merged 4 commits intocanonical:mainfrom
tonyandrewmeyer:simplify-agent-instructions

Conversation

@tonyandrewmeyer
Copy link
Collaborator

@tonyandrewmeyer tonyandrewmeyer commented Feb 16, 2026

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).

Copy link
Collaborator

@benhoyt benhoyt left a comment

Choose a reason for hiding this comment

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

This looks good to me, thanks.

Co-authored-by: Ben Hoyt <benhoyt@gmail.com>
@tonyandrewmeyer tonyandrewmeyer merged commit aea84d0 into canonical:main Feb 16, 2026
15 checks passed
@tonyandrewmeyer tonyandrewmeyer deleted the simplify-agent-instructions branch February 16, 2026 21:34
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.

2 participants