dsh-ledger-gauge
Manifest valid读数台:把jsonl台账当经历记忆,扫台账新鲜度,读数纪律常驻,宣称必须挂复现命令
dsh-ledger-gauge · 读数台(插件)
把「读数纪律」写成常驻条款,并给一屏能看的台账全貌。
为什么原生读账
度量族主力件(RSI成本账.py、E17价值凝固.py、存在面采集器.py)都写死 <workspace>,
跑不动;但台账本身在盘(47 本 .jsonl)。所以本插件直接扫台账:条数、最后一条时间、体量。
区块 ql:gauge(默认排序 120)
三层读数(实测>估算>未知)+读数四件套(值/出处/时点/复验命令)+账本即读数(久不增=没在跑)+过期即腐+判据(能不能当场重跑)。
工具 ql_gauge
| action | 干什么 |
|---|---|
台账面 | 扫 scripts/、scripts/裁撤归置/、根目录全部 .jsonl,按最后一条时间倒序出前 25 本(条数/KB/路径) |
台账查 | 按台账名关键词,出命中台账的条数与末三条 |
只读,不写任何文件。
配置
| 字段 | 默认 | 含义 |
|---|---|---|
enabled | true | 总开关 |
order | 120 | 区块排序 |
tool | true | 是否挂工具 |
root | 自动 | 工作区根 |
诚实边界
- 只统计"行数",不判"行对不对":台账里可以是坏行、重复行、半行。
- 最后一条时间取常见字段(时/时间/ts/t/日期/date/time),取不到就退回文件 mtime——mtime 会被拷贝/解压刷新,不等于真写入时间。
- 台账条数不是业绩:只增不查的账=记了白记,这一点工具判不了,得靠人。
Comments
Loading…
Similar plugins
by zhangyy0423
dsh plugin: per-turn receipts (todo counts, goal id, fail-closed plan verdict) that survive the next turn, plus a read-only veripipe_receipt tool.
★ 0
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-veripipeby EIGHTfs
DSH skill 使用记分板:监听 tools/result,按会话去重自动累计 skill 加载次数。
★ 0
JavaScript
Sep 14, 2026
dsh plugin --profile web add dsh-skill-scoreboardby Areium
DeepSeek Harness(DSH)插件:自动记录所有执行模式(原生工具 / PTC run_code / 代码内嵌工具调用)的工具失败错因,去重、计数、确定性排序后沉淀进 skill 的机器维护实录区段——让 Agent 越用越少错。
★ 10
↓ 260/wk
MIT
JavaScript
Sep 20, 2026
dsh plugin --profile web add dsh-fail-loggerAuditable token ledger for DeepSeek Harness: folds the durable session log into restart-safe totals, recomputes the same numbers from the raw logs and diffs them, and turns usage into a bill by worksp
★ 1
↓ 897/wk
MIT
JavaScript
dsh plugin --profile web add @chenmiao8563/dsh-token-ledgerby 121212165
dsh plugin: bills every model call into a monthly JSONL cost ledger - token buckets, cache reads, off-peak rules (/ledger /ledger-export)
★ 0
MIT
TypeScript
Oct 6, 2026
dsh plugin --profile web add dsh-plugin-cost-ledgerby 1015677515
Captures the agent's own self-reported mistakes into a categorised lesson library that is re-injected into the system prompt every turn (each captured draft is confirmed or edited by the user before i
★ 4
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add github:1015677515/dsh-prompt-ErrorNotes-desk