Skip to content

docs: sync awf-config-spec CLI mapping with source (merge main)#2753

Closed
github-actions[bot] wants to merge 3 commits intomainfrom
docs/schema-sync-2026-05-08-f7673f1997eb5761
Closed

docs: sync awf-config-spec CLI mapping with source (merge main)#2753
github-actions[bot] wants to merge 3 commits intomainfrom
docs/schema-sync-2026-05-08-f7673f1997eb5761

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 8, 2026

Summary

Three apiProxy config fields were present in docs/awf-config.schema.json but absent from the Section 5 CLI mapping table in docs/awf-config-spec.md.

Per review feedback, this branch was also updated by merging main. That merge introduced schema description drift between docs/awf-config.schema.json and src/awf-config-schema.json, which is now synchronized.

Changes

docs/awf-config-spec.md — added three missing rows to the CLI mapping table:

Config path CLI flag / note
apiProxy.anthropicAutoCache --anthropic-auto-cache
apiProxy.anthropicCacheTailTtl --anthropic-cache-tail-ttl
apiProxy.models config-only (model alias rewriting)

Branch maintenance after feedback:

  • Merged latest main into this PR branch.
  • Updated src/awf-config-schema.json descriptions for:
    • apiProxy.enabled
    • environment
      to match docs/awf-config.schema.json and keep schema-sync tests passing.

Triggering commit

  • 875fecbfeat: add daily schema-sync workflow and README schema links (#2747) — introduced all source files and schema/spec files; the three rows above were added to the schema but omitted from the spec.

Schema contract/fields were not changed; only documentation/spec mapping and schema description text alignment were updated.

> Generated by Schema & Spec Sync · ● 1.3M ·

Add anthropicAutoCache, anthropicCacheTailTtl, and models entries to the
Section 5 CLI mapping table. These fields are present in the JSON schema
but were absent from the spec, leaving a gap for tools that consume
awf-config-spec.md to generate AWF invocations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 8, 2026

Documentation Preview

Documentation build failed for this PR. View logs.

Built from commit 098096e

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 8, 2026

Smoke Test: Copilot BYOK — PASS ✅

Test Result
GitHub MCP (list PRs) ✅ "feat: add daily schema-sync workflow" returned
GitHub.com connectivity
File write/read (smoke-test-copilot-byok-25572724385.txt)
BYOK inference (agent → api-proxy → api.githubcopilot.com)

Running in BYOK offline mode (COPILOT_OFFLINE=true) via api-proxy → api.githubcopilot.com. PR by @github-actions[bot].

🔑 BYOK report filed by Smoke Copilot BYOK

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 8, 2026

🔬 Smoke Test Results

Test Status
GitHub MCP connectivity ✅ PASS
GitHub.com HTTP connectivity ⚠️ N/A (template vars unresolved)
File write/read ⚠️ N/A (template vars unresolved)

PR under test: docs: sync awf-config-spec CLI mapping with source (author: @github-actions[bot])

Overall: PARTIAL — MCP confirmed working; pre-step smoke data (steps.smoke-data.outputs.*) was not injected into the workflow prompt.

📰 BREAKING: Report filed by Smoke Copilot

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 8, 2026

Smoke Test Results

✅ GitHub MCP: feat: add daily schema-sync workflow, fix: scanner workflows now check closed issues with state_reason-aware dedup
✅ Playwright: GitHub page title verified
✅ File Writing: Test file created successfully
✅ Bash: File verification passed

Overall: PASS

💥 [THE END] — Illustrated by Smoke Claude

@lpcox
Copy link
Copy Markdown
Collaborator

lpcox commented May 8, 2026

@copilot merge main

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 8, 2026

🔮 Smoke Test: FAIL
✅ feat: add daily schema-sync workflow
✅ fix: scanner workflows now check closed issues with state_reason-aware dedup
❌ Safe Inputs GH: safeinputs-gh unavailable
✅ Playwright: GitHub title verified
❌ Tavily: no tools registered
✅ File/Bash: smoke file verified
✅ Discussion: oracle comment posted to #2750
✅ Build: npm ci && npm run build

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • registry.npmjs.org

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "registry.npmjs.org"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 8, 2026

🏗️ Build Test Suite Results

Ecosystem Project Build/Install Tests Status
Bun elysia 1/1 passed ✅ PASS
Bun hono 1/1 passed ✅ PASS
C++ fmt N/A ✅ PASS
C++ json N/A ✅ PASS
Deno oak N/A 1/1 passed ✅ PASS
Deno std N/A 1/1 passed ✅ PASS
.NET hello-world N/A ✅ PASS
.NET json-parse N/A ✅ PASS
Go color 1/1 passed ✅ PASS
Go env 1/1 passed ✅ PASS
Go uuid 1/1 passed ✅ PASS
Java gson 1/1 passed ✅ PASS
Java caffeine 1/1 passed ✅ PASS
Node.js clsx all passed ✅ PASS
Node.js execa all passed ✅ PASS
Node.js p-limit all passed ✅ PASS
Rust fd 1/1 passed ✅ PASS
Rust zoxide 1/1 passed ✅ PASS

Overall: 8/8 ecosystems passed — ✅ PASS

Generated by Build Test Suite for issue #2753 · ● 835.7K ·

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 8, 2026

Smoke Test Results — FAIL

Check Result
Redis PING ❌ No response (timeout)
PostgreSQL pg_isready ❌ No response
PostgreSQL SELECT 1 ❌ No response (timeout)

host.docker.internal is unreachable from this runner environment. Service containers may not be configured or the host alias is not available.

🔌 Service connectivity validated by Smoke Services

Copy link
Copy Markdown
Contributor

Copilot AI commented May 8, 2026

@copilot merge main

Done — merged main into this branch in 302a386. I also added 18e6c4d to sync schema source descriptions that surfaced after the merge, and tests are passing.

Copilot AI changed the title docs: sync awf-config-spec CLI mapping with source docs: sync awf-config-spec CLI mapping with source (merge main) May 8, 2026
Copilot AI requested a review from lpcox May 8, 2026 18:47
Copilot finished work on behalf of lpcox May 8, 2026 18:47
@lpcox lpcox marked this pull request as ready for review May 8, 2026 18:48
@lpcox lpcox requested a review from Mossaka as a code owner May 8, 2026 18:48
Copilot AI review requested due to automatic review settings May 8, 2026 18:48
Copy link
Copy Markdown
Contributor

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

Updates AWF’s configuration specification/docs to accurately reflect the current apiProxy configuration surface and keeps the source schema descriptions aligned with the published docs schema (per schema-sync contract).

Changes:

  • Added missing CLI mapping entries for apiProxy.anthropicAutoCache, apiProxy.anthropicCacheTailTtl, and apiProxy.models in the config spec.
  • Synced src/awf-config-schema.json description text for apiProxy.enabled and environment to match docs/awf-config.schema.json.
Show a summary per file
File Description
src/awf-config-schema.json Updates descriptions for apiProxy.enabled and environment to match the published docs schema and preserve schema-sync equality.
docs/awf-config-spec.md Completes the normative CLI mapping table with the previously omitted apiProxy fields/notes.

Copilot's findings

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

lpcox added a commit that referenced this pull request May 8, 2026
…2759)

* docs: add missing apiProxy CLI mappings and sync schema descriptions

Add three apiProxy entries missing from the §5 CLI mapping table in
awf-config-spec.md:
- apiProxy.anthropicAutoCache → --anthropic-auto-cache
- apiProxy.anthropicCacheTailTtl → --anthropic-cache-tail-ttl
- apiProxy.models → config-only (model alias rewriting)

Sync src/awf-config-schema.json descriptions for apiProxy.enabled and
environment to match docs/awf-config.schema.json, which already
references §8–9 credential isolation and merge semantics.

Supersedes #2753.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants