logic-guardian

Solid

Protects complex business logic from accidental deletion or overwrite. Use when editing payment, trading, state-machine, or other load-bearing business logic where a single deleted line can cause silent data corruption. Maintains a logic manifest, enforces pre-edit gates, validates post-edit diffs.

AI & Automation 81 stars 23 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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 `cook` or `fix` targets a file listed in `.rune/logic-manifest.json` - Auto-trigger: when `surgeon` plans refactoring on logic-heavy modules - Auto-trigger: when `.rune/logic-manifest.json` exists in project root ## Calls (outbound connections) - `scout` (L2): scan project to discover logic files and extract function signatures - `verification` (L3): run tests after logic edits to confirm no regression - `hallucination-guard` (L3): verify that referenced functions/imports actually exist after edit - `journal` (L3): record logic changes as ADRs for cross-session persistence - `session-bridge` (L3): save manifest state so next session loads it immediately ## Called By (inbound connections) - `cook` (L1): Phase 1.5 — when complex logic project detected, load manifest before planning - `fix` (L2): pr...

Details

Author
Rune-kit
Repository
Rune-kit/rune
Created
5 months ago
Last Updated
4 days ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category