What problem does it solve? AI coding agents routinely destroy complex business logic (payment flows, trading strategies, state machines) by rewriting or deleting code they don't understand, causing silent regressions. This Skill maintains a machine-readable logic manifest and enforces gates so no manifested file is edited blindly. ## Core Features & Use Cases - Logic Manifest Generation: Scans the project for logic-heavy files (state machines, pipelines, validators) and writes .rune/logic-manifest.json with functions, signatures, parameters, and dependencies. - Pre-Edit Gate: Before any edit to a manifested file, forces the agent to display the component spec and explicitly state what will be preserved; blocks the edit if existing functions can't be listed. - Post-Edit Validation: Diffs edited files against the manifest, alerts on removed functions or changed signatures, and runs tests to confirm no regression. - Use Case: When refactoring a trading bot's RSI entry detection module, the Skill loads the manifest, surfaces cross-file invariants from .rune/INVARIANTS.md, and verifies after the edit that no detection function was silently removed. ## Quick Start Ask the agent to run the logic-guardian scan on this project to generate a logic manifest before I refactor the payment state machine.