Skip to content

Update AWF to v0.16.5 and enable API proxy for Claude engine - #15520

Closed
Mossaka with Copilot wants to merge 4 commits into
mainfrom
copilot/update-awf-to-v0-16-5
Closed

Update AWF to v0.16.5 and enable API proxy for Claude engine#15520
Mossaka with Copilot wants to merge 4 commits into
mainfrom
copilot/update-awf-to-v0-16-5

Conversation

CopilotAI commented Feb 13, 2026

Copy link
Copy Markdown
Contributor
  • Update DefaultFirewallVersion from v0.16.4 to v0.16.5 in pkg/constants/constants.go
  • Set supportsLLMGateway: true in Claude engine (claude_engine.go)
  • Make --enable-api-proxy conditional on engine's SupportsLLMGateway() support (claude, codex engines)
  • Add ghcr.io/github/gh-aw-firewall/api-proxy:<version> container image download when engine supports LLM gateway + firewall
  • Update tests for LLM gateway support and --enable-api-proxy flag
  • Recompile workflows and run validation

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.


Changeset

  • Type: patch
  • Description: Bump AWF to v0.16.5 and pass --enable-api-proxy for Claude in firewall mode

Generated by Changeset Generator

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
CopilotAI changed the title [WIP] Update AWF to v0.16.5 and enable API proxy for Claude engineUpdate AWF to v0.16.5 and enable API proxy for Claude engineFeb 13, 2026
CopilotAI requested a review from MossakaFebruary 13, 2026 23:18
@Mossaka
Mossaka marked this pull request as ready for review February 13, 2026 23:34
CopilotAI review requested due to automatic review settings February 13, 2026 23:34
@github-actions

github-actionsBot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions

Copy link
Copy Markdown
Contributor

🧪 Smoke Project is now testing project operations...

@github-actions

Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions

Copy link
Copy Markdown
Contributor

🧪 Smoke Temporary ID is now testing temporary ID functionality...

@github-actions

github-actionsBot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

💫 TO BE CONTINUED...Smoke Claude failed! Our hero faces unexpected challenges...

@github-actions

github-actionsBot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

Changeset Generator completed successfully!

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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 updates the repository’s default gh-aw-firewall (AWF) version to v0.16.5 and adjusts the Claude engine’s firewall-mode invocation to pass --enable-api-proxy, with accompanying tests and regenerated workflow lockfiles.

Changes:

  • Bump DefaultFirewallVersion from v0.16.4v0.16.5.
  • Add --enable-api-proxy to the Claude engine’s AWF command-line arguments when firewall mode is enabled.
  • Add/extend tests to assert the flag is present for Claude and absent for Copilot; recompile workflow lockfiles to reflect the new AWF version.

Reviewed changes

Copilot reviewed 151 out of 151 changed files in this pull request and generated 1 comment.

FileDescription
pkg/workflow/claude_engine.goAdds --enable-api-proxy to Claude’s AWF args when firewall mode is enabled.
pkg/workflow/firewall_args_test.goAdds a test ensuring Claude includes --enable-api-proxy and Copilot does not.
pkg/constants/constants.goUpdates the default AWF version constant to v0.16.5.
.github/workflows/*.lock.ymlRegenerates lockfiles to pin/install v0.16.5 and use image-tag 0.16.5.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +331 to +334
// Enable API proxy for Claude engine (v0.16.5+)
// This allows AWF to proxy API requests from the Claude CLI through the firewall
awfArgs = append(awfArgs, "--enable-api-proxy")
claudeLog.Print("Added --enable-api-proxy for Claude API proxying")

CopilotAIFeb 13, 2026

Copy link

Choose a reason for hiding this comment

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

--enable-api-proxy is appended unconditionally whenever the firewall is enabled. Since FirewallConfig.Version can be set to an older AWF release, this will cause the generated workflow to fail at runtime with an “unknown flag” error on AWF < v0.16.5. Please gate adding this flag based on the configured AWF version (fallback to DefaultFirewallVersion when unset), e.g. using the existing compareVersions helper, and consider logging when it’s skipped due to an older version.

Copilot uses AI. Check for mistakes.
@github-actions

Copy link
Copy Markdown
Contributor

Smoke Temporary ID completed successfully. Temporary ID validation passed.

@github-actions

Copy link
Copy Markdown
Contributor

Agent Container Tool Check

ToolStatusVersion
bash5.2.21
shavailable
git2.52.0
jq1.7
yq4.52.2
curl8.5.0
gh2.86.0
node20.20.0
python33.12.3
go1.24.13
java(available)
dotnet10.0.102

Result: 12/12 tools available ✅

All required development tools are accessible in the agent container environment.

AI generated by Agent Container Smoke Test

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Project completed successfully. All project operations validated.

@github-actions

Copy link
Copy Markdown
Contributor

Smoke test (Codex) results
PR #15518: Fix: Compute minimal permissions for conclusion/safe_outputs jobs based on configured safe-outputs
PR #15513: feat: prefer Announcements category by default for create-discussion
GitHub MCP: ✅
Serena MCP: ✅
Playwright: ✅
File write/read: ✅
Bash: ✅
Build: ✅
Overall: PASS

AI generated by Smoke Codex

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test Results

PRs tested:

Test Status:
✅ GitHub MCP | ✅ Safe Inputs CLI | ✅ Playwright | ✅ File I/O | ✅ Build | ✅ Workflow Dispatch | ✅ PR Review

Overall: PASS

cc @Copilot@Mossaka

AI generated by Smoke Copilot

@github-actions

Copy link
Copy Markdown
Contributor

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions

github-actionsBot commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

💫 TO BE CONTINUED...Smoke Claude failed! Our hero faces unexpected challenges...

@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot

  • make sure that claude agentic engine has "support gateway" true
  • if the agentic engine supports gateway, emit the --enable-api-proxy flag for awf
  • if the agentic engine supports gateway, add the ghcr.io/github/gh-aw-firewall/api-proxy: container image to predownload list

CopilotAI requested a review from pelikhanFebruary 14, 2026 00:28
Copilot stopped work on behalf of pelikhan due to an error February 14, 2026 00:28
@github-actions
github-actionsBot deleted the copilot/update-awf-to-v0-16-5 branch April 2, 2026 13:14
Sign up for freeto 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.

4 participants

@pelikhan@Mossaka