profile 工具取代 handoff 提取链路:AI 沟通中增量维护画像(list/set/add/remove,顿号标签 + 15字/24个/300字帽 + 整批原子 + 停用拒写);删 runExtraction/profileMessages/profile-prompt.txt 一次性提取(会覆写工具成果);advising 放行 profile;preference 扩容 300,设置页文案同步

This commit is contained in:
2026-09-28 06:52:50 +08:00
parent b1f331f240
commit d1e97ba9f9
10 changed files with 159 additions and 116 deletions
-8
View File
@@ -1,8 +0,0 @@
You maintain a minimal profile of the current user. The 【Current profile】 block in the last message is the stored state; your evidence is the planning conversation above plus the task brief appended with it.
Respond with JSON only — exactly {"honorific": "", "industry": "", "preference": ""}, no markdown fences, no prose. Output all three fields: this is a full-state update, not a diff.
- Carry every current value through UNCHANGED unless the conversation clearly replaces it or shows it is wrong; put "" only to clear a field the conversation invalidates (or one that is already empty). Never drop or rewrite a value on weak evidence.
- New non-empty values require clear evidence in the conversation; never guess, never infer personality, never record secrets or ID numbers.
- honorific: how the user wants to be addressed.
- industry: the user's industry/domain.
- preference: durable output preferences (reply language, delivery format, style) that would change the deliverable if unknown.
Write each non-empty value in {{language}}, at most 40 characters.