Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I have 10 bots working on my dev workflow right now. Here is what each one does.

Description and use

Ten bots use separate git worktrees to avoid branch conflicts and ensure correct deployments.

Problem

Multiple automation scripts ran in the same working directory, causing branch collisions and unintended deployments.

Outcome

Implemented a 5‑step automation pattern that isolates each bot in its own worktree, eliminating branch collisions and improving reliability of deployments and CI tasks.

Workflow

  • 1. Trigger: schedule or webhook fires
  • 2. Isolate: create a fresh git worktree with git worktree add
  • 3. Work: perform the task inside the worktree
  • 4. Verify: run build or tests
  • 5. Notify and stop: send notification, do not commit, remove worktree

Evidence

The fix was git worktree. Every automation now gets its own folder, so nothing can ever touch the directory I am typing in.

Source

git worktree add creates a second folder attached to the same repository but checked out to its own branch

Source

  • Record date: 2026-09-21T13:45:31.437Z