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

Total release size: 388.4 MB

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

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

Transparency log

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

Download URL fixlock-0.10.0-py3-none-win_amd64.whl
Size 54.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3f9e1bbb112791f47b1924f5d7fcfed0ee5adb9638e63c2fc78c22fdd30a3b10
BLAKE2b-256 checksum
How to use checksums
cb277331010675a0cf1bbd68bbdae44664a9dea95852f2f89dccb5d57ebab7b8
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 19, 2026.

Transparency log

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

Download URL fixlock-0.10.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
49b256e6cd53fdfd933b5f2c0992454545532e05053580bb5df2b99aa7af7ce8
BLAKE2b-256 checksum
How to use checksums
bb536a6744575f236bce5b6c3a9b44d3b89d18508852cac1989c67f0fdbc19e7
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 19, 2026.

Transparency log

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

Download URL fixlock-0.10.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
f52345597c4c6adb7d8c069a05ffd55e648adba8932d7d1a4a8d202e1f2b2b8c
BLAKE2b-256 checksum
How to use checksums
9a4fe115547ea02bbfb5208406247c1bacb5820261b30fa82e1c439136eb0f44
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 19, 2026.

Transparency log

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

Download URL fixlock-0.10.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
96452d986f0c3d54d7cd948c3551d7c9d666a44fa340f4c81440c21914fd00a3
BLAKE2b-256 checksum
How to use checksums
cd7c81250b5525d302c017f0382a3d0a2a9adb2857904333c5b28eb444abbc06
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 19, 2026.

Transparency log

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

Download URL fixlock-0.10.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
3de33e1961a1cfa653891211fa18e4d25ca06aa2890546edd452bd4b4858fe7a
BLAKE2b-256 checksum
How to use checksums
ad29bb603a57283824eaffdd7a42c7d02000949a346cec4b924190435f383789
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 19, 2026.

Transparency log

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

Download URL fixlock-0.10.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
ff834ca3937ec87269d452ecfb02a21b5ca6fe2c473496a3b5df996836e690c5
BLAKE2b-256 checksum
How to use checksums
e3153ad0be47c83dd7f9d4aac99fd20a6f8c6f2acf46394e6fb49d971884b1cc
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 19, 2026.

Transparency log

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

Download URL fixlock-0.10.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
8954b8c0022459079bf266a3eb5a60804c01a920bfca74d323c11568379c5b1b
BLAKE2b-256 checksum
How to use checksums
510705ba89f8d264bd170dc20e0618d4539f795d2c9248fc2d3e6756de2c9411
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 19, 2026.

Transparency log

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

Download URL fixlock-0.10.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e520ee1e60af78a4ed3d9a9ca26e44653bc92487a26581a0707ce54b90557b73
BLAKE2b-256 checksum
How to use checksums
272fc5dc9fffb1ea6531f4b13b4c45a6116b543728b4fb76d2595f7e83ea5485
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 19, 2026.

Transparency log

Security for fixlock 0.10.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.10.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 19, 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