Skip to content

Signals/ Claude & Anthropic/ Reel /

Two AI agents, one file. Collision Guard stops the crash

A custom Claude Code mod pauses an edit when another session touched the same file.

Claude Code mods can turn a custom workflow rule into an interface that appears right when the rule applies. Collision Guard is one example.

Before an Edit, Write or NotebookEdit action, the mod checks whether another session touched the same file in the previous 30 minutes. If it finds a possible conflict, it pauses the write and offers three choices:

  1. Proceed with the edit
  2. Move the work into an isolated git worktree
  3. Cancel the operation

It helps most when several coding agents run in parallel. More sessions mean more chances for one agent to overwrite, undo or confuse another agent’s work. A visible decision gate gives you context and control before the collision happens.

To test it, use a disposable repository. Start two sessions, ask both to change the same file, confirm the second write triggers the warning, choose the worktree route, then inspect both diffs before keeping anything.

The catch: Collision Guard is a custom mod, not a built-in guarantee from Anthropic. Use it as an extra coordination layer alongside version control, checkpoints, worktrees, least-privilege access and sandboxing.

Sources & links 3

  1. YouTube: Video and mod demonstration youtube.com ↗
  2. Anthropic: Enabling Claude Code to work more autonomously anthropic.com ↗
  3. Anthropic: Claude Code sandboxing anthropic.com ↗

More on Claude AI News, AI Agent News

More signals

Reel

Your Most Expensive AI Shouldn't Be the One Typing the Code

One developer made GPT-6.1 Sol the boss and a self-hosted GLM-5.3-Flash the worker inside OpenCode. The boss plans, briefs, reads every change and runs the checks; the worker explores, edits, tests and fixes. Here's the setup in plain English, the four agents, a simplified config, his honest warnings, and our tips for trying a smaller version.

Helps Developers and small teams who pay for an AI coding plan or API and want the expensive model to spend its effort on judgment, plus anyone with a spare GPU curious whether a local model can do the routine coding work

  • AI Coding
  • OpenCode
  • Local AI
Reel

5 New GitHub Repos Where AI Agents Do Wild Things (The Last One Plays Its Own Game)

AI agents that explain their own code, work in a locked room, rewrite training mid-run, build their own exams and play-test their own games. Five day-old repos: setup, first prompts, costs and the catch.

Helps Builders and tinkerers who use AI coding agents, like an indie dev who wants an agent to build and play-test a tiny game

  • GitHub
  • AI Agents
  • Claude Code

Free weekly email

The Weekly Signal

Once a week: the AI news that matters, explained in plain English, with one tool you can try that day. No spam. Unsubscribe any time.

By subscribing you agree to get the weekly email. See our Privacy Policy.