feat: overhaul system prompt and move to dedicated file#64
Merged
quiet-node merged 3 commits intomainfrom Apr 8, 2026
Merged
Conversation
Replaces the placeholder system prompt with a comprehensive SOUL.md-style prompt covering identity, character, values, multi-dimensional honesty architecture, communication style, psychological stability, and explicit behavioral rules (anti-sycophancy, act-vs-ask, expertise limits). Moves the prompt out of the Rust source constant into a dedicated plain-text file (src-tauri/prompts/system_prompt.txt) embedded at compile time via include_str!, making it easy to edit without touching Rust code. Also bumps the default Ollama model from gemma3:4b to gemma4:e2b. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
Instructs the model to resolve referential language from conversation history before asking for clarification, and to proceed directly on follow-up tasks where the subject is already established. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
…t-aware not keyword-driven Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node
added a commit
that referenced
this pull request
Apr 10, 2026
* feat: overhaul system prompt and upgrade default model to gemma4:e2b Replaces the placeholder system prompt with a comprehensive SOUL.md-style prompt covering identity, character, values, multi-dimensional honesty architecture, communication style, psychological stability, and explicit behavioral rules (anti-sycophancy, act-vs-ask, expertise limits). Moves the prompt out of the Rust source constant into a dedicated plain-text file (src-tauri/prompts/system_prompt.txt) embedded at compile time via include_str!, making it easy to edit without touching Rust code. Also bumps the default Ollama model from gemma3:4b to gemma4:e2b. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> * feat(prompt): add conversational continuity rule Instructs the model to resolve referential language from conversation history before asking for clarification, and to proceed directly on follow-up tasks where the subject is already established. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> * refactor(prompt): rewrite conversational continuity rule to be context-aware not keyword-driven Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> --------- Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node
added a commit
that referenced
this pull request
Apr 10, 2026
* feat: overhaul system prompt and upgrade default model to gemma4:e2b Replaces the placeholder system prompt with a comprehensive SOUL.md-style prompt covering identity, character, values, multi-dimensional honesty architecture, communication style, psychological stability, and explicit behavioral rules (anti-sycophancy, act-vs-ask, expertise limits). Moves the prompt out of the Rust source constant into a dedicated plain-text file (src-tauri/prompts/system_prompt.txt) embedded at compile time via include_str!, making it easy to edit without touching Rust code. Also bumps the default Ollama model from gemma3:4b to gemma4:e2b. Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> * feat(prompt): add conversational continuity rule Instructs the model to resolve referential language from conversation history before asking for clarification, and to proceed directly on follow-up tasks where the subject is already established. Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> * refactor(prompt): rewrite conversational continuity rule to be context-aware not keyword-driven Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> --------- Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
quiet-node
added a commit
that referenced
this pull request
Apr 11, 2026
* feat: overhaul system prompt and upgrade default model to gemma4:e2b Replaces the placeholder system prompt with a comprehensive SOUL.md-style prompt covering identity, character, values, multi-dimensional honesty architecture, communication style, psychological stability, and explicit behavioral rules (anti-sycophancy, act-vs-ask, expertise limits). Moves the prompt out of the Rust source constant into a dedicated plain-text file (src-tauri/prompts/system_prompt.txt) embedded at compile time via include_str!, making it easy to edit without touching Rust code. Also bumps the default Ollama model from gemma3:4b to gemma4:e2b. Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> * feat(prompt): add conversational continuity rule Instructs the model to resolve referential language from conversation history before asking for clarification, and to proceed directly on follow-up tasks where the subject is already established. Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> * refactor(prompt): rewrite conversational continuity rule to be context-aware not keyword-driven Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> --------- Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com>
This was referenced Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src-tauri/prompts/system_prompt.txt, embedded at compile time viainclude_str!so it can be edited without touching Rust codeTHUKI_SYSTEM_PROMPTenv var override continues to work as beforeWhat the new prompt covers
Test Plan
bun run test— 453 frontend tests passbun run test:backend— 131 backend tests passbun run validate-build— lint, format, typecheck, build all clean🤖 Generated with Claude Code