Skip to content

Add SYSTEM.md prompt append feature#37

Merged
tcdent merged 1 commit intomainfrom
prompt-append
Jan 18, 2026
Merged

Add SYSTEM.md prompt append feature#37
tcdent merged 1 commit intomainfrom
prompt-append

Conversation

@tcdent
Copy link
Owner

@tcdent tcdent commented Jan 18, 2026

Append content from SYSTEM.md files to the built-in system prompt:

  1. User-level: ~/.config/codey/SYSTEM.md
  2. Project-level: .codey/SYSTEM.md

This allows users to customize agent behavior globally or per-project.

Changes

  • Add Config::config_dir() method for user config path
  • Add build_system_prompt() function to assemble complete prompt

Testing

  • Created both user and project SYSTEM.md files
  • Verified content appears in system prompt after restart

Append content from SYSTEM.md files to the built-in system prompt:
1. User-level: ~/.config/codey/SYSTEM.md
2. Project-level: .codey/SYSTEM.md

This allows users to customize agent behavior globally or per-project.

- Add Config::config_dir() method for user config path
- Add build_system_prompt() function to assemble complete prompt
- Create example .codey/SYSTEM.md with release process reference
@tcdent tcdent merged commit edc559d into main Jan 18, 2026
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.

1 participant