From a924de8b36f628e6f00c388bbc8b8f67f1649c45 Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 25 Dec 2025 13:10:12 +0000 Subject: [PATCH] chore: archive story 09 --- .../archive/09_system_prompt_persona.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .living_spec/stories/archive/09_system_prompt_persona.md diff --git a/.living_spec/stories/archive/09_system_prompt_persona.md b/.living_spec/stories/archive/09_system_prompt_persona.md new file mode 100644 index 0000000..bbee091 --- /dev/null +++ b/.living_spec/stories/archive/09_system_prompt_persona.md @@ -0,0 +1,18 @@ +# Story: System Prompt & Persona + +## User Story +**As a** User +**I want** the Agent to behave like a Senior Engineer and know exactly how to use its tools +**So that** it writes high-quality code and doesn't hallucinate capabilities or refuse to edit files. + +## Acceptance Criteria +* [ ] Backend: Define a robust System Prompt constant (likely in `src-tauri/src/llm/prompts.rs`). +* [ ] Content: The prompt should define: + * Role: "Senior Software Engineer / Agent". + * Tone: Professional, direct, no fluff. + * Tool usage instructions: "You have access to the local filesystem. Use `read_file` to inspect context before editing." + * Workflow: "When asked to implement a feature, read relevant files first, then write." +* [ ] Backend: Inject this system message at the *start* of every `chat` session sent to the Provider. + +## Out of Scope +* User-editable system prompts (future story).