klasp 0.0.0

Placeholder for klasp — block AI coding agents on the same quality gates your humans hit. See https://github.com/klasp-dev/klasp
klasp-0.0.0 is not a library.
Visit the last successful build: klasp-0.4.0

klasp

klasp.dev · crates.io · npm · PyPI · GitHub

Block AI coding agents (Claude Code, Cursor, Codex, Aider) on the same quality gates your humans hit at git commit.

Status: name-reservation placeholder. The 0.0.0 publish on each registry exists only to claim the name. The v0.1 implementation is in design. Star to follow.

What klasp will be

One gates.yaml, one klasp install, and every agent-initiated git commit and git push runs through pre-commit, fallow, your test suite, or any shell command — blocking on failure exactly like a human's git hook would.

# gates.yaml
version: 1
agents: auto                # detect Claude Code, Cursor, Codex, Aider
gates:
  - id: pre-commit
    triggers: [git_commit]
    run: pre-commit run --hook-stage pre-commit --from-ref {base} --to-ref HEAD
  - id: fallow
    triggers: [git_commit, git_push]
    run: fallow audit --base {base} --quiet
    when: exists('.fallowrc.json')

Distribution layout

Package Path Purpose
Rust crate ./ (root) Canonical implementation
npm wrapper ./npm/ Distributes the binary to Node ecosystems
PyPI wrapper ./pypi/ Distributes the binary to Python ecosystems

License

Apache-2.0