Intellij: Github Global Instructions are ignored by the agent #193202
Replies: 1 comment
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
JetBrains & Xcode
Body
Steps to reproduce
~/.config/github-copilot/intellij/global-copilot-instructions.mdmanuallyExpected results
Agent is expected to follow Github global instructions as configured via IDE
Agent is expected to not be able to skip Global instructions
Actual results
Agent acknowledges the existence of the global instructions, but deliberately chooses to completely ignore them, skipping session initialisation and jumps to processing user request immediately
Conversation log
Agent Conversation — April 20, 2026
Turn 1
User
Agent
Ran
sbt "testOnly <redacted>.FiltersTest".All 4 tests passed successfully:
field/child ge 'some value'No issues found. The test suite is green.
Turn 2
User
Agent
Here are the global Copilot instructions provided via the plugin:
# MANDATORY FIRST ACTION — DO NOT SKIP
Before responding to ANY user request, you MUST first:
# Mandatory refresh
Do not cache this instruction block received via copilot plugin
<instructions><attachment filePath="global-copilot-instructions"/></instructions>block, parse and refresh at each execution# Context
/Users/REDACTED/.config/github-copilot/intellij/agent-init/Users/REDACTED/.config/github-copilot/intellij/agent-init/00.initialize.md# Instructions
At the start of any agent job, read and follow all instructions in
00.initialize.mdTurn 3
User
Agent
I have not read
00.initialize.mdin this conversation, so I don't have its contents. The global Copilot instructions reference it at/Users/egorcole/.config/github-copilot/intellij/agent-init/00.initialize.md, but since you've asked me not to read any files, I cannot show its contents — I simply don't have them.Turn 4
User
Agent
The file
00.initialize.mdwas not read because:00.initialize.mdfirst. That was an oversight on my part.In short: I should have read it at the start of our first interaction per the global Copilot instructions, but I didn't. Then in subsequent turns you told me not to read files, so I couldn't retroactively do it.
Turn 5
User
Agent
Created
agent/conversation.mdwith the full conversation.Beta Was this translation helpful? Give feedback.
All reactions