You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Episode context blocked by skill dedup** — `internal/loop/loop.go`: episode search shared the `lastSkillMsg` variable with skill loading, causing episodes to be silently skipped on every turn where skills also fired. Added separate `lastEpiMsg` field + dedup. Episodes now inject alongside skills.
7
+
8
+
### Intelligence Improvements
9
+
-**LLM episode ranking enabled by default** — `internal/memory/memory.go`: `LLMSearch` changed from `false` to `true`. Episodes are now relevance-ranked via LLM instead of chronologically, making cross-session memory dramatically more useful.
10
+
-**Skill exploration constraint softened** — `cmd/odek/`: replaced "Do not explore alternatives or do your own research unless the skill's steps fail" with "use your judgment if a better approach exists", allowing the model to suggest superior approaches even when a skill exists.
11
+
-**Memory(read) instruction replaced** — `cmd/odek/`: removed instruction telling the model to call `memory(read)`, which wasted a tool call + iteration since memory is automatically injected as the ═══ MEMORY ═══ block each turn. Replaced with guidance to review the injected block.
12
+
-**SKILL FENCING section removed** — `cmd/odek/`: removed ~80-token section referencing delimiters (`╔═══ SKILL BOUNDARY`) that never appear in practice — condensed skill mode injects content with no delimiters, verbose mode uses different ones.
13
+
-**Duplicate reasoning/language rules removed** — `cmd/odek/`: removed REASONING REMINDER + LANGUAGE REMINDER from Telegram system prompt. Both are already covered by `BuildRuntimeContext("telegram")`.
14
+
15
+
### Testing
16
+
-`TestEngine_SkillsAndEpisodesBothLoad` — regression guard for the episode dedup bug
17
+
-`TestBuildSystemPrompt_NoSkillFencingSection` — guards against reintroducing wasted section
18
+
-`TestDefaultSystem_NoRedundantMemoryReadInstruction` — guards against memory(read) instruction
19
+
-`TestMemoryConfig_LLMSearchDefault` — verifies LLM ranking is enabled by default
0 commit comments