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
Commit 7980b50
Browse filesBrowse the repository at this point in the historyBrowse files
Inject user and project AGENTS.md into the chat system prompt
The agent's project tools refuse paths outside the project, so it could
never read ~/.config/agents/AGENTS.md on its own. The server now loads
both files and appends them to the system prompt for every chat turn.
- add ai_chat/instructions.py (per-file 16k and combined 24k caps,
unreadable files skipped)
- send display labels (~/.config/agents/AGENTS.md, AGENTS.md) instead of
absolute paths so the operator's filesystem layout is not disclosed
- state in SYSTEM_INSTRUCTIONS that file content is project convention
and never overrides the tool and safety rules
- carry the instructions into the final tools-disabled round
0 commit comments