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.9.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.9.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.9.0
File Actions
fixlock-0.9.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for fixlock-0.9.0-py3-none-win_arm64.whl
fixlock-0.9.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for fixlock-0.9.0-py3-none-win_amd64.whl
fixlock-0.9.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for fixlock-0.9.0-py3-none-musllinux_1_2_x86_64.whl
fixlock-0.9.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for fixlock-0.9.0-py3-none-musllinux_1_2_aarch64.whl
fixlock-0.9.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.9.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
fixlock-0.9.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for fixlock-0.9.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
fixlock-0.9.0-py3-none-macosx_13_0_x86_64.whl Python 3 none macOS 13.0+ x86-64 Details for fixlock-0.9.0-py3-none-macosx_13_0_x86_64.whl
fixlock-0.9.0-py3-none-macosx_13_0_arm64.whl Python 3 none macOS 13.0+ ARM64 Details for fixlock-0.9.0-py3-none-macosx_13_0_arm64.whl
fixlock-0.9.0-py3-none-any.whl Python 3 none any Details for fixlock-0.9.0-py3-none-any.whl

Total release size: 388.4 MB

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

Download URL fixlock-0.9.0-py3-none-win_arm64.whl
Size 49.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
da9f71f9eed2270703cbc27265f1893af11759b2a756e13d2148b614e126cea0
BLAKE2b-256 checksum
How to use checksums
fd4881f84ff4de12ae6d684b8eaa54cdd2f0e745a3cae7b57435e8c16548298c
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 18, 2026.

Transparency log

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

Download URL fixlock-0.9.0-py3-none-win_amd64.whl
Size 54.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
6c292bc67952cd2fb6c38b11b3640025123ac4de1f35c35f731956c912f2cbe6
BLAKE2b-256 checksum
How to use checksums
7a382d638306eaf17cbf5add2da46ef6f75e8c022119f0107df749e0e8ec0533
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 18, 2026.

Transparency log

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

Download URL fixlock-0.9.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
f5e3f8810ace98c44f7f90230580e02b9da457bb6375f05c5fc1a0bc50a3071e
BLAKE2b-256 checksum
How to use checksums
f59180bf6f0e4904e7edc9868b9ef6e514e1504bd1c291192bfc007940b0aabe
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 18, 2026.

Transparency log

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

Download URL fixlock-0.9.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
5df11c2e31d6d5ff75ea6b7bc72515bc58e2a169dd3d76cdfafd5ed44f53131b
BLAKE2b-256 checksum
How to use checksums
abb0d75468e4c8b2ec1fe36dde802a749c0f25ee8c78a72ee485cb8afdf03123
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 18, 2026.

Transparency log

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

Download URL fixlock-0.9.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
02acddf29eda1216318b21f2ee9bfea8416a936ba3ec8acd4203c1b14ea7d257
BLAKE2b-256 checksum
How to use checksums
58d6d7347096b3c561893638af0c31c20f7bb4c372a9e870b790317482bc872c
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 18, 2026.

Transparency log

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

Download URL fixlock-0.9.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
bf49ad96e6d709d601ef1b6a41dc2b4c29433ba63e430641f187c06468ce04be
BLAKE2b-256 checksum
How to use checksums
2436042c5ab36e87d3f8639be906839d4ff7fa94969b86549708ebcb1b7c27bd
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 18, 2026.

Transparency log

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

Download URL fixlock-0.9.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
1d0660de7330d55759e702f29c6d62d091fd6c50349776036deed065eadee1da
BLAKE2b-256 checksum
How to use checksums
52801901faa022a61165f3f9d86cef53d7f8ce1eed743a75e091ade0f17bf98b
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 18, 2026.

Transparency log

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

Download URL fixlock-0.9.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
b061b01b969541b44b53733fb52ebe467e085633ed2d5be4f654e8fdcaf36ef6
BLAKE2b-256 checksum
How to use checksums
e51463e7e465c3ae7277253854d703efc42c667a4ac96e9af245aafc5ef49b87
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 18, 2026.

Transparency log

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

Download URL fixlock-0.9.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82a958832d724b38a55ba053013f8693d5e5dc229e5d6663623726f635fba839
BLAKE2b-256 checksum
How to use checksums
eb9c6bc323bf67711a0c569c78a2d8d1053704e5bb6996cbd609f884c924499c
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 18, 2026.

Transparency log

Security for fixlock 0.9.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.9.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 18, 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