fix(memory): clarify Dream prompt write permissions (#5734)
* fix(memory): clarify Dream prompt write permissions * refactor(memory): consolidate Dream prompt rules * fix(memory): keep agent prompts focused on executable guidance * fix(memory): limit cleanup to skill instructions
This commit is contained in:
1 parent
3a5b84ce0d
commit
4e865b91ee
5 files changed
+53
-129
No files matched your search
@@ -84,7 +84,6 @@ class TestBuildDreamPrompt:
|
||||
assert result is not None
|
||||
prompt, _ = result
|
||||
assert prompt.startswith("Custom Dream prompt.")
|
||||
assert "memory consolidation engine" not in prompt
|
||||
assert "## Conversation History" in prompt
|
||||
assert "keep this fact" in prompt
|
||||
|
||||
@@ -111,7 +110,7 @@ class TestBuildDreamPrompt:
|
||||
|
||||
assert result is not None
|
||||
prompt, _ = result
|
||||
assert "memory consolidation engine" in prompt
|
||||
assert prompt.startswith(store.default_dream_prompt() + "\n\n## Conversation History\n")
|
||||
|
||||
def test_truncates_long_entries_at_1000_chars(self, store):
|
||||
long_content = "x" * 2000
|
||||
|
||||
Reference in new issue
Block a user