群内插句嘴 opt-in 实现——能量窗口 + 群管鉴权(issue #155 grill) #159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent
issue #155(issue #108 Q5 grill 独立 PRD 追踪票,2026-08-18 完成独立 grill 会话);ADR 见 PR #158
(新增 ADR-0032 + ADR-0029/ADR-0014 更新节 + CONTEXT.md 慢中断/环境感知词条更新)
What to build
正式给 issue #37 AC7 交付的
slow_interrupt_energy_boost(gating.py,此前全仓零调用方)接上消费方:群内非 @ 消息的"插句嘴"能力,per-chat opt-in、能量窗口触发。
原文(
docs/adr/0032-group-slow-interrupt-opt-in.md决策节,节选):Acceptance criteria
ArisePorts字段命名参照admin.IsAdmin惯例自定),语义严格限定为"平台原生群管理员/群主判断"——不得复用或调用现有
ports.is_admin/setsticker先例:on|off纯布尔,经上一条新回调校验而非
_admin_gate);host 未接这个新回调时命令如实说明不支持,不假装生效slow_interrupt_energy_boost正式接线:bot 被 @/回复后开启能量窗口;窗口内 opt-in 群的非 @ 消息才评估两级门控(
trigger_kind="event",走既有级一满分直通 + 级二主模型判定);bot 自己接话续期窗口;窗口外的非 @ 消息不触发任何门控评估、LLM 调用
environmental_awareness.py/情感态 EMA),不受 opt-in 限制,所有群常开,只算速率/热闹度、不读内容
当次评估
不评估;新回调返回
False/未接线时命令拒绝;能量窗口内接话后窗口续期;未接话内容不落库Not in scope
_full_frozen_snapshot召回)、能量曲线具体参数值(
peak_boost/half_life_seconds)、群管理员能力的具体命名/签名——ADR-0032 明确留给本票自定,不需要回评估侧确认
SilenceWindow,不属于本票范围