issue #185 grill定案——砍掉多人格支持,get_persona移除chat_id参数 #192
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs-fix/cut-multi-persona-issue185"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
grill issue #185(原"评估:get_persona(chat_id)承诺的同进程多人格能力")定案:砍掉多人格支持。
核实发现
ArisePorts除get_persona外几乎全部port(llm_client/storage/embedding_client/resource/get_tools/六池成本账本)都是全chat共用的进程级单例,只有get_persona一个孤例承诺"按chat区分身份",且从落地至今从未被任何host真正使用过(无任何测试验证过这个分支)。YAGNI,直接砍掉,不再留作评估。决策:
GetPersona类型从Callable[[str], Persona]收窄为Callable[[], Persona]——只删chat_id参数。关键澄清:get_persona是callable这件事历史上同时服务两个独立目的(多人格切换 +/reloadprompt热重载),本次只砍前者,热重载语义完全保留。issue #185 已从评估票转为实现票(含6个调用点的精确处理方式核实、受影响测试清单),原 issue #184 已并入本票关闭。
Changes
ADR-0001、ADR-0027 各追加一条更新节记录这次定案,均为append-only。
Test plan
🤖 Generated with Claude Code