Skip to content

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Jan 19, 2026

When loading prompt files, now search in both locations:

  1. Working directory hierarchy (existing behavior)
  2. User's home folder

If found in both locations, both are emitted as system messages. Deduplication prevents the same file from being loaded twice when the working directory search already found the file in home.

Assisted-By: cagent

When loading prompt files, now search in both locations:
1. Working directory hierarchy (existing behavior)
2. User's home folder

If found in both locations, both are emitted as system messages.
Deduplication prevents the same file from being loaded twice when
the working directory search already found the file in home.

Assisted-By: cagent
@dgageot dgageot requested a review from a team as a code owner January 19, 2026 12:51
@krissetto
Copy link
Contributor

User's home folder

is this common enough to go outside of the usual "only access files in the working dir" policy we have?

@dgageot
Copy link
Member Author

dgageot commented Jan 19, 2026

User's home folder

is this common enough to go outside of the usual "only access files in the working dir" policy we have?

For agents.md, I think it is, yes.

@dgageot dgageot merged commit 70a6194 into docker:main Jan 19, 2026
5 checks passed
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.

3 participants