Skip to content

Refactor/extract instructions file#18

Merged
John-Lin merged 2 commits into
masterfrom
refactor/extract-instructions-file
Apr 6, 2026
Merged

Refactor/extract instructions file#18
John-Lin merged 2 commits into
masterfrom
refactor/extract-instructions-file

Conversation

@John-Lin
Copy link
Copy Markdown
Owner

@John-Lin John-Lin commented Apr 6, 2026

No description provided.

John-Lin and others added 2 commits April 6, 2026 17:55
Move the system prompt out of servers_config.json into a dedicated
instructions.md file. JSON is a poor home for long prompts: no
linebreaks, painful to escape, and hard to review.

from_dict now reads instructions.md from the working directory and
fails fast if the file is missing, so the bot never silently starts
with an empty prompt. instructions.md is gitignored alongside
servers_config.json; instructions.md.example ships a minimal template.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@John-Lin John-Lin merged commit 6834a47 into master Apr 6, 2026
1 check 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.

1 participant