Repository navigation
Activate reviewed exact-native reasoning and context metadata - #11334
Conversation
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>
b66e46d to
d2f4b31
Compare
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit a3af2ed |
|
✅ Security Guard completed successfully! Security GuardOutcome: 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.
|
|
🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅
|
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅
|
|
Testing chroot feature Smoke Chroot is validating functionality... |
|
🔌 Smoke Services — All services reachable! ✅
|
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓
|
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤
|
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 Smoke CodexOutcome: 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.
|
|
Smoke Cloud Hypervisor completed. Cloud Hypervisor + Copilot passed.
|
|
✅ Smoke Claude passed
|
|
✅ Build Test Suite completed successfully!
|
|
| 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
There was a problem hiding this comment.
🟡 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)
| const mapped = scope?.deployment === undefined && | ||
| (scope?.channel === undefined || scope.channel === 'native-api') | ||
| ? lookupModelRoutingMetadata(id, provider) : null; |
|
| 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
|
✅ Smoke Claude passed
|
|
❌ Security Guard failed. Please review the logs for details. Security GuardOutcome: 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.
|
|
✅ Build Test Suite completed successfully!
|
|
🔌 Smoke Services — All services reachable! ✅
|
|
🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅
|
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅
|
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓
|
|
Smoke Cloud Hypervisor completed. Cloud Hypervisor + Copilot passed.
|
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.
|
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤
|
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟
|
|
EGRESS_RESULT allow=pass deny=pass
Overall: PASS — @lpcox
|
|
Smoke Copilot: PASS
Author:
|
Smoke Test
|
|
Cloud Hypervisor + Copilot smoke test
Overall: PASS
|
|
Smoke Test: Copilot BYOK (Direct Mode) — PASS ✅
Mode: Cc @lpcox
|
Smoke Claude Results
Overall result: PASS
|
|
Smoke services: ✅ Redis PONG · ✅ pg_isready · ✅ SELECT 1 — PASS
|
|
OTEL smoke test
|
Chroot Version Comparison
Result: Not all tests passed. Node.js differs between host and chroot, so the
|
🏗️ Build Test Suite Results
Overall: 7/8 ecosystems passed — FAIL Java failure: Maven could not resolve plugins from Maven Central: .NET note: the first run failed on
|

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
2026-03-17snapshot:none, low, medium, high, xhigh; 400K context; optional effort, defaultnone.xhigh; 4.6 retains its negative exception. All three retain 1M context and gain evidenced optional effort/defaulthigh.Canonical data and boundaries
Consumer integration
/reflect.Verification