Git tools enable agents to interact with version control systems for code management, collaboration, and deployment.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Conway-Research/automaton/llms.txt
Use this file to discover all available pages before exploring further.
Repository Inspection
git_status
Show git status for a repository.Repository path
safe
Returns: Branch name, staged/modified/untracked counts, clean status
Example
git_diff
Show git diff for a repository.Repository path
Show only staged changes (git diff —cached)
safe
Returns: Full diff output
git_log
View git commit history.Repository path
Number of commits to show
safe
Returns: Formatted list of commits with hash, date, and message
Example
Commit Operations
git_commit
Create a git commit.Commit message
Repository path
Stage all changes first (git add -A)
caution
Returns: Confirmation message
Branch Management
git_branch
Manage git branches.Repository path
Action:
list, create, checkout, or deleteBranch name (required for create/checkout/delete)
caution
Remote Operations
git_push
Push to a git remote.Repository path
Remote name
Branch name (optional, uses current branch if omitted)
caution
Returns: Push result message
git_clone
Clone a git repository.Repository URL (https or git)
Target directory for clone
Shallow clone depth (optional)
caution
Returns: Clone result message
Common Workflows
Feature Development
Code Review Preparation
Repository Setup
Self-Modification Integration
Git tools integrate with Conway’s self-modification system:edit_own_fileautomatically creates git commits with audit trailsrevert_last_editusesgit revert HEADto undo changesreset_to_upstreamfetches and hard-resets to origin/mainpull_upstreamsupports cherry-picking individual commits
Best Practices
Always check status first
Always check status first
Run
git_status before commits to verify what will be included.Review diffs before committing
Review diffs before committing
Use
git_diff to inspect changes and catch mistakes.Write descriptive commit messages
Write descriptive commit messages
Follow conventional commits:
feat:, fix:, refactor:, docs:Use branches for features
Use branches for features
Keep main/master stable. Develop in feature branches.
Push regularly
Push regularly
Back up your work to remote repositories frequently.
Error Handling
Related
Self-Modification
Edit your own code with git auditing
VM Tools
Execute commands and manage files
Skills System
Install skill packages from git repos
Policy Engine
Safety constraints and auditing