Logic Lens

Logic Lens from hyhmrright/logic-lens.

by @hyhmrright 6 skills

Skills in this plugin

6
  1. Logic Diff · hyhmrright bundle
    Compare two code versions for semantic equivalence via semi-formal tracing of both versions side-by-side.
    1 install
  2. Logic Health · hyhmrright bundle
    Sweep a directory, module, or full codebase for logic correctness and produce a scored health dashboard with systemic patterns. Trigger when the user requests a health view — "audit the whole codebase", "health check", "health overview", "logic health overview", "audit src/", "audit auth and payments modules", "where should I focus testing", "onboarding review", "logic overview before we ship", "give me a health overview of this module". SCOPE RULE: prefer multi-file; also trigger for a single module when the user explicitly uses "health check", "health overview", or "logic health" — a concrete failure uses logic-locate; two versions uses logic-diff; explaining a path uses logic-explain; "fix everything" uses logic-fix-all. Do NOT trigger for: style/architecture-only audits, security-only scans, performance-only audits.
    1 install
  3. Logic Locate · hyhmrright bundle
    Locate the root cause of a CONFIRMED failure via backward-then-forward semi-formal tracing.
    1 install
  4. Logic Review · hyhmrright bundle
    Find logic bugs in a single file or function via semi-formal execution tracing (Premises → Trace → Divergence → Trigger → Remedy).
    1 install
  5. Logic Explain · hyhmrright bundle
    Explain what a specific piece of code actually does for a given input by producing a step-by-step execution trace (interprocedural, with name resolution and type transitions).
    1 install
  6. Logic Fix All · hyhmrright bundle
    Autonomous repository-wide audit-and-fix pipeline: health → review → locate/explain → fix → diff-verify → iterate until clean. Starts with a mandatory consent prompt (token-intensive); after consent runs hands-free.
    1 install