You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copilot harness (Agent Host): "Instructions" missing from attach picker; unclear how attached/applyTo instructions are loaded and persisted #342595
Version: VS Code 1.142.0 (user setup), commit 6d62b1d, Windows 10.0.26200 x64, connected via Remote SSH to a Linux host. @github/copilot 1.0.95-0.unstable.r38345923974.g3754b70, @github/copilot-sdk 1.0.19.38345923974.g3754b70.
Steps
Start a new chat on the Copilot harness (the default for new sessions since 1.142).
Open the attach (+) picker in the chat input.
Actual
The picker lists only Files & Folders, Screenshot Window, Sessions, Issue and Pull Request, plus recently opened files. The Instructions… item that is available in the Local harness is absent. I did not find this change in the 1.142 release notes.
Problem
.instructions.md files with an applyTo glob are only listed to the model by path, with a rule to read them before editing matching files. Their application is not guaranteed and may not survive context compaction.
Attaching the file as a plain file (or as implicit editor context) gives no stated persistence guarantee.
Previously, explicitly adding instructions to a session was how I made sure they applied for the whole session.
Expected
Either:
Restore Instructions… in the attach picker for the Copilot harness, with the same behavior as the Local harness; or
Document how instructions are loaded and persisted in the Copilot harness (full text vs. path, behavior after compaction) and provide a way to pin instruction files to a session.
Questions
Is an instructions-type attachment treated differently from a plain file attachment?
Activity