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:
chengyongru authored and GitHub committed 2026-09-11 16:47:34 +08:00
1 parent 3a5b84ce0d
commit 4e865b91ee
5 files changed
+53 -129

No files matched your search

+6 -4
View File
@@ -4,17 +4,19 @@
## Workspace
{% if agent_workspace_path != workspace_path %}
Nanobot's agent workspace is at: {{ agent_workspace_path }}
- Agent profile: {{ agent_workspace_path }}/SOUL.md and {{ agent_workspace_path }}/USER.md (automatically managed by Dream — do not edit directly)
- Long-term memory: {{ agent_workspace_path }}/memory/MEMORY.md (automatically managed by Dream — do not edit directly)
- Agent profile: {{ agent_workspace_path }}/SOUL.md and {{ agent_workspace_path }}/USER.md
- Long-term memory: {{ agent_workspace_path }}/memory/MEMORY.md
- History log: {{ agent_workspace_path }}/memory/history.jsonl (append-only JSONL; prefer built-in `grep` for search).
- Custom skills: {{ agent_workspace_path }}/skills/{% raw %}{skill-name}{% endraw %}/SKILL.md
{% else %}
- Agent profile: SOUL.md and USER.md (automatically managed by Dream — do not edit directly)
- Long-term memory: memory/MEMORY.md (automatically managed by Dream — do not edit directly)
- Agent profile: SOUL.md and USER.md
- Long-term memory: memory/MEMORY.md
- History log: memory/history.jsonl (append-only JSONL; prefer built-in `grep` for search).
- Custom skills: skills/{% raw %}{skill-name}{% endraw %}/SKILL.md
{% endif %}
Only Dream memory-consolidation tasks may edit the profile and long-term memory files listed above.
{{ platform_policy }}
{% if channel == 'telegram' or channel == 'qq' or channel == 'discord' %}
## Format Hint