22-ai-00/dsh-enhanced--plugins-preference-learning2

@dsh-enhanced/preference-learning

Bounded, typed preference learning for the DSH personal assistant.

包名
@dsh-enhanced/preference-learning
版本
0.1.28
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:22-ai-00/dsh-enhanced#bb3fb924f1bdb946901614b8b848ac3a1d60c642&path:plugins/preference-learning

配置

配置默认值作用
enabledtruefalse 时停止所有 producer 收集、激活和注入;Delivery 控制 registration 仍可返回 disabled 状态和执行 owner forget,Host 仍可审计、回滚和 forget
databasePathPatch 设置私有 SQLite 文件的绝对路径
signalTtlMs90 天信号衰减和保留窗口,硬上限 365 天
hypothesisTtlMs30 天假设 TTL,硬上限 30 天且不得大于信号窗口
minSignalsForActivation2激活所需最少支持信号
minBehavioralSignalsForActivation6completed owner turns 的连续同值强阈值(4–20)
autonomousT1Enabledtrue私有可信事件写入后自动 CAS 激活;启动与维护周期补偿已提交未激活项
minConfidenceBps7500最低置信度(万分比)
maxContradictionBps2500最大矛盾比例(万分比)
maxActiveOverlays6单 scope 活跃 overlay 硬上限(最多 8)
maxReviewHypotheses20单次审计上限(最多 50)
maxOverlayBytes2048固定 renderer 输出硬上限
maintenanceIntervalMs1 小时有界清理过期 signal 的周期(1 分钟至 24 小时)
maintenanceBatchSize500每轮物理清理的最大 signal 数(最多 5000)
promotionReconcileLimit50每轮提交、取消和终态回执投影的最大数量(最多 1000)

置信度使用固定 actor/interpretation 权重、时间衰减、支持/矛盾质量和证据覆盖率计算;不调用模型打分。证据或状态更新与信号写入位于同一 BEGIN IMMEDIATE 事务中。