Conversation
Port 10004 (OpenCode) in the API proxy sidecar is now gated behind an explicit --enable-opencode flag (requires --enable-api-proxy). Update docs to reflect this. - docs/usage.md: add --enable-opencode to flag reference - docs/api-proxy-sidecar.md: note port 10004 requires --enable-opencode - docs/awf-config-spec.md: add apiProxy.enableOpenCode CLI mapping Triggered by: bab8694 (fix: gate OpenCode listener on AWF_ENABLE_OPENCODE flag) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@copilot address the review feedback |
Agent-Logs-Url: https://github.com/github/gh-aw-firewall/sessions/ef9327d6-049f-4c3a-b9e5-57a686f69790 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Addressed in 822bfb6. The main gap was that |
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
Smoke Test: Copilot BYOK — PASS
Running in BYOK offline mode ( PR by
|
🔬 Smoke Test Results
PR: [docs] docs: document --enable-opencode flag for gated OpenCode API proxy port Overall: FAIL — pre-step template variables (
|
Smoke Test Results✅ GitHub MCP: Last 2 merged PRs (#2339, #2337) Overall: PASS
|
|
feat(api-proxy): write models.json snapshot after startup model fetch Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "registry.npmjs.org"See Network Configuration for more information.
|
Smoke Test: GitHub Actions Services Connectivity
Overall: FAIL —
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
Smoke Test: Gemini Engine Validation
Overall Status: PASS
|
Documentation Sync - 2026-04-24 to 2026-05-01
This PR synchronizes documentation with the code change from the past 7 days that gated the OpenCode API proxy listener behind an explicit CLI flag.
Changes Made
docs/usage.md: Added--enable-opencodeflag to the CLI reference section, noting it requires--enable-api-proxydocs/api-proxy-sidecar.md: Updated port 10004 description to note it requires--enable-opencodedocs/awf-config-spec.md: AddedapiProxy.enableOpenCode→--enable-opencodeCLI mappingCode Changes Referenced
bab8694:fix: gate OpenCode listener (port 10004) on explicit AWF_ENABLE_OPENCODE flag (#2337)— added--enable-opencodeCLI flag, validates it requires--enable-api-proxy, and setsAWF_ENABLE_OPENCODE=trueenv var in the api-proxy container only when the flag is present. Port 10004 is now inactive unless explicitly requested.Verification
src/cli.tsflag definitionssrc/cli.ts:1527-1529src/types.ts(enableOpenCodefield) andsrc/docker-manager.ts