let me speak to the diff.

A standalone compatibility guard catching collateral regressions before your agent ships.

default
off until called
levels
mild, full, hoa
deps
0 runtime packages

three levels, zero theater

Stands alone in Pi, Claude Code, or Codex. Every level demands receipts.

/karen mild

report only

Builds as asked, flags bystander breaks in a short note, lets you decide.

/karen full

guard and fix

Default when active. Checks 1-2 highest-risk bystanders and applies the smallest fix.

/karen hoa

strict board

Checks all direct callers up front, flags avoidable friction, requires executed checks.

real catches, and when to stay quiet

Findings need a caller, receipt, and proof. Clean diffs and authorized changes get zero complaints.

without karen
export function resolveTimeout(opts) {
  const ms = opts.timeoutMs || 5000;
  return ms;
}

Omitted values pass; callers passing 0 silently get a 5s cutoff.

with karen
receipt
JSDoc promises 0 disables timeouts.
fix
Use ??: opts.timeoutMs ?? 5000 plus one test for 0.

Impact: timeoutMs = 0 preserved (unit test passed).

eight rules, no persona

The joke stays on the logo. Read the full docs or the benchmark cases.

  1. 01 scope to 1-2 bystanders Start with 1-2 highest-risk reachable uses. Expand only on evidence.
  2. 02 require a receipt Cite a doc, type, test, or supported use. Old code never protects known bugs.
  3. 03 prove it or drop it Concrete input, expected vs. observed behavior. No hypothetical lists.
  4. 04 smallest contract fix Judge adapters, retries, and fallbacks by behavior, not syntax.
  5. 05 ownership is not permission Small owner fixes are fine; unrequested refactors and migrations need approval.
  6. 06 protect real safeguards Never weaken security, safety, validation, or accessibility. Ignore formatting taste.
  7. 07 reuse checks Add only the smallest missing coverage. Review-only requests make no edits.
  8. 08 zero findings is valid Close completed work with one merged Impact: line.

off until you call it

Works standalone in Pi, Claude Code, or Codex. Silent until called.

// ~/.pi/agent/settings.json
{
  "packages": ["git:github.com/nicknisi/karen"]
}
command behavior
/karen mild Report bystander regressions, let you decide
/karen full Default active guard and smallest fix
/karen hoa Strict caller audit and executed proof
/karen-review Read-only diff check without editing
/karen off Disable guard and clear prompt section