Require worktree isolation around foreign local work #667

Closed
opened 2026-07-23 23:59:08 +00:00 by coilyco-ops · 0 comments
Member

A native agent must not risk mixing with or displacing repository work created by another actor or task. Add a strict AGENTS.md rule requiring the agent to inspect checkout state before mutation and move current-task work into a separate task-specific branch and linked worktree whenever pre-existing or ambiguously owned work is present.\n\nThe occupied checkout must remain untouched. Stashing, resetting, switching branches, or absorbing foreign changes must not substitute for isolation. The new worktree must still follow the remote-checkpoint rule.

A native agent must not risk mixing with or displacing repository work created by another actor or task. Add a strict AGENTS.md rule requiring the agent to inspect checkout state before mutation and move current-task work into a separate task-specific branch and linked worktree whenever pre-existing or ambiguously owned work is present.\n\nThe occupied checkout must remain untouched. Stashing, resetting, switching branches, or absorbing foreign changes must not substitute for isolation. The new worktree must still follow the remote-checkpoint rule.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agentic-os#667
No description provided.