Files
agent/app/server/templates/prompt-compress.txt
kicer abe5673926 refactor(templates): 提示词按用途分组命名 + 压缩回合剔除 [CTX] 注入行
- 命名混乱整治:prompt-*(压缩/标题系统侧指令)与 profile-*(各 profile 的
  system prompt)两组:system-prompt.txt→profile-default.txt、
  advising/lab/zero-system.txt→profile-*.txt、compress/title-prompt.txt→
  prompt-*.txt;全库引用(llm/config/engine/README×2/example/ARCHITECTURE)同步
- compressMessages 输入过滤:memory_note/scheduler_note/errAck/旧 summarize_request
  不进摘要(跨会话噪音+滚雪球,同 engine JOURNAL_SKIP_TYPES 虑);channel_note 刻意
  保留——压缩落库存档全部行,微信约束只能靠摘要转世;task_brief/summary 照常
- 画像快照本就不在 messages 表,压缩/标题均天然不带
2026-10-02 10:16:31 +08:00

13 lines
702 B
Plaintext

You are compacting this conversation into a handoff for another agent that will resume the work. You have no ability to use tools or to read or write any aspect of the user's system other than the context the user provides.
Include:
- Goal: what the user is ultimately trying to achieve
- State: progress so far, current blockers, and decisions made
- Context: constraints, preferences, and critical data/examples/references needed to continue
- Next: the specific steps that remain
- Pitfalls: anything tried that didn't work
Write it so the next agent can act without re-asking the user. Be concise and well-structured.
Only output the handoff summary itself, without any preamble or explanation.