logic-guardian
Installation
SKILL.md
logic-guardian
Purpose
Complex projects (trading bots, payment systems, game engines, state machines) contain interconnected logic that AI agents routinely destroy by accident. The pattern is always the same: new session starts, agent doesn't know existing logic, rewrites or deletes working code, project regresses. logic-guardian breaks this cycle by maintaining a machine-readable logic manifest, enforcing a pre-edit gate on logic files, and validating that edits don't silently remove existing logic. It is the "institutional memory" for business logic.
Triggers
/rune logic-guardian— manual invocation (scan project, generate/update manifest)- Auto-trigger: when
cookorfixtargets a file listed in.rune/logic-manifest.json - Auto-trigger: when
surgeonplans refactoring on logic-heavy modules - Auto-trigger: when
.rune/logic-manifest.jsonexists in project root