Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.85 KB

agents.md

File metadata and controls

41 lines (31 loc) · 1.85 KB

Coding agents

Every coding agent uses the Builder identity. Agents are told apart by the commit author (<tool>-agent) and the ## AI assistance section. Branches use the standard type prefixes (feat/, fix/, docs/, chore/, refactor/, test/, ci/), which some repositories enforce with branch-name rules.

Agent Typical role Commit author Reads rules from
Claude Code coordinator or workstation claude-agent CLAUDE.md (imports AGENTS.md)
dsh executor dsh-agent AGENTS.md (to be verified per release)
Codex executor codex-agent AGENTS.md
Cursor workstation cursor-agent AGENTS.md
Antigravity workstation antigravity-agent GEMINI.md (imports AGENTS.md; to be verified)

Agent products' own GitHub integrations (for example a tool's cloud agent App) are not part of this model: they cannot merge to protected default branches, so use them only through the Builder identity.

Workstation agents (Cursor, Antigravity, Claude on a workstation)

  1. bootstrap.sh workstation sets git to use Builder tokens only under AGENTOPS_AGENT_DIR (an includeIf block), so the owner's own clones keep the owner's login.

  2. Open agent work only from clones inside that directory.

  3. Set the commit author for the agent, for example inside the clone:

    git config user.name "cursor-agent"
    git config user.email "364589971+cgl-agent-builder[bot]@users.noreply.github.com"
  4. For gh, use agentops gh builder ... instead of the owner's gh login.

On a shared workstation this separation is best effort: the owner's login is still on the machine. A separate OS user for agents makes it strict.

Executors (dsh, Codex)

Executors stay credential-free on GitHub. The coordinator sends the task, receives a patch, and pushes it with the Builder identity.