astrbot_plugin_private_comp.../docs
YokiiroBW d4e0125600 fix: let emotion decay run during continuous conversation
updated_ts carried two meanings. In _decay_* it is the settlement anchor --
"these values are settled up to this moment" -- and a previous round taught it
to hold still when less than one step of time has passed, so short gaps could
accumulate. In _update_* it was treated as "last written at" and set
unconditionally, outside every event branch. The main chat path calls
_update_* on every private message, so the anchor was reset faster than one
step could ever elapse and the decay branch never ran. Measured over an hour
of 30-second messages, all four Izard dimensions and the Plutchik values had
not moved a single step.

The two dimension sets also share one anchor, so nudging joy or trust froze
anger, sadness and fear along with them -- an hour of affectionate conversation
still ended with anger pinned at its peak.

Removed both unconditional writes and gave the anchor back to _decay_*.
Conditioning them on "did an event fire" would be wrong too: the apology and
comfort branches lower emotion, which is even less reason to restart the decay
clock. Nothing else reads the field -- only the two decay functions do, the
panel summary and frontend ignore it, and the hurt-aftermath gates use three
separate timestamps.

Companion suite 235 passed; the four new tests fail on the pre-fix code.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 05:27:40 +08:00
..
M6日程拆分与陪伴插件调整评估.md feat: link bot personal memory bridge 2026-07-26 03:14:03 +08:00
OPS陪伴插件全功能盘点与删减评估.md feat: remove ops entertainment integrations 2026-07-26 01:32:07 +08:00
Q7后端接口收口与VM验收记录.md docs: record q7 vm acceptance 2026-07-26 00:14:02 +08:00
Q8前端改造与验收记录.md docs: record q8 vm deployment acceptance 2026-07-26 03:00:48 +08:00
VM部署验收-娱乐功能清理-f4d160c.md docs: clarify vm clock in acceptance record 2026-07-26 01:56:48 +08:00
前端改造要求-Q6-Bot自有存储与用户记忆边界.md docs: add frontend migration contract 2026-07-26 00:14:38 +08:00
对话日程可行性评估.md feat: add temporal companion calendar 2026-07-25 01:35:56 +08:00
运维陪伴错题本.md fix: let emotion decay run during continuous conversation 2026-07-27 05:27:40 +08:00
错题本.md feat: complete M6.1.3-R2 through M6.1.7 bot personal archive contract 2026-07-27 01:37:40 +08:00