Skip to content

Add experimental Auggie engine support#42314

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/add-augment-code-auggie-cli
Draft

Add experimental Auggie engine support#42314
Copilot wants to merge 2 commits into
mainfrom
copilot/add-augment-code-auggie-cli

Conversation

Copilot AI commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This adds Augment Code's Auggie CLI as a new experimental engine so workflows can use engine: auggie alongside the existing agentic engines. It wires Auggie through compilation, runtime metadata, docs, schema validation, and smoke coverage using AUGMENT_SESSION_AUTH for authentication.

  • Engine registration and defaults

    • Add the auggie engine ID, default version pin (0.29.0), model env vars, engine option metadata, and built-in engine definition.
    • Register Auggie in the engine catalog, setup/version lookup paths, and AW info generation.
  • Runtime implementation

    • Add AuggieEngine with experimental metadata and Auggie-specific capabilities:
      • no tool allowlist support
      • no native max-turns/max-continuations support
      • built-in web search support
      • protected agent config path prefix for .augment/
    • Install via @augmentcode/auggie, validate AUGMENT_SESSION_AUTH, render standard JSON MCP config, and emit Auggie execution steps with:
      • --print --quiet
      • optional --model
      • optional --mcp-config
  • Firewall and domain handling

    • Add Auggie default domains and include the engine in default-domain resolution.
    • Exclude AUGMENT_SESSION_AUTH from forwarded firewall env while still making it available to the agent process.
  • Schema, docs, and UX

    • Update workflow schema help/examples to include auggie.
    • Document Auggie in the engine reference, including auth and default version.
    • Update completions and engine metadata tests to recognize the new engine.
  • Smoke workflow and generated artifacts

    • Add smoke-auggie.md and compile it to a lockfile.
    • Regenerate affected compiled workflow artifacts and golden outputs so the new .augment/ manifest protection and engine catalog state are reflected consistently.

Example workflow:

engine:
  id: auggie
  version: "0.29.0"
  model: my-model
  args: ["--quiet"]

At execution time this compiles down to an Auggie invocation shaped like:

auggie --print --quiet --model "$GH_AW_MODEL_AGENT_AUGGIE" --mcp-config "${RUNNER_TEMP}/gh-aw/mcp-config/mcp-servers.json" "$(cat /tmp/gh-aw/aw-prompts/prompt.txt)"

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Augment Code "Auggie" CLI as a new agentic engine Add experimental Auggie engine support Jun 29, 2026
Copilot AI requested a review from pelikhan June 29, 2026 18:38
@github-actions

Copy link
Copy Markdown
Contributor

🔍 PR Triage — §28395315609

Field Value
Category feature
Risk high
Score 40 / 100
Action defer
Batch

Score breakdown: impact 25 + urgency 5 + quality 10

Very large draft (288 files, +3213/-558). Adds experimental Auggie engine end-to-end. No CI yet. Deferred until out of draft and CI validated. High risk due to broad scope across engine catalog, firewall, schema, docs, smoke workflows.

Generated by 🔧 PR Triage Agent · 99.1 AIC · ⌖ 11.6 AIC · ⊞ 5.4K ·

@carlosflorencio

Copy link
Copy Markdown

I ran the external Auggie smoke test in a temporary public repo.

Repo: https://github.com/carlosflorencio/gh-aw-auggie
Run: https://github.com/carlosflorencio/gh-aw-auggie/actions/runs/28397023421
Generated failure issue: carlosflorencio/gh-aw-auggie#1

Result: failure in Execute Auggie CLI.

What passed:

  • compiled .github/workflows/my-auggie-test.md with this PR binary and --gh-aw-ref copilot/add-augment-code-auggie-cli
  • workflow dispatch started
  • AUGMENT_SESSION_AUTH secret validation passed
  • @augmentcode/auggie@0.29.0 installed and auggie --version passed
  • firewall/container setup completed

Failure:

  • Auggie exits with no auth provided.
  • The generated lockfile sets AUGMENT_SESSION_AUTH on the workflow step, but the awf invocation includes --exclude-env AUGMENT_SESSION_AUTH. Inside the agent process Auggie cannot see the secret.

This looks like the intended PR behavior is not wired through yet: exclude AUGMENT_SESSION_AUTH from forwarded firewall env, but still make it available to the Auggie agent process.

@github-actions

Copy link
Copy Markdown
Contributor

Hey @Copilot 👋 — great work adding Auggie as an experimental engine! The PR is well-structured: the core implementation in auggie_engine.go is cleanly separated, auggie_engine_test.go provides solid coverage, the firewall env exclusion for AUGMENT_SESSION_AUTH is correctly handled, and the cascade of generated lockfile updates is the expected artifact of wiring a new engine into the catalog.

This looks ready for maintainer review — tests are present, the description covers all the moving parts, and the diff is focused entirely on Auggie support. The pr-action:defer label suggests the team is aware and timing the merge; nothing blocking from a contribution-quality standpoint.

Generated by ✅ Contribution Check · 138.5 AIC · ⌖ 13.8 AIC · ⊞ 6.3K ·

@github-actions

Copy link
Copy Markdown
Contributor

🤖 PR Triage — Run §28413530597

Field Value
Category feature
Risk 🔴 high
Score 35 / 100
Breakdown impact 25 + urgency 5 + quality 5
Action defer

Notes: Draft (7.1h). Very large experimental feature: 288 files, +3213/-558. No CI yet. Defer until promoted from draft with CI results. Labels confirmed correct.

Generated by 🔧 PR Triage Agent · 61.6 AIC · ⌖ 7.7 AIC · ⊞ 1.6K ·

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Augment Code "Auggie" CLI as a new agentic engine

3 participants