---
{
  "n": 60,
  "title": "A hotfix is done by a dispatched agent in a worktree of main",
  "abstract": "",
  "refs": [],
  "seen": [
    "agent"
  ],
  "data": {
    "keywords": [
      "hotfix",
      "worktree"
    ],
    "environment": "main"
  },
  "created": 1791278171.966374,
  "updated": 1791278171.966476,
  "deleted": 0.0,
  "completed": 0.0,
  "outcome": "",
  "type": "rule"
}
---
Message 16836 (2026-10-06): the orchestrator cut a worktree under .claude/worktrees for a Codex hotfix, its session moved to a new environment and the user's messages stopped reaching it. The user: when working on a branch and a hotfix comes in, create a worktree of main and dispatch an agent to do that work. The orchestrator stays on its branch and in its environment, and never cds into another checkout.
