feat(provider): move system prompt block to file and add pre-save quality gate master
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 12 Jul 2026 12:51:59 +0000 (15:51 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 12 Jul 2026 12:51:59 +0000 (15:51 +0300)
commit084ce1cfc03a8bcfe539e035b8f38b085c9a854a
treef1de18539c9c19b1ac1347db02e55faf00678024
parent365e80a57d07930479faec4c41bc8118f3b0a9af
feat(provider): move system prompt block to file and add pre-save quality gate

Move the inline string concatenation from system_prompt_block() into
src/retinue/system_prompt_block.txt so the Python source is readable
and the discipline text is editable without code changes.

Add a pre-save quality gate to the discipline text:
- search existing memories before adding,
- fresh-session test before saving,
- quote file paths that contain spaces,
- name all referents,
- avoid bare pronouns,
- one fact per memory.

Bump plugin version to 1.1.0.
plugin.yaml
src/retinue/provider.py
src/retinue/system_prompt_block.txt [new file with mode: 0644]