关闭issue #184并入#185——get_persona(chat_id)状态隔离缺口同根因 #191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs-fix/merge-184-into-185"
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 #184(PullConsent/Profile补persona_id维度)过程中发现原问题框架不准确:系统里不存在可以补充的"persona_id"字段——
Persona不是有持久身份的实体,只是get_persona(chat_id)每次触发都重新查询的瞬时返回值。进一步核实后确认更精确的问题:
get_persona(chat_id)协议明确允许"同进程按chat返回不同人设"(每次触发都重新查询、无缓存),但ArisePorts整体是进程级单例,其下辖端口里已知至少两处没有对应的persona状态隔离——llm_client(issue #185原范围)与 storage/PullConsent(issue #184原范围)。这是同一个根因的两处表现:"同进程多人格"这个协议承诺的能力,状态层完全没有支撑;而"一人设一进程"这种多进程部署模式下,两个问题都天然不存在。Changes
Test plan
🤖 Generated with Claude Code