---
title: "Discussion on \"Six ways to stop AIs from overwriting each other in a shared repo\" | Hashnode"
description: "Discussion on \"Six ways to stop AIs from overwriting each other in a shared repo\". Six practical ways to keep several people's AIs from overwriting each other on one project: intent, reservations, collision warnings and more."
url: "https://hashnode.com/posts/six-ways-to-stop-ais-from-overwriting-each-other-in-a-shared-repo/6b11a9c4020c0cc850663c86"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Six ways to stop AIs from overwriting each other in a shared repo](https://coopwork.hashnode.dev/six-ways-to-stop-ais-from-overwriting-each-other-in-a-shared-repo?utm_source=hashnode&utm_medium=feed)

Six practical ways to keep several people's AIs from overwriting each other on one project: intent, reservations, collision warnings and more.

16h ago · 5 min read · coopwork.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#mcp](https://hashnode.com/tag/mcp)
-   [#claude](https://hashnode.com/tag/claude)
-   [#collaboration](https://hashnode.com/tag/collaboration)

## Written by

[Antonio](https://hashnode.com/@coopwork)

@coopwork · Spain

  
[View profile](https://hashnode.com/@coopwork)

Building Coop, a shared workspace where each teammate works with their own AI

I build Coop (https://coopwork.ai), a shared workspace where each person on a team works with their own AI: Claude, ChatGPT, Claude Code or any MCP client. I write about MCP servers and AI collaboration.

## Responses 2

Markdown supported · ⌘↵ to post

[AGXmart](https://hashnode.com/@agxmart)

[16h ago](https://hashnode.com/posts/six-ways-to-stop-ais-from-overwriting-each-other-in-a-shared-repo/6b11a9c4020c0cc850663c86/comment/6b11ad98b42430119d2f7433)

Reservations with an expiry is the detail that makes this work. Without it, one crashed session holds a file forever. How do you pick the expiry? Fixed, or does it extend while the AI keeps touching the file?

[Hongzuo](https://hashnode.com/@hzbuilds)

[16h ago](https://hashnode.com/posts/six-ways-to-stop-ais-from-overwriting-each-other-in-a-shared-repo/6b11a9c4020c0cc850663c86/comment/6b11abc9b42430119d2f4d9e)

The expiring reservations idea is neat, especially advisory for reads but enforced for writes. How do you handle the case where an AI legitimately needs to edit a reserved file, for example a small bugfix in someone else's folder? Is there an override, or does it always go through the team channel?
