Skip to content

Activate reviewed exact-native reasoning and context metadata - #11334

Merged
lpcox merged 5 commits into
mainfrom
copilot/activate-exact-model-reasoning
Nov 9, 2026
Merged

lpcox merged 5 commits into
mainfrom
copilot/activate-exact-model-reasoning

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

This PR supplies refreshed, exact-model facts to the merged reasoning, routing and compatibility consumers. Activation is bounded to native GPT-5.4 mini and Opus 4.6–4.8; family membership and protocol compatibility remain insufficient evidence of support.

  • Reviewed native facts

    • GPT-5.4 mini and 2026-03-17 snapshot: none, low, medium, high, xhigh; 400K context; optional effort, default none.
    • Opus 4.7/4.8 gain automatic xhigh; 4.6 retains its negative exception. All three retain 1M context and gain evidenced optional effort/default high.
    • Defaults are metadata—not request insertion or substitution.
  • Canonical data and boundaries

    • Record official sources, capture times, exact IDs and context caveats.
    • Reconcile four delivered target rows and regenerate projections.
    • Document behavior deltas and remaining work; unrelated targets stay staged.
  • Consumer integration

    • Forward mode/default facts through the existing shared resolver.
    • Gate native context fallback by channel/deployment scope.
    • Cover specialized/future variants, unknown support, refresh pins, actual fallback dispatch and /reflect.
  • Verification

    • All 154 proxy suites pass, alongside canonical and Docker/npm distribution checks.
    • CodeQL analysis remains unverified: skipped because the database exceeds its size limit.

Copilot AI changed the title [WIP] Activate reviewed exact-model reasoning and context metadata Activate reviewed exact-native reasoning and context metadata Nov 9, 2026
Copilot AI requested a review from lpcox November 9, 2026 00:24
Copilot AI and others added 4 commits November 8, 2026 16:43
Validate effort values and required/forbidden modes before generation.
Add regression coverage and document the compiler validation boundary.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@lpcox
lpcox marked this pull request as ready for review November 9, 2026 00:47
Copilot AI adaptive review requested due to automatic review settings November 9, 2026 00:47
@lpcox
lpcox force-pushed the copilot/activate-exact-model-reasoning branch from b66e46d to d2f4b31 Compare November 9, 2026 00:47
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-11334 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit a3af2ed

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ Security Guard completed successfully!

Security Guard

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Security Guard · auto (Claude Sonnet 5.5) · ~14 AIC · ⊞ 8.9K · ◷

Generated by Security Guard for #11334

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅

🛡️ Egress verdict from Smoke Copilot Network Isolation

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅

📡 OTel tracing validated by Smoke OTel Tracing

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Testing chroot feature Smoke Chroot is validating functionality...

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🔌 Smoke Services — All services reachable! ✅

🔌 Service connectivity validated by Smoke Services

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

🔑 BYOK report filed by Smoke Copilot BYOK

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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

📰 BREAKING: Report filed by Smoke Copilot

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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

Smoke Codex

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Smoke Codex · gpt54 · ~17 AIC · ⊞ 22.1K · ◷

🔮 The oracle has spoken through Smoke Codex

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Cloud Hypervisor completed. Cloud Hypervisor + Copilot passed.

Cloud Hypervisor + Copilot smoke test by Smoke Cloud Hypervisor

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ Smoke Claude passed

Generated by Smoke Claude for #11334

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ Build Test Suite completed successfully!

Generated by Build Test Suite for #11334

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

⚠️ Coverage Regression Detected

This PR decreases test coverage. Please add tests to maintain coverage levels.

Overall Coverage

Metric Base PR Delta
Lines 93.82% 93.81% ➡️ -0.01%
Statements 92.36% 92.36% ➡️ +0.00%
Functions 93.02% 93.02% ➡️ +0.00%
Branches 86.70% 86.69% 📉 -0.01%
📁 Per-file Coverage Changes (2 files)
File Lines (Before → After) Statements (Before → After)
src/nvx/one-shot-process.ts 84.0% → 81.5% (-2.47%) 76.8% → 74.7% (-2.11%)
src/enclave/host-executor-server.ts 91.2% → 91.2% (+0.00%) 89.8% → 90.1% (+0.29%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

Copilot AI 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.

🟡 Changes recommended

Unscoped normalization in reflection and recovery treats custom targets as native, producing inaccurate capability reports and potentially rejecting replacements against an unevidenced 400K context limit.

1 open issue
What changed in this PR

This PR activates reviewed native GPT-5.4 mini and Opus 4.6–4.8 reasoning/context metadata for AWF’s shared validation, routing, and compatibility consumers, addressing the bounded scope of #11330.

Changes:

  • Adds exact-model effort lists, context limits, optionality, defaults, and provenance while preserving revision-specific exceptions.
  • Forwards mode/default metadata and adds channel/deployment checks for native context fallback.
  • Reconciles delivered targets, regenerates projections, and expands consumer/distribution tests and documentation.
File Description
src/​copilot-model-catalog-sync.test.ts Updates expected native routing coverage.
shared/​model-information/​target.generated.json Removes delivered staged reasoning/context proposals.
shared/​model-information/​sources/​target.json Reconciles the four activated target rows.
shared/​model-information/​sources/​mapping.json Authors reviewed exact-model facts and provenance.
shared/​model-information/​manifest.generated.json Refreshes catalogue revision and generation metadata.
shared/​model-information/​catalog.generated.json Refreshes catalogue generation metadata.
shared/​model-information/​baseline-to-target.generated.json Regenerates remaining staged differences and mappings.
scripts/​model-information/​compile.test.ts Tests reconciliation and malformed metadata rejection.
scripts/​model-information/​compile.cjs Validates routing efforts, modes, and defaults.
docs/​model-catalogue-publication.md Documents evidence, behavior changes, and remaining gaps.
docs/​model-api-mapping.json Publishes regenerated native-model mappings.
containers/​api-proxy/​upstream-http.compatibility.test.js Tests reviewed mini fallback dispatch and rejection.
containers/​api-proxy/​routing-catalogue.js Adds scope checks for maintained context fallback.
containers/​api-proxy/​reviewed-native-reasoning.test.js Covers exact models, negative variants, scopes, and pins.
containers/​api-proxy/​reasoning-effort-validation.test.js Updates mini validation and unknown-support expectations.
containers/​api-proxy/​protocol-compatibility.packaging.test.js Extends packaged consumer and fallback checks.
containers/​api-proxy/​model-reasoning.test.js Tests reviewed optionality, defaults, and Opus exceptions.
containers/​api-proxy/​model-reasoning.js Forwards maintained reasoning modes and defaults.
containers/​api-proxy/​model-metadata-characterization.test.js Updates activated-model characterization expectations.
containers/​api-proxy/​model-information.fallback-pricing.generated.json Synchronizes catalogue revision without pricing changes.
containers/​api-proxy/​model-api-mapping.test.js Checks mini’s reviewed routing metadata.
containers/​api-proxy/​model-api-mapping.json Ships regenerated proxy-native model mappings.
containers/​api-proxy/​model-api-mapping.js Exposes optional mode/default fields to consumers.

Review effort: Max (auto)

Comment on lines +33 to +35
const mapped = scope?.deployment === undefined &&
(scope?.channel === undefined || scope.channel === 'native-api')
? lookupModelRoutingMetadata(id, provider) : null;
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

⚠️ Coverage Regression Detected

This PR decreases test coverage. Please add tests to maintain coverage levels.

Overall Coverage

Metric Base PR Delta
Lines 93.81% 93.80% 📉 -0.01%
Statements 92.36% 92.35% 📉 -0.01%
Functions 93.02% 93.02% ➡️ +0.00%
Branches 86.70% 86.69% 📉 -0.01%
📁 Per-file Coverage Changes (2 files)
File Lines (Before → After) Statements (Before → After)
src/nvx/one-shot-process.ts 84.0% → 81.5% (-2.47%) 76.8% → 74.7% (-2.11%)
src/enclave/host-executor-server.ts 91.2% → 91.2% (+0.00%) 90.1% → 89.8% (-0.29%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ Smoke Claude passed

Generated by Smoke Claude for #11334

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

❌ Security Guard failed. Please review the logs for details.

Security Guard

Outcome: incomplete

The agent failed after emitting a no-op output. Task completion is unconfirmed; the no-op does not establish success or a transient failure.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Security Guard · auto (Claude Sonnet 5.5) · ~14 AIC · ⊞ 8.9K · ◷

Generated by Security Guard for #11334

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ Build Test Suite completed successfully!

Generated by Build Test Suite for #11334

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🔌 Smoke Services — All services reachable! ✅

🔌 Service connectivity validated by Smoke Services

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅

🛡️ Egress verdict from Smoke Copilot Network Isolation

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅

📡 OTel tracing validated by Smoke OTel Tracing

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

🔑 BYOK report filed by Smoke Copilot BYOK

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Cloud Hypervisor completed. Cloud Hypervisor + Copilot passed.

Cloud Hypervisor + Copilot smoke test by Smoke Cloud Hypervisor

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.

Tested by Smoke Chroot

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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

📰 BREAKING: Report filed by Smoke Copilot

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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

🔮 The oracle has spoken through Smoke Codex

@lpcox
lpcox enabled auto-merge (squash) November 9, 2026 03:43
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

EGRESS_RESULT allow=pass deny=pass

  • ✅ Allowed domain (api.github.com → 200)
  • ✅ Blocked domain (example.com blocked)

Overall: PASS — @lpcox

🛡️ Egress verdict from Smoke Copilot Network Isolation
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Smoke Copilot: PASS

  • ✅ GitHub MCP: "[WIP] Define trusted service-proxy support for LLM secret headers"
  • ✅ github.com: 200
  • ✅ File write/read

Author: @Copilot; assignees: @lpcox @Copilot

📰 BREAKING: Report filed by Smoke Copilot
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Smoke Test

  • PRs: ci: parallelize native release builds and packaging; feat: maintain Decisions compatibility in the canonical model catalogue ✅
  • PR details: ✅
  • Playwright title check: ❌
  • File write/read: ✅
  • AWF build: ✅
  • Overall: FAIL

🔮 The oracle has spoken through Smoke Codex
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Cloud Hypervisor + Copilot smoke test

  1. Merged PR lookup: PASS
  2. github.com connectivity: PASS (HTTP 200)
  3. File write/read: PASS
  4. example.com blocked: PASS (HTTP 000)

Overall: PASS

Cloud Hypervisor + Copilot smoke test by Smoke Cloud Hypervisor
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Smoke Test: Copilot BYOK (Direct Mode) — PASS ✅

  • ✅ GitHub MCP: PRs verified (11335, 11332)
  • ✅ GitHub.com HTTP: 200 OK
  • ✅ File I/O: smoke test artifact readable
  • ✅ BYOK Inference: Direct path via api-proxy → api.githubcopilot.com active

Mode: COPILOT_PROVIDER_API_KEY → api-proxy sidecar (real key held server-side)

Cc @lpcox

🔑 BYOK report filed by Smoke Copilot BYOK
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Smoke Claude Results

  • API status: ✅ PASS
  • GitHub check: ✅ PASS
  • File status: ✅ PASS

Overall result: PASS

Generated by Smoke Claude for #11334 · claude · haiku45 · ~35 AIC · ⊞ 6.3K · ◷
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Smoke services: ✅ Redis PONG · ✅ pg_isready · ✅ SELECT 1 — PASS

🔌 Service connectivity validated by Smoke Services
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

OTEL smoke test

  • ✅ S1 Module: otel.js loads; exports startRequestSpan, setTokenAttributes, setBudgetAttributes, endSpan, endSpanError, routerCallTracing, shutdown, isEnabled, ...
  • ✅ S2 Tests: 3 suites, 75/75 passed
  • ✅ S3 Env forwarding: trace ID/parent span ID in env-passthrough.ts; OTEL endpoint/headers/trace vars in api-proxy-env-config.ts
  • ✅ S4 Token tracker: onUsage hook present in token-tracker-http.js
  • ✅ S5 Diagnostics: otel.jsonl present (3.4 KB of telemetry)

📡 OTel tracing validated by Smoke OTel Tracing
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Chroot Version Comparison

Runtime Host Version Chroot Version Match?
Python Python 3.12.16 Python 3.12.16 ✅
Node.js v24.22.2 v22.23.2 ❌
Go go1.22.12 go1.22.12 ✅

Result: Not all tests passed. Node.js differs between host and chroot, so the smoke-chroot label was not added.

Tested by Smoke Chroot
Add label ready-for-aw to run again

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

🏗️ 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 ✅ pass ✅ PASS
Go env ✅ pass ✅ PASS
Go uuid ✅ pass ✅ PASS
Java gson ❌ 0/0 ❌ FAIL
Java caffeine ❌ 0/0 ❌ FAIL
Node.js clsx ✅ pass ✅ PASS
Node.js execa ✅ pass ✅ PASS
Node.js p-limit ✅ pass ✅ PASS
Rust fd ✅ 1/1 passed ✅ PASS
Rust zoxide ✅ 1/1 passed ✅ PASS

Overall: 7/8 ecosystems passed — FAIL

Java failure: Maven could not resolve plugins from Maven Central: maven-resources-plugin:pom:3.4.0 ... java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty. The JVM truststore is empty or unusable in this environment. An existing ~/.m2/settings.xml was present, and the default local repo was not accessible (LocalRepositoryNotAccessibleException). I retried with a disposable local repo and hit the truststore error.

.NET note: the first run failed on /run/user/1001 missing. It passed after I set DOTNET_CLI_HOME and XDG_RUNTIME_DIR to a temp dir.

Generated by Build Test Suite for #11334 · copilot · auto (Claude Sonnet 5.5) · ~25 AIC · ⊞ 5.9K · ◷
Add label ready-for-aw to run again

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.

feat: activate reviewed exact-model reasoning and context metadata after compatibility integration

3 participants