command-code-mods
A monorepo of Command Code mods — the self-improving learning loop, structured planning, persistence, and verified-momentum automation.
Seven standalone-installable TypeScript mods compose one workflow, each owning exactly one job: command-center (structured plan briefing and review), quality-guards (advisory behavioral guardrails), self-repair (the only completion judge), autopilot (bounded follow-through on verified verdicts), memory-bank (gated durable project memory), learn-loop (an autonomous skills manager that seeds, shadow-trials, and promotes skills), and cache-tracker (prompt-cache observability without changing the measured prompt). The cross-mod contract is a synchronous event schema, not shared code. MIT licensed.
Why it matters
Agent scaffolding is usually prompt folklore. command-code-mods turns it into a state machine with one referee: self-repair is the sole completion judge, autopilot only gets initiative after a verified verdict, and every autonomous move lands in a receipts log. Verification first, momentum second.
The pipeline
Intent → safety → truth → follow-through → memory → learning. Each mod is useless without the previous one and installable without the others — duplicated tables across mods are deliberate, so the contract stays the event schema. A mechanical script (scripts/check-contracts.mjs) checks the cross-mod contract.
Repo facts
Public, MIT licensed, seven TypeScript mods plus the contract checker. This page describes only what the public repository contains — the README remains the source of truth for install commands, flags, and the event contract.