Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@trieloff
Copy link
Owner

@trieloff trieloff commented Nov 25, 2025

πŸš€ Feature: Add Auggie Support

This PR implements issue #27 by adding comprehensive support for Augment Code (Auggie) to YOLO.

Changes Made

1. Command Detection

  • Added auggie to the supported_commands array in get_installed_agents()
  • Updated help documentation and error messages

2. Flag Configuration

  • Added auggie case to get_command_flags() with --allow-indexing flag
  • This skips the indexing confirmation screen for automated usage

3. Single-Agent Mode

  • Added auggie case to main command building logic
  • Uses --print flag when prompts are provided for automation
  • Command format: auggie --allow-indexing --print 'your prompt'

4. Multi-Agent Mode

  • Added auggie case to multi-agent command building logic
  • Works properly in parallel execution with other agents
  • Each agent runs in its own git worktree

5. Documentation Updates

  • Updated show_usage() function with auggie entry
  • Updated error messages to include auggie in supported agents list
  • Added description: Uses --allow-indexing; adds --print when prompt present

Testing

All functionality has been tested:

  • Help output shows auggie in supported commands
  • Dry-run single-agent mode works correctly
  • Dry-run multi-agent mode works correctly
  • Live execution successful

Usage Examples

Single-agent: yolo auggie 'implement a feature'
Multi-agent: yolo auggie,claude,codex 'build and test this feature'
With worktree: yolo -w auggie 'experimental changes'
All-agents: yolo -a 'implement comprehensive solution'

This completes the AI-Aligned ecosystem support across all three tools.

Closes #27


Summary by cubic

Adds Augment Code (Auggie) support to YOLO for single- and multi-agent runs with automated flag handling. Fixes #27.

  • New Features
    • Detects auggie as a supported agent.
    • Defaults to --allow-indexing to skip indexing confirmation.
    • Uses --print when a prompt is provided; routes prompts correctly in multi-agent mode.
    • Runs multi-agent tasks in parallel, each in its own worktree; updates help/errors and mop cleanup for auggie.

Written for commit db47b86. Summary will update automatically on new commits.

Implements issue #27 by adding comprehensive support for Auggie:

- Add 'auggie' to supported commands list in get_installed_agents()
- Configure auggie flags with --allow-indexing to skip indexing confirmation
- Implement single-agent mode with --print flag for prompt automation
- Implement multi-agent mode support with proper prompt handling
- Update documentation in show_usage() and error messages

Auggie now works in both single-agent and multi-agent modes:
- Single: yolo auggie 'your prompt' -> auggie --allow-indexing --print 'your prompt'
- Multi: yolo auggie,claude 'prompt' -> runs both agents in parallel worktrees

Tested with dry-run mode and live execution. Completes AI-Aligned ecosystem
support alongside ai-aligned-git and ai-aligned-gh.

Signed-off-by: Lars Trieloff <[email protected]>
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 1 file

Prompt for AI agents (all 1 issues)

Check if these issues are valid β€” if so, understand the root cause of each and fix them.


<file name="executable_yolo">

<violation number="1" location="executable_yolo:328">
Adding the new &quot;auggie&quot; agent creates `auggie-*` worktree branches, but mop_cleanup’s branch filter still omits that name, so `yolo -m` cannot clean up those branches/worktrees.</violation>
</file>

Reply to cubic to teach it or ask questions. Re-run a review with @cubic-dev-ai review this PR

get_installed_agents() {
local agents=()
local supported_commands=("codex" "claude" "copilot" "droid" "amp" "cursor-agent" "opencode" "qwen" "gemini" "kimi" "crush" "aider" "goose")
local supported_commands=("codex" "claude" "copilot" "droid" "amp" "cursor-agent" "opencode" "qwen" "gemini" "kimi" "crush" "aider" "goose" "auggie")
Copy link

@cubic-dev-ai cubic-dev-ai bot Nov 25, 2025

Choose a reason for hiding this comment

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

Adding the new "auggie" agent creates auggie-* worktree branches, but mop_cleanup’s branch filter still omits that name, so yolo -m cannot clean up those branches/worktrees.

Prompt for AI agents
Check if this issue is valid β€” if so, understand the root cause and fix it. At executable_yolo, line 328:

<comment>Adding the new &quot;auggie&quot; agent creates `auggie-*` worktree branches, but mop_cleanup’s branch filter still omits that name, so `yolo -m` cannot clean up those branches/worktrees.</comment>

<file context>
@@ -320,7 +325,7 @@ command_exists() {
 get_installed_agents() {
     local agents=()
-    local supported_commands=(&quot;codex&quot; &quot;claude&quot; &quot;copilot&quot; &quot;droid&quot; &quot;amp&quot; &quot;cursor-agent&quot; &quot;opencode&quot; &quot;qwen&quot; &quot;gemini&quot; &quot;kimi&quot; &quot;crush&quot; &quot;aider&quot; &quot;goose&quot;)
+    local supported_commands=(&quot;codex&quot; &quot;claude&quot; &quot;copilot&quot; &quot;droid&quot; &quot;amp&quot; &quot;cursor-agent&quot; &quot;opencode&quot; &quot;qwen&quot; &quot;gemini&quot; &quot;kimi&quot; &quot;crush&quot; &quot;aider&quot; &quot;goose&quot; &quot;auggie&quot;)
 
     for cmd in &quot;${supported_commands[@]}&quot;; do
</file context>

βœ… Addressed in db47b86

@trieloff trieloff requested a review from Copilot November 25, 2025 15:34
Add 'auggie' to the branch filter regex in mop_cleanup() so that
'yolo -m' can properly clean up auggie-* worktree branches.

Addresses review feedback from cubic-dev-ai on PR #28.

Signed-off-by: Lars Trieloff <[email protected]>
Copy link
Owner Author

βœ… Fixed the mop cleanup issue!

Thanks @cubic-dev-ai for catching that! You're absolutely right - the branch filter regex in mop_cleanup() was missing auggie, so yolo -m couldn't clean up auggie-* branches.

What I fixed:

  • Added auggie to the branch filter regex on line 1280
  • Changed from: ^(claude|codex|copilot|amp|opencode|gemini|qwen|droid|cursor-agent|kimi|crush|aider|goose)-[0-9]+$
  • Changed to: ^(claude|codex|copilot|amp|opencode|gemini|qwen|droid|cursor-agent|kimi|crush|aider|goose|auggie)-[0-9]+$

Tested the fix:

  1. Created test auggie worktrees: auggie-1 and auggie-2
  2. Ran ./executable_yolo --mop
  3. βœ… Both auggie branches were properly detected and cleaned up
  4. βœ… Worktrees were removed successfully

The mop cleanup now works correctly for all supported agents including auggie! 🧹

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive support for Augment Code (Auggie) as a new AI coding agent to YOLO, completing the AI-Aligned ecosystem support across all three tools.

  • Adds auggie to the supported agents list with --allow-indexing flag for automated indexing
  • Implements single-agent mode using --print flag for prompt automation
  • Enables multi-agent parallel execution with proper worktree isolation

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@trieloff trieloff merged commit 09bebb3 into main Nov 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Augment Code (Auggie) support

2 participants