From 85f20ca14f598d82eb8bf4bd25e674c377d912cd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 11:11:36 +0000 Subject: [PATCH] Sync github-agentic-workflows.md with v0.68.1 - Replace non-existent max-concurrency with correct engine fields: max-continuations (autopilot mode) and concurrency (job-level) - Fix engine.bare to cover all four engines (copilot/claude/codex/gemini) and remove incorrect "Unsupported engines emit a compiler warning" note - Add user-agent and config fields (codex-only engine options) - Remove error_patterns which is not in the engine schema or Go struct Co-Authored-By: Claude Sonnet 4.6 --- .github/aw/github-agentic-workflows.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/aw/github-agentic-workflows.md b/.github/aw/github-agentic-workflows.md index f23e8e46df5..a82fb2e0594 100644 --- a/.github/aw/github-agentic-workflows.md +++ b/.github/aw/github-agentic-workflows.md @@ -408,25 +408,27 @@ The YAML frontmatter supports these fields: model: gpt-5 # Optional: LLM model to use (has sensible default) agent: technical-doc-writer # Optional: custom agent file (Copilot only, references .github/agents/{agent}.agent.md) max-turns: 5 # Optional: maximum chat iterations per run (has sensible default) - max-concurrency: 3 # Optional: max concurrent workflows across all workflows (default: 3) + max-continuations: 3 # Optional: max autopilot continuations (copilot only; >1 enables --autopilot mode, default: 1) + concurrency: "gh-aw-${{ github.workflow }}" # Optional: agent job concurrency group (string or GitHub Actions concurrency object) env: # Optional: custom environment variables (object) DEBUG_MODE: "true" args: ["--verbose"] # Optional: custom CLI arguments injected before prompt (array) api-target: api.acme.ghe.com # Optional: custom API endpoint hostname for GHEC/GHES (hostname only, no protocol/path) command: /usr/local/bin/copilot # Optional: override default engine executable (skips installation) - bare: true # Optional: disable automatic context loading (copilot: suppresses AGENTS.md/user instructions; claude: suppresses CLAUDE.md memory files). Unsupported engines emit a compiler warning. (default: false) + bare: true # Optional: disable automatic context loading (copilot: --no-custom-instructions; claude: --bare; codex: --no-system-prompt; gemini: GEMINI_SYSTEM_MD=/dev/null). Default: false + user-agent: "myapp/1.0" # Optional: custom user agent string (codex engine only) + config: | # Optional: additional TOML config appended to config.toml (codex engine only) + [extra] + key = "value" token-weights: # Optional: custom token cost weights for effective token computation multipliers: my-custom-model: 2.5 # 2.5x the cost of claude-sonnet-4.5 (= 1.0) token-class-weights: output: 6.0 # Override output token weight (default: 4.0) cached-input: 0.05 # Override cached input weight (default: 0.1) - error_patterns: # Optional: custom error pattern recognition (array) - - pattern: "ERROR: (.+)" - level_group: 1 ``` - - **Note**: The `version`, `model`, `max-turns`, and `max-concurrency` fields have sensible defaults and can typically be omitted unless you need specific customization. + - **Note**: The `version`, `model`, and `max-turns` fields have sensible defaults and can typically be omitted unless you need specific customization. - **`gemini` engine**: Google Gemini CLI. Requires `GEMINI_API_KEY` secret. Does not support `max-turns`, `web-fetch`, or `web-search`. Supports AWF firewall and LLM gateway. - **`network:`** - Network access control for AI engines (top-level field)