test-ledger

Reviewed at commit 39335b2

Record likely test, lint, and build commands and their tool status.

Made by
Yash Thakker
What we checked

Watches the Bash commands Claude runs and lists those that look like tests, linting or builds in a pane opened with /test-ledger, with whether the tool call completed, errored or was refused. It only keeps the last 30 in memory, changes nothing, and makes no network calls.

Review details

Static review of the source at the pinned commit; not run. Registers handlers for session.start (registers the /test-ledger command), command.run (opens the pane), tool.call filtered to the Bash tool and ui.render for its own Pane. The tool.call handler first awaits next(e) and returns the result unchanged, so it does not block or modify calls; it matches e.command against a regular expression for test, pytest, vitest, jest, tsc, lint or build and keeps the command (cut to 240 characters) and a status in a module array of up to 30 entries, then invalidates the pane. Commands are kept only in memory and shown in the pane, which could include secrets if they appear in a matching command line. No file access, no network calls, no process execution, no store use. ui.js only builds UI elements. No npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • 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: no
  • Shows something on screen: yes
Hooked events
Screenshot of test-ledger
Made this mod? Add a badge to your README

modsforClaude badge for test-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/test-ledger.svg)](https://modsforclaude.com/mods/test-ledger/)

← All mods