dsh-action-ledger
开发工具 活跃维护

dsh-action-ledger

MkaliezZ/dsh-action-ledger

从持久化会话日志中有界提取动作生命周期,重建清晰的人类可读动作账本。支持追踪动作边界与状态流转,让历史会话行为一目了然。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
15 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:MkaliezZ/dsh-action-ledger
git clone https://github.com/MkaliezZ/dsh-action-ledger.git
git clone git@github.com:MkaliezZ/dsh-action-ledger.git
README.md main

dsh-action-ledger

A bounded action-lifecycle projection for DeepSeek Harness (DSH).

/action-ledger reconstructs a human-readable ledger from DSH's existing durable session facts such as tool/call, approval lifecycle facts, and tool/result. v0.1 intentionally does not invent a custom standalone session-event type, so it does not require patching DSH's generated event catalog.

Why

AgentFuse answers whether a tool call may proceed. Action Ledger answers what lifecycle DSH durably recorded around the call.

v0.1

  • projects requested -> approval-requested -> approved|denied -> completed|failed when the corresponding native DSH facts exist;
  • deterministic sequence ordering;
  • bounded /action-ledger output;
  • no raw tool arguments copied into the ledger;
  • read-only projection: no tool dispatch and no source mutation.

Non-claims

  • not a replacement for DSH session persistence;
  • not an authorization system;
  • does not fabricate missing lifecycle facts;
  • does not prove a physical side effect happened beyond the facts DSH recorded;
  • compatibility must be re-proven against pinned DSH revisions while DSH remains Developer Preview.

Development

npm test

License

MIT