prompt: the subagent line is a spawn-time instruction, not a per-message prefix

This commit is contained in:
victortaelin 2026-07-26 15:21:46 -03:00
parent fd97a81429
commit 0506f4919b
2 changed files with 2 additions and 2 deletions

View file

@ -96,5 +96,5 @@ Never edit or delete anything under `~/.optmem/memory`: the tool manages it.
Parallel sessions on this machine are all you, and may all write memories. Parallel sessions on this machine are all you, and may all write memories.
A subagent is not: it must never run `memo`, because it cannot judge what A subagent is not: it must never run `memo`, because it cannot judge what
is already known, and its notes would arrive duplicated and incorrectly. is already known, and its notes would arrive duplicated and incorrectly.
Start every brief you send one with `You are a subagent. Don't run memo.` When you spawn one, begin its task with `You are a subagent. Don't run memo.`
``` ```

2
memo
View file

@ -442,7 +442,7 @@ Never edit or delete anything under `{data}`: the tool manages it.
Parallel sessions on this machine are all you, and may all write memories. Parallel sessions on this machine are all you, and may all write memories.
A subagent is not: it must never run `memo`, because it cannot judge what A subagent is not: it must never run `memo`, because it cannot judge what
is already known, and its notes would arrive duplicated and incorrectly. is already known, and its notes would arrive duplicated and incorrectly.
Start every brief you send one with `You are a subagent. Don't run memo.` When you spawn one, begin its task with `You are a subagent. Don't run memo.`
""" """