Skip to main content

fixlock

Stop AI coding assistants (and teammates) from silently undoing your bug fixes. A product of Algotricz.

fixlock locks the lines that hold a bug fix or a finished feature, each with an owner and a reason. When an AI assistant or a teammate changes what that code does, fixlock asks first in the editor, warns at commit time, and fails the pull request until the owner approves. Reformatting, comments and renames don't count; flipped conditions, changed values and deleted checks do.

It works with any language: Python, Go, Java, Kotlin, Rust, C#, TypeScript, PHP, Ruby, SQL, Terraform, YAML, Django/Jinja templates and 63 languages and formats in all.

Install

pipx install fixlock        # or: uv tool install fixlock   ·   pip install fixlock

This installs a native fixlock command. Node.js isn't needed: wheels include a standalone binary for Linux (x86-64, ARM64, glibc and musl), macOS 13+ (Intel and Apple Silicon) and Windows (x64, ARM64).

Use

cd your-repo
fixlock init                 # team, policies, git + AI-assistant hooks
fixlock discover             # find the bug fixes already in your git history and lock them
fixlock mark app/billing.py 42-48 -m "never charge twice on retry"
fixlock check --base origin/main   # what CI will say

fixlock init connects Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI and Windsurf, so they check a lock before editing.

In CI, use the GitHub Action (uses: AbinandhMJ/fixlock@v0.8.0) or run fixlock check after pip install fixlock.

With pre-commit:

repos:
  - repo: local
    hooks:
      - id: fixlock
        name: fixlock
        language: python
        additional_dependencies: [fixlock]
        entry: fixlock check --staged
        pass_filenames: false
        always_run: true

How accurate is it?

On 764 real fixes from 11 open-source projects in 11 languages, harmless edits (Black, Prettier, gofmt, comments, line wrapping) were flagged 0% of the time, and 99.9% of harmful edits were caught. See the benchmark.

Docs: https://abinandhmj.github.io/fixlock/ · Source: https://github.com/AbinandhMJ/fixlock · MIT licensed. Also on npm as @abinandhmj/fixlock.

Metadata

Release files for fixlock 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for fixlock 0.8.0
File Actions
fixlock-0.8.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for fixlock-0.8.0-py3-none-win_arm64.whl
fixlock-0.8.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for fixlock-0.8.0-py3-none-win_amd64.whl
fixlock-0.8.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for fixlock-0.8.0-py3-none-musllinux_1_2_x86_64.whl
fixlock-0.8.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for fixlock-0.8.0-py3-none-musllinux_1_2_aarch64.whl
fixlock-0.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for fixlock-0.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
fixlock-0.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for fixlock-0.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
fixlock-0.8.0-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for fixlock-0.8.0-py3-none-macosx_13_0_x86_64.whl
fixlock-0.8.0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for fixlock-0.8.0-py3-none-macosx_13_0_arm64.whl
fixlock-0.8.0-py3-none-any.whl Python 3 none any Details for fixlock-0.8.0-py3-none-any.whl

Total release size: 388.4 MB

Release files / fixlock-0.8.0-py3-none-win_arm64.whl

Download URL fixlock-0.8.0-py3-none-win_arm64.whl
Size 49.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
0aa50216575d8696cc8a8eceda94b45d38ace123e0005a2ca7dd1a26387a74a7
BLAKE2b-256 checksum
How to use checksums
4d9e8919968f6314c0ef81f03da4c026b2e7fd03cc7004e577e0a94e8e27a279
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / fixlock-0.8.0-py3-none-win_amd64.whl

Download URL fixlock-0.8.0-py3-none-win_amd64.whl
Size 54.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
2508cac785eee3224dfff184d546e0576d5e2062134812786b1daaa656c7c2ec
BLAKE2b-256 checksum
How to use checksums
6a0fe5fcbde393f633e30ab8b3bc0d40cbd24e5fe85da7d953915815fd13cf73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / fixlock-0.8.0-py3-none-musllinux_1_2_x86_64.whl

Download URL fixlock-0.8.0-py3-none-musllinux_1_2_x86_64.whl
Size 48.3 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a0406ba35dcd35dc12866fdd6595e24294477245406f1f6af8b483d0fc428944
BLAKE2b-256 checksum
How to use checksums
b66585005b5f7ad540538590440f91e601be65848dd9249bf1c3e17ee2c69e38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / fixlock-0.8.0-py3-none-musllinux_1_2_aarch64.whl

Download URL fixlock-0.8.0-py3-none-musllinux_1_2_aarch64.whl
Size 47.9 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
65f7e7d770a6eb041e09e568003d4c773b165e8fb7c4d9e0707304820e8746aa
BLAKE2b-256 checksum
How to use checksums
51248013153ea73962900b48c236f8d45d4d32de864bebbabfdf8603bf8e3ffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / fixlock-0.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fixlock-0.8.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 51.9 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
26bcfdb7591212ecd345c1eac9702a1dc022538bb248ec1c4b43574544ec289e
BLAKE2b-256 checksum
How to use checksums
aaa1bd3873aab9d521e0e2ca5c66c77cc210a38ac49a90ba08e4c97585f4cd56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / fixlock-0.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL fixlock-0.8.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 51.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
54f8dfe19b0f15b2fccbe21e27923df7aa2addb4335769f7fa3ba740fea61796
BLAKE2b-256 checksum
How to use checksums
bcd67f9d0f62ea4303b165eec034c698f0eb7a596b3647ced399cf550205929c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / fixlock-0.8.0-py3-none-macosx_13_0_x86_64.whl

Download URL fixlock-0.8.0-py3-none-macosx_13_0_x86_64.whl
Size 43.5 MB
Tags Python 3 macOS 13.0+ x86-64
SHA-256 checksum
How to use checksums
041c9b54f9611e788fdcbc1b5699ef43fc3ac3d1ea1482e16a5744a0611aaa2f
BLAKE2b-256 checksum
How to use checksums
b5b67d4b49a9fb82f49af3a592b7ecbe1f4fb399cacd132bc427d021674b5ed9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / fixlock-0.8.0-py3-none-macosx_13_0_arm64.whl

Download URL fixlock-0.8.0-py3-none-macosx_13_0_arm64.whl
Size 40.9 MB
Tags Python 3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
9c665d341b4d75d80a7e195f7040574e1d475365a82cc2884c484449e55d6b75
BLAKE2b-256 checksum
How to use checksums
90aca0e3bbc150033abaa1313b436b9d0e29a9b30d71f48e242ebd3604ed717e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / fixlock-0.8.0-py3-none-any.whl

Download URL fixlock-0.8.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0a935ec9ab8a47912479cbf158228568d883af07e9401f1c015a26649adf040
BLAKE2b-256 checksum
How to use checksums
3912dcf81569ca0bcb6fc51d7354941c6ee0649efcb2b20ce8d5f885902aa53c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for fixlock 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 9 files in this release have been uploaded with provenance metadata.

Select from 9 files

Attestation for fixlock-0.8.0-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page