Tools

Slopgate

Checks coding-agent changes against project rules before they are committed.

Reading preferences only; independent of subscription tiers. No installation or permission changes.

Pro technical reference
Inspect: Slopgate · Tool identity

Summary

Checks coding-agent changes against project rules before they are committed. Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

Details

Object ID
slopgate
Documented version
0.3.4
Documented platforms
Unavailable in reviewed manifest
Disclosed owner
Spargax
License
Unavailable in reviewed manifest

Evidence

Reviewed source
https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
Reviewed source commit
a181cac5a75172b24e82f637e9f2827bfe1eab03
README blob
b1ec90e91cac0c0a889da9a28619200d920c04fe
Source verification date
2026-09-13T14:25:46Z
Evidence
Static reviewed evidence; current upstream and local state unavailable
Reviewed source
Inspect: Slopgate · Release reference

Summary

Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

Details

Object ID
slopgate
Documented version
0.3.4
Documented platforms
Unavailable in reviewed manifest
Artifact URL
Unavailable in reviewed manifest
Artifact type
Unavailable in reviewed manifest
Artifact platform
Unavailable in reviewed manifest
SHA-256 checksum
Unavailable in reviewed manifest

Evidence

Reviewed source
https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
Reviewed source commit
a181cac5a75172b24e82f637e9f2827bfe1eab03
README blob
b1ec90e91cac0c0a889da9a28619200d920c04fe
Source verification date
2026-09-13T14:25:46Z
Evidence
Static reviewed evidence; current upstream and local state unavailable
Reviewed source

The problem it solves

Your coding agent fixes one problem, then reintroduces the same unsafe cast, empty error handler or forbidden import in the next change. Slopgate turns project rules into repeatable checks after edits and before commits, so you do not have to repeat the same review comments in every chat.

Ways to use it

  • Catch repeated unsafe casts

    Enable the as-any rule pack. When an agent adds an unsafe cast, the fast check points to that file and rule; fix the type or validation before continuing.

  • Adopt checks in an older app

    Review an initial ratchet baseline for existing violations. New violations block later commits while the recorded older debt can be fixed gradually; do not keep updating the baseline to absorb regressions.

  • Keep UI code away from database modules

    Add a project-owned dependency-cruiser boundary. The commit-tier check can then report an import that crosses that boundary rather than relying on a written instruction alone.

Before you start

  • A Git repository and Node.js 18 or newer with npm.

    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-requirement-1
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    A Git repository and Node.js 18 or newer with npm.

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  • Permission to install the CLI and add project-local Git/Claude Code hooks.

    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-requirement-2
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    Permission to install the CLI and add project-local Git/Claude Code hooks.

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  • Project-specific checker dependencies for the checks you enable; the package includes its native engine and pinned ast-grep.

    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-requirement-3
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    Project-specific checker dependencies for the checks you enable; the package includes its native engine and pinned ast-grep.

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source

Install and set up

  1. Install the documented release

    Run in a terminal with Node/npm available. The current documented release is 0.3.4; a Rust toolchain is not needed for the packaged engine.

    npm install -g @alexcodeplace/slopgate@0.3.4
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-installation-1
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    npm install -g @alexcodeplace/slopgate@0.3.4

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  2. Initialize the target project

    From the repository root, initialize Slopgate. Review the generated .slopgate configuration and hook changes before accepting them.

    slopgate init .
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-installation-2
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate init .

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  3. Review the initial baseline

    Only after reviewing the current violations, create the initial baseline. The command refuses to overwrite an existing one; updating a baseline is a separate deliberate decision.

    slopgate baseline --config .slopgate/config.toml
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-installation-3
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate baseline --config .slopgate/config.toml

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source

Use it in your project

  1. Check a changed file

    Replace src/app.ts with your own source file. The fast tier gives focused feedback without running every heavyweight project checker.

    slopgate --file src/app.ts --config .slopgate/config.toml
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-usage-1
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate --file src/app.ts --config .slopgate/config.toml

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  2. Check the staged change

    Stage only the files you intend to commit, then run the gate. Exit 0 means the configured checks passed, 1 reports blocking findings, and 2 requires configuration or AST-runtime repair.

    slopgate --staged --config .slopgate/config.toml
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-usage-2
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate --staged --config .slopgate/config.toml

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  3. Reduce old debt without accepting new debt

    After fixing existing violations, prune resolved fingerprints. This writes the baseline; it is not a dry run and does not accept new violations.

    slopgate baseline --prune --config .slopgate/config.toml
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-usage-3
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate baseline --prune --config .slopgate/config.toml

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source

What success looks like

A small test change produces a file/rule report, and fixing it lets the configured gate pass. Read skipped-checker notices: a missing optional checker did not validate your code.

Recovery and removal

If verification fails, stop and compare the current README with the existing configuration. Preserve files, hooks, sessions and data. Ask your setup agent for a rollback limited to its changes; confirm any deletion or resource removal separately.

Pro technical reference

Slopgate runs project-owned checks through fast and staged tiers. Configuration and the ratchet baseline belong to the repository; pruning writes that baseline and does not accept new violations.

  • Install the documented release

    Run in a terminal with Node/npm available. The current documented release is 0.3.4; a Rust toolchain is not needed for the packaged engine.

    npm install -g @alexcodeplace/slopgate@0.3.4
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-pro-installation-1
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    npm install -g @alexcodeplace/slopgate@0.3.4

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  • Initialize the target project

    From the repository root, initialize Slopgate. Review the generated .slopgate configuration and hook changes before accepting them.

    slopgate init .
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-pro-installation-2
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate init .

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  • Review the initial baseline

    Only after reviewing the current violations, create the initial baseline. The command refuses to overwrite an existing one; updating a baseline is a separate deliberate decision.

    slopgate baseline --config .slopgate/config.toml
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-pro-installation-3
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate baseline --config .slopgate/config.toml

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  • Check a changed file

    Replace src/app.ts with your own source file. The fast tier gives focused feedback without running every heavyweight project checker.

    slopgate --file src/app.ts --config .slopgate/config.toml
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-pro-usage-1
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate --file src/app.ts --config .slopgate/config.toml

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  • Check the staged change

    Stage only the files you intend to commit, then run the gate. Exit 0 means the configured checks passed, 1 reports blocking findings, and 2 requires configuration or AST-runtime repair.

    slopgate --staged --config .slopgate/config.toml
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-pro-usage-2
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate --staged --config .slopgate/config.toml

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
  • Reduce old debt without accepting new debt

    After fixing existing violations, prune resolved fingerprints. This writes the baseline; it is not a dry run and does not accept new violations.

    slopgate baseline --prune --config .slopgate/config.toml
    Inspect: Slopgate · Documentation example

    Summary

    Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

    Details

    Object ID
    slopgate-pro-usage-3
    Documented version
    0.3.4
    Documented platforms
    Unavailable in reviewed manifest
    Authored documentation/example only
    slopgate baseline --prune --config .slopgate/config.toml

    Evidence

    Reviewed source
    https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
    Reviewed source commit
    a181cac5a75172b24e82f637e9f2827bfe1eab03
    README blob
    b1ec90e91cac0c0a889da9a28619200d920c04fe
    Source verification date
    2026-09-13T14:25:46Z
    Evidence
    Static reviewed evidence; current upstream and local state unavailable
    Reviewed source
Reviewed source README

Ask your agent to set it up

Copy this into a coding agent that can access your environment. The prompt asks it to check the current instructions and verify the setup before calling it done.

You can also select and copy the text directly.

Inspect: Slopgate · Setup prompt template

Summary

Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

Details

Object ID
slopgate-prompt-regular
Documented version
0.3.4
Documented platforms
Unavailable in reviewed manifest
Template source
src/lib/tool-guides.ts:toolSetupPrompt/v2
Documentation experience
regular
Deliberately selected public options
None
Instruction scope
Environment check, current README, preservation, required approvals, verification and rollback

Evidence

Reviewed source
https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
Reviewed source commit
a181cac5a75172b24e82f637e9f2827bfe1eab03
README blob
b1ec90e91cac0c0a889da9a28619200d920c04fe
Source verification date
2026-09-13T14:25:46Z
Evidence
Static reviewed evidence; current upstream and local state unavailable
Reviewed source
Pro: Ask your agent to set it up

You can also select and copy the text directly.

Inspect: Slopgate · Setup prompt template

Summary

Public documentation snapshot; not your local configuration. Opening this panel does not inspect your computer or refresh upstream sources.

Details

Object ID
slopgate-prompt-pro
Documented version
0.3.4
Documented platforms
Unavailable in reviewed manifest
Template source
src/lib/tool-guides.ts:toolSetupPrompt/v2
Documentation experience
pro
Deliberately selected public options
None
Instruction scope
Environment check, current README, preservation, required approvals, verification and rollback

Evidence

Reviewed source
https://github.com/alexcodeplace/slopgate/blob/a181cac5a75172b24e82f637e9f2827bfe1eab03/README.md
Reviewed source commit
a181cac5a75172b24e82f637e9f2827bfe1eab03
README blob
b1ec90e91cac0c0a889da9a28619200d920c04fe
Source verification date
2026-09-13T14:25:46Z
Evidence
Static reviewed evidence; current upstream and local state unavailable
Reviewed source

What to know first

A rule-based check is not a guarantee that an app is correct or secure. Some checks need project-specific tools.

Current project README