Expand repository instruction discovery for ReAct prompts#60
Merged
Conversation
Co-authored-by: assapir <4030466+assapir@users.noreply.github.com>
Co-authored-by: assapir <4030466+assapir@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement selected open issue functionality
Include AGENTS.md in ReAct system prompt context
Mar 17, 2026
Co-authored-by: assapir <4030466+assapir@users.noreply.github.com>
assapir
reviewed
Mar 17, 2026
Co-authored-by: assapir <4030466+assapir@users.noreply.github.com>
Co-authored-by: assapir <4030466+assapir@users.noreply.github.com>
Copilot
AI
changed the title
Include AGENTS.md in ReAct system prompt context
Extend agent-instruction discovery beyond AGENTS.md (CLAUDE/GEMINI/Copilot)
Mar 17, 2026
assapir
approved these changes
Mar 17, 2026
Copilot
AI
changed the title
Extend agent-instruction discovery beyond AGENTS.md (CLAUDE/GEMINI/Copilot)
Expand repository instruction discovery for ReAct prompts
Mar 17, 2026
Copilot stopped work on behalf of
assapir due to an error
March 17, 2026 06:34
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.
Repository context loading previously only considered
AGENTS.md/agents.md, which missed equivalent instruction files used by other agent ecosystems. This change broadens discovery while keeping deterministic precedence and existing prompt-safety behavior.Instruction source expansion
AGENTS.md,agents.mdCLAUDE.md,claude.mdGEMINI.md,gemini.md.github/copilot-instructions.mdDeterministic precedence made explicit
OnceLock.Prompt section generalization
Repository agent instructions:Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
api.anthropic.comtarget/debug/golem target/debug/golem --provider anthropic /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.0kijyti1m/lib64/ld-linux-x86-64.so.2 /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.0mojthjnw-pie /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.0mp1hiyeb-z /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.0mz3kpe6cnow /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.0nad7atmb-z /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.0nnez3h40relro /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.102z1q8he432h�� /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.1671zob29bpx5cbvhbzbkb7pn.07bwdcq.rcgu.o /home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.16sn1nkimsab7xmlgfgflmqwp.07bwdcq.rcgu.o a90v�� hdmlp8pk7toibk1z.1e03tk9.rcgu.o 6y15tlc6gddhpbnt.1e03tk9.rcgu.o f/aws-lc-sys-0.3--diagnostic-width=120 -1949cf8c6b5b557cc f/aws-lc-sys-0.3-m64 -1949cf8c6b5b557/home/REDACTED/work/golem/golem/target/debug/deps/rustcD2AnbD/symbols.o f/aws-lc-sys-0.3/home/REDACTED/work/golem/golem/target/debug/deps/golem-32b8baedf88061d3.04jlat5q1-d(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.