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.7.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.7.1

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

Total release size: 388.4 MB

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

Download URL fixlock-0.7.1-py3-none-win_arm64.whl
Size 49.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
8d6b4c22ecc766cffe2795a5df1647cd33a5c18e637779b1b35e1cd1f5d12977
BLAKE2b-256 checksum
How to use checksums
52446247ba3295e0ca366f7d7adc4110b9e29bd8182ac1c4c3247bfe3e0658a7
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 15, 2026.

Transparency log

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

Download URL fixlock-0.7.1-py3-none-win_amd64.whl
Size 54.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7745bedd73ff062c6d004c592388775bacb0daf65c00b8c91d960a1a325ece33
BLAKE2b-256 checksum
How to use checksums
ebdbc79c9ec4e6e8912b8168e00e86425006c03a2df4c6ca1f5ab4c2fd431d0c
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 15, 2026.

Transparency log

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

Download URL fixlock-0.7.1-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
f1f9b907d41dc74121be0bbd343f956f088296c7706454109485c5b113656c7f
BLAKE2b-256 checksum
How to use checksums
8a23ff5f4347994f3f3bd4f142f76e551bf178448751289fc47717aec83c4979
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 15, 2026.

Transparency log

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

Download URL fixlock-0.7.1-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
022dc6814e02be218898c427183b13b238fdb54c018d527741347b8749910dc5
BLAKE2b-256 checksum
How to use checksums
35b6ec748932d2e7e440556084ba14031b0fbbd98c4750c58321eff9748e2a8c
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 15, 2026.

Transparency log

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

Download URL fixlock-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 51.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f8aea44d1e2124107894fd57e2b062acc4f6a6444041ce16e9ec3d7baff6b157
BLAKE2b-256 checksum
How to use checksums
f9545fff1700d2b75812db2730a321a3216dfaf701976cad8c2d02505fda2803
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 15, 2026.

Transparency log

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

Download URL fixlock-0.7.1-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
df9d2f2dabf99dc7648d1805229ff89f6ad2368216a44a928c9a19950a7c6496
BLAKE2b-256 checksum
How to use checksums
a2850da2b96b63d6e1a094ee1683db34fde726d0c3774403320ada5c01ac436a
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 15, 2026.

Transparency log

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

Download URL fixlock-0.7.1-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
f38273e297361dd2ba53389bfcd3a203f4140e1a316d511f01124db0b2b640f6
BLAKE2b-256 checksum
How to use checksums
5deaa457f24cbac2fc4934e243c1ec7f45703fe49731d7667a9cfc2e3fb05098
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 15, 2026.

Transparency log

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

Download URL fixlock-0.7.1-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
196af60ea5d86ce4b6404ed89a6282e551c53a7428ada0827c28a374bc149bdb
BLAKE2b-256 checksum
How to use checksums
d28c5419435f8092181d6c6bf2122e9d847e1818af007bb30a0c3cd5c969bae0
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 15, 2026.

Transparency log

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

Download URL fixlock-0.7.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f45a886d6839e955051145ce34e637d4b3dfca29bf9d1c19138961f834b0f022
BLAKE2b-256 checksum
How to use checksums
26f6df8ae22d7f65952e232313a1d2121ed838c1bd3e7eac7ee2e57402ed8754
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 15, 2026.

Transparency log

Security for fixlock 0.7.1

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.7.1-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 15, 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.

Release history Release notifications | RSS feed

This release

0.7.1 This release

9 release files Full provenance

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