---
title: "check-ledger"
url: "https://claudemods.dev/ko/builds/check-ledger-7b985d"
source: "https://github.com/LeeHigma0201/claude-code-mods/tree/main/mods/check-ledger"
source_type: "github"
repo: "https://github.com/LeeHigma0201/claude-code-mods/tree/main/mods/check-ledger"
author: "LeeHigma0201"
author_handle: "LeeHigma0201"
stars: 3
category: "개발 및 디버깅"
categories: ["debug"]
tags: ["evidence", "hooks", "observability", "status-line", "testing", "verification"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add LeeHigma0201/claude-code-mods\nclaude plugin install check-ledger"
added: "2026-10-05T17:00:04.823Z"
updated: "2026-10-01T21:48:43Z"
locale: "ko"
content_locale: "ko"
---

# check-ledger

실제로 실행한 검사와 그 후 변경된 파일을 기록합니다. 상태 줄, /evidence, 테스트했다고 주장하기 전에 Claude가 읽는 증거 도구를 제공합니다.

## Description

CLAUDE.md 상태 주장의 근거가 되는 증거를 추적하는 Claude Code mod입니다. Bash와 편집 도구 호출을 감시해 실제 검사（테스트, 타입 검사기, 빌드, linter, validator, plugin test/validate）와 해당하지 않는 호출을 구분한 뒤 `✓ pnpm run typecheck · 2 files unchecked` 또는 `✗ pnpm test` 같은 간결한 상태 줄을 보고합니다. `/evidence` 명령은 최근 10개의 검사, 마지막으로 통과한 검사 후 편집된 파일, 그리고 원장이 뒷받침하는 가장 강한 상태 단어（`tested`와 `implemented locally`）를 보여 줍니다. `mcp__check-ledger__evidence` 도구는 같은 보고서를 모델에 노출하지만 로컬 리스너가 필요합니다. 거부되면 한 줄을 기록하며 상태 줄과 `/evidence`는 계속 작동합니다. `claude plugin test .`로 실행할 수 있는 테스트 3개가 포함되어 있습니다.

## Install

```
claude plugin marketplace add LeeHigma0201/claude-code-mods
claude plugin install check-ledger
```

## Original README

# check-ledger

Keeps the evidence behind the CLAUDE.md status words: which real checks ran, whether they passed, and which
files changed after the last pass.

- **Real check** means the repo's tests, type-checker, build, linter or validator: `pnpm test|typecheck|build|lint`,
  `vitest`, `jest`, `pytest`, `tsc`, `cargo`/`go`/`swift` test/build, `eslint`, `claude plugin test|validate`,
  and similar. Syntax-only checks (`bash -n`, `node --check`, `json.tool`), `--help` and `--version` don't count.
  The outcome comes from the Bash call's own error flag.
- **Status line:** `✓ pnpm run typecheck · 2 files unchecked`, or `✗ pnpm test`.
- **`/evidence`**: the last 10 checks, the files edited after the last passing check, and the strongest word
  the ledger supports: `tested` (every edit has a passing check after it) or `implemented locally`.
- **`evidence` tool** (`mcp__check-ledger__evidence`): the same report for Claude to read before it says
  "tested". The tool needs a local listener. Where that is refused (a sandboxed launch) it logs one line,
  and `/evidence` and the status line still work.

Limits: the ledger lives in the module and restarts on a reload or a new session. It only sees calls made
in this session, including its subagents. It observes; it never blocks or changes a call.

Hooks: `session.start`, `tool.call` (Bash and edit tools, passed through unchanged), `command.run`. Calls:
`$.command.register`, `$.tool.register`, `$.ui.status`, `$.ui.log`, `$.clock.now`.

Test: `claude plugin test .` (3 tests).
