Project Ledger: Human-in-the-Loop Memory System for AI Coding Agents

A GitHub project called project-ledger provides a human-in-the-loop system for managing what AI coding agents remember about your codebase. The core problem it addresses: agents can't judge what matters—they treat implementation bugs the same as architectural flaws and log what they changed rather than what's important.
How It Works
The system has three main components:
- A YAML ledger with structured entries containing summaries, confidence levels, tags, and cross-references
- A
/ledgerskill that publishes entries and automatically spawns a Haiku auditor to review them cold - A UserPromptSubmit hook that runs TF-IDF search on every prompt and injects matching entries automatically before the agent starts thinking
The hook is critical—without it, you're just writing YAML into the void. As noted in the source: "Agents never go read reference docs unprompted—the hook runs on every prompt, searches the ledger, and injects relevant entries before the agent starts thinking."
Practical Example
The creator describes a real-world use case: weeks after fixing a color rendering issue on an embedded project, they asked an agent "remember what we did where we fixed this before?" The hook surfaced the exact entry about 8-bit quantization crushing color fidelity at low values, including root cause, thresholds, and affected components.
Comparison & Approach
Compared to OpenViking, this system requires manual work but has a simpler architecture: just a YAML file plus a shell hook with no backend. The philosophy is that for projects where insights are hard-won, humans should decide what gets carried forward.
The system is designed to prevent technical debt accumulation as AI agents operate in codebases—each change gets harder to get right without proper context about what matters.
📖 Read the full source: r/ClaudeAI
👀 See Also

Multi-Agent Content Pipeline for Claude Code with Quality Gates
A developer built a six-agent content pipeline for Claude Code that separates research, writing, editing, and SEO tasks with quality gates between stages. The system halts for manual approval before publishing and allows individual agent re-runs.

RelayCode VS Code Extension Routes Claude Code Through Sovereign RDUs
OpenGPU has released RelayCode, a VS Code extension that acts as a local proxy to route Claude Code or Copilot requests through their decentralized network to open-weight models like DeepSeek-R1 and MiniMax M2.5 running on sovereign reconfigurable dataflow units.

ClawCodex /advisor Mode: Pair Cheap Worker with Expensive Reviewer to Cut Costs Without Losing Quality
Open-source Python coding agent ClawCodex adds an /advisor mode that pairs a cheap worker model (e.g., Haiku) with an expensive reviewer (e.g., Opus) at decision points, cutting costs several-fold without sacrificing architectural judgment.

Clarc v1.0: Workflow OS for Claude Code with 63 Agents and 249 Skills
Clarc is a plugin layer for Claude Code that provides 63 specialized subagents, 249 domain skills, and 178 slash commands for development workflows. Installation is via npx with support for multiple editors including Cursor and OpenCode.