From 44e49caab7fc781d01c478fb1f3676ce0ddd3a15 Mon Sep 17 00:00:00 2001 From: Nika Siradze Date: Tue, 24 Nov 2026 00:02:19 +0400 Subject: [PATCH] Let clip picking and title writing read a learned-style knowledge file Clip picking and title writing read a fixed list of knowledge files, so a file holding what someone keeps and how they title could not reach either. Add 14-learned-style.md to both lists. A missing file is skipped, so nothing changes unless it exists. The suggestion cache key already hashes the loaded knowledge text, so editing the file re-picks instead of replaying old suggestions. --- CLAUDE.md | 3 ++- backend/services/claude_suggest.py | 1 + backend/services/content_generator.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 35a6a15..8e6023b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -109,7 +109,7 @@ After publishing: `/retro-episode` ## Knowledge base -All slash commands read from `.podcli/knowledge/`. This is where your show's brand, voice, and style live. 14 files: +All slash commands read from `.podcli/knowledge/`. This is where your show's brand, voice, and style live. 15 files: | File | What it contains | |------|-----------------| @@ -127,6 +127,7 @@ All slash commands read from `.podcli/knowledge/`. This is where your show's bra | `11-inspiration-channels.md` | Reference channels, viral hooks | | `12-quick-reference.md` | Copy-paste resources | | `13-learnings.md` | Cross-episode learnings, appended by `/retro-episode` | +| `14-learned-style.md` | Taste learned from your past clips (what you keep, how you title). Optional; read by clip picking and title writing when present | --- diff --git a/backend/services/claude_suggest.py b/backend/services/claude_suggest.py index 75df857..ef54f77 100644 --- a/backend/services/claude_suggest.py +++ b/backend/services/claude_suggest.py @@ -157,6 +157,7 @@ def keeps_with_slack(self, seconds: float, slack: float = DURATION_SLACK) -> boo ("12-quick-reference.md", 2000), # hook bank, title formulas, hashtags ("08-topics-themes.md", 1000), # topic areas, audience interest map ("00-master-instructions.md", 1500), # quality gate, auto-detection rules + ("14-learned-style.md", 1500), # taste learned from past clips ] diff --git a/backend/services/content_generator.py b/backend/services/content_generator.py index ffda5d0..70d6c15 100644 --- a/backend/services/content_generator.py +++ b/backend/services/content_generator.py @@ -32,6 +32,7 @@ def _shorten_for_codex(engine: str, prompt: str) -> str: ("02-voice-and-tone.md", 2000), ("01-brand-identity.md", 1000), ("12-quick-reference.md", 1500), + ("14-learned-style.md", 1500), ]