Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .agent/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ mode: subagent

## 🛑 MANDATORY: Pre-Edit Git Check

> **Skip this section if you don't have Edit/Write/Bash tools** (e.g., Plan+ agent).
> Read-only agents should proceed directly to responding to the user.
Comment on lines +10 to +11

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For improved clarity and to reduce potential ambiguity for the AI agent, consider combining these two lines into a single, more direct instruction. The current second line, while well-intentioned, could be interpreted as a general rule for read-only agents outside the context of this specific section. A single, connected instruction is less ambiguous and more directly links the condition with the alternative action.

Suggested change
> **Skip this section if you don't have Edit/Write/Bash tools** (e.g., Plan+ agent).
> Read-only agents should proceed directly to responding to the user.
> **Skip this section if you don't have Edit/Write/Bash tools** (e.g., Plan+ agent). Instead, proceed directly to responding to the user.


**CRITICAL**: This check MUST be performed BEFORE any edit/write tool call.
Failure to follow this workflow is a bug in the AI assistant's behavior.

Expand Down