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

Total release size: 388.4 MB

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

Download URL fixlock-0.7.0-py3-none-win_arm64.whl
Size 49.4 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
0e5125b44dd8c86de746fc59dfdf17f59e4bbe052b4aba489af6053af885e8ee
BLAKE2b-256 checksum
How to use checksums
189ed2433ad3ffb36f59daa928069533924abd12e201bdb53a7e9977023f6010
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.0-py3-none-win_amd64.whl

Download URL fixlock-0.7.0-py3-none-win_amd64.whl
Size 54.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e5b2c6aba9f45a1064df85dd5964d706eef97e1be75fc0d759ddb874e0432b6f
BLAKE2b-256 checksum
How to use checksums
b9ad942011b00a7755c5c064ceb2530bb3e86c93cd676883884b4b85f99182b2
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.0-py3-none-musllinux_1_2_x86_64.whl

Download URL fixlock-0.7.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
287878603295ccbce0fb401b9ce59177bdbab66f69a4abf82ed5f87763c95d6e
BLAKE2b-256 checksum
How to use checksums
a9e9bb5a87eb167e908251be821d2466c36294b9dfe7be879898e2f763b3258f
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.0-py3-none-musllinux_1_2_aarch64.whl

Download URL fixlock-0.7.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
5c52b6cd85b8bc8c3765d3cd4cca0885a1ed6b58b50318ede250b130d3e55da0
BLAKE2b-256 checksum
How to use checksums
7d20313003799d3a9d4059f02fa706aa30484b4afe61e52816444d2149f39c9c
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.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL fixlock-0.7.0-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
e14f7f5ebc1562a59223ad1560c0ed60dbdb341e8b8de576b77a30b056b99810
BLAKE2b-256 checksum
How to use checksums
2c303397117a8a81934c8aa90c9720780796a4e311a4d7b624cd58d01a84d4d1
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.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL fixlock-0.7.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
ec96d741c1021a1f7512d80c4f4ff062b0deb1ed3597410416ba4cc074252f4d
BLAKE2b-256 checksum
How to use checksums
ec4aa9822a8baee4407630af74b3749b1d4082573fb1c8d07760d7201f2c7774
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.0-py3-none-macosx_13_0_x86_64.whl

Download URL fixlock-0.7.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
ffa77d871abed9071d35459a66621fd6bd44ce7fa40729430a725c2bbac8d9ec
BLAKE2b-256 checksum
How to use checksums
2fe9421343f54bdb120e432908c310d8cf43ab10dd51f44ae4a41bd413b28bf1
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.0-py3-none-macosx_13_0_arm64.whl

Download URL fixlock-0.7.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
fde375b6d60418a13891fa3d9479d48cd79c3ec27c45218e3a427471481f13c0
BLAKE2b-256 checksum
How to use checksums
3df3667e086080ec990c51054ab509262dda76bba84b81580808e792ede4e773
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.0-py3-none-any.whl

Download URL fixlock-0.7.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fcbe3ddf92c665d3ca733d0dd0fdc491c2d5bf2ca4988e1a5ccc7b047873dc07
BLAKE2b-256 checksum
How to use checksums
40fbb8b8280f7d447ff7cee4137928e2ca0c8172bf817bbee9be76ad4c9014ec
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.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.7.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 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.0 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