Describe the bug
I have a large monorepo using perforce VCS. When placing any custom instructions at the repo root, copilot-cli does not detect them when the cli is started from a subdirectory inside the repo.
Custom instructions are only detected if they're present in $PWD while invoking copilot
Files tried at repo root:
- AGENTS.md
- .github/copilot-instructions.md
I also tried 'tricking' copilot into reading the perforce repo as a git repo by creating a .git directory at the root, but that does not seem to be working either.
In addition the environment var COPILOT_CUSTOM_INSTRUCTIONS_DIRS also has no effect.
Is there anyway to point copilot CLI to the repo root when not using git for VCS?
Affected version
GitHub Copilot CLI 0.0.406.
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response