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 86 stars 26 forks Updated 3 weeks ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
65
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
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
6 months ago
Last Updated
3 weeks ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

garelier-guardian

Garelier-only: fire in a `__garelier/<pm_id>/` project or on explicit Garelier/guardian invocation, not on generic security / license / dependency wording. The security / privacy / dependency / license / provenance GATE for a Garelier merge or promote — diff scan for leaked secrets / tokens / private keys / credentials, customer data or PII, real data in fixtures or logs, vulnerable or malicious dependencies, forbidden or unknown licenses, copyright/provenance risk in curated knowledge, or dangerous auth / crypto / logging / CI / deploy / infra / migration changes. Commit-free on an ephemeral gavel branch; reads Librarian security/ knowledge; emits verdict PASS / PASS_WITH_NOTES / BLOCK / NO_OPINION; gates, never fixes. Also fires on gavel / preflight / delta gate / final gate / redact. Requires garelier-core.

0 Updated 4 days ago
aby-studio-works
Code & Development Listed

writing-checks

Build the machinery that enforces a convention instead of documenting it — PreToolUse guards that block an action before it runs, CI gates that judge the worktree, selftests that prove a check can turn red, and structural tests that enforce layering. Use this whenever a rule keeps getting violated despite being written down, whenever adding a lint/check/CI step, whenever asked to enforce architecture boundaries or protect a branch or stop a destructive command, and whenever a check exists but nobody has ever seen it fail.

3 Updated 1 weeks ago
WangChangxin0809