decision-ledger

Reviewed at commit f7da140

Decision Ledger

Made by
YeonwooSung
What we checked

Adds a /decision command for writing down design decisions you make, each with a file or symbol reference, the choice, the reason and any rejected alternative. Entries are only what you type, stored locally per project and session with obvious secrets masked. It reads no files, runs no programs and makes no network calls.

Review details

Static review of the source at the pinned commit; not run. Delta review of the changes since d15db0e; the rest carries over from the review at that commit. Registers session.start (registers the /decision slash command), command.run for /decision and tool.call. The tool.call handler is a pass-through: the Feature class has no observe method, so every call goes straight to next(e) without being read or changed. Up to 200 decisions are kept with $.store.get/$.store.set under a key of plugin name and a hash of the working directory and session id (the previous version used the raw values), capped at 256 KiB, after every string passes safeText (control character removal and best-effort masking of passwords, tokens and keys). Subcommands: add, list with optional reference filter, remove, reset. Output is returned as command text. Port.read, run and env are stubbed to throw, so no file, process or git access is possible. No fetch, no $.model calls, no dynamic code. No npm dependencies; not reviewed beyond the six listed files. The changes since the previous review: version 0.1.2 and the storage key built from a hash of the working directory and session id, with a fallback read of the old key when it is short enough; hash is a local non-cryptographic function in runtime.ts, and no new file, process, network or model access was added.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Made this mod? Add a badge to your README

modsforClaude badge for decision-ledger

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/decision-ledger.svg)](https://modsforclaude.com/mods/decision-ledger/)

← All mods