Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>fixlock by Algotricz — stop AI from undoing your bug fixesNew to Visual Studio Code? Get it now.
fixlock by Algotricz — stop AI from undoing your bug fixes

fixlock by Algotricz — stop AI from undoing your bug fixes

Algotricz

| (0) | Free
See locked bug fixes and features right in the editor, get warned the moment an edit changes one, lock a selection in two clicks, and give Copilot agent mode fixlock's MCP tools so it checks before editing. A product of Algotricz.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

fixlock for VS Code

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. This extension brings those locks into your editor:

  • See what's locked. Locked lines get a lock in the gutter, a subtle highlight and a CodeLens with the lock's id, title and owner.
  • Know why before you change it. Hover a locked line to see why it exists, the linked issue, and who has to approve a change.
  • Get warned while you type. If your edit (or your AI's) changes what locked code does, the lock turns amber and a warning appears in Problems. Reformatting, comments and line wrapping don't count. A variable rename shows as a gentle note.
  • Lock a fix in two clicks. Select the lines, right-click, choose fixlock: Lock selected lines (Ctrl+Alt+L / Cmd+Alt+L), and give a reason.
  • Copilot checks before editing. The extension offers fixlock's MCP tools to GitHub Copilot agent mode, so Copilot asks fixlock before changing locked code.
  • Run the CI check locally. Use fixlock: Check branch against main to see what CI will say before you push.

No Node.js install needed: the extension bundles fixlock and runs it with the editor's own runtime. If your project has @abinandhmj/fixlock installed, that version is used instead, so the editor and CI always agree.

Works in VS Code, Cursor, Windsurf, VSCodium and other VS Code-based editors.

Getting started

  1. Open a git repository.
  2. Run fixlock: Set up fixlock in this repository from the Command Palette. This is the same interactive fixlock init as the CLI: team, roles, policies, hooks and AI assistants.
  3. Select the lines of a fix and run fixlock: Lock selected lines. Commit the .fixlock/ folder.
  4. Add npx fixlock check to CI (CI setup) so a PR that changes a locked fix needs the owner's approval.

Want to see it first? Run fixlock: Run the 60-second demo.

Commands

Command What it does
fixlock: Lock selected lines Lock the selection as a bug fix or feature, with a reason and optional issue
fixlock: Why is this line locked? Show the lock under the cursor
fixlock: Show all locks Search every lock in the repo and jump to it
fixlock: Find past fixes to lock Rank the bug fixes already in your git history and pick which to lock
fixlock: Check branch against main Run the same check as CI
fixlock: Check staged changes Check what you're about to commit
fixlock: Set up fixlock in this repository Interactive fixlock init
fixlock: Connect AI assistants Set up Claude Code, Cursor, Copilot, Codex, Gemini CLI, Windsurf
fixlock: Run the 60-second demo Walkthrough in a throwaway repo

Settings

Setting Default
fixlock.highlightLockedLines true Gutter icon and background on locked lines
fixlock.codeLens true Lock id, title and owner above locked code
fixlock.mcp.enabled true Offer fixlock's MCP tools to Copilot agent mode. Turn off if you already set up .vscode/mcp.json with fixlock setup copilot
fixlock.baseBranch origin/main Base for the branch check
fixlock.cliPath Use a specific bin/fixlock.js

Privacy

The extension reads .fixlock/ in your repository and runs fixlock locally. It sends nothing anywhere and has no telemetry. In untrusted workspaces, locks are shown but no commands or MCP server run.

Links

Docs · GitHub · Issues · MIT licensed

Built and maintained by Algotricz.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft