ADR 0004 phase 6: unify reasoning and directed protocol compatibility
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
Start with the Phase 4 eligibility integration in containers/api-proxy/reasoning-effort-validation.js, model-api-mapping.js, and model-resolver.js; inspect the routing, classifier, translator, and #10030 exact-model fixtures named in the issue. First confirm Phase 4 (#10294) is complete, then trace how the current paths resolve reasoning and protocol support. Done means the acceptance criteria pass, including directed compatibility tests and shadow comparisons before activation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Objective and dependencies
Implement ADR 0004 Gate 6. Parent: #10290. Reconciled on 2026-11-10 UTC against merged PRs, AWF v0.29.11, and trusted live-smoke artifacts. Shared reasoning and directed compatibility are implemented and released; broader exact-model coverage and compiler/downstream integration must not be inferred from that delivery. Avoid taking ownership of pricing logic.
Delivered implementation and release boundary
#10317 supplies canonical/staged records; #10681, #10763 and #10878 supply shared identity, bounded recovery and scoped eligibility/re-evaluation. Reuse these foundations.
- #11320 delivers shared immutable exact-model reasoning decisions for direct validation and automatic routing. Runtime evidence precedes maintained evidence within its exact scope; unknown direct support retains existing pass-through behavior, while automatic choices require understood support. Raw future efforts, provenance and request pins are preserved.
- #11325 delivers six executable directed translator contracts with per-feature conditions, implementation hashes and actual request/response fixtures. Native support, request translation and return-response directions are distinct; known semantic losses are characterized, not declared lossless.
- #11328 wires actual-request compatibility assessment into automatic fallback/recovery and exposes captured accepted/skipped/exhausted decisions through existing
/reflect. Incompatible or unverified automatic candidates are conservatively skipped; existing direct/native behavior and policy/budget authority remain. - #11334 activates reviewed exact-native GPT-5.4 mini/snapshot and Opus 4.6/4.7/4.8 reasoning/context corrections. #11332 adds narrowly scoped Decisions compatibility evidence; it does not establish unsuffixed Copilot support.
- #11312 adds reviewed accounting families. Those families are not reasoning, capability, availability or replacement evidence.
These slices are included in AWF v0.29.11. gh-aw v1.2.2 pins that AWF release; #11412 upgrades this repository's compiled workflows. A compiler version bump does not establish end-to-end diagnostics acceptance.
Live agent utilization acceptance
#11371 introduces the real Copilot/Claude/Codex smoke; #11429 adds bounded sanitized failed-assertion/request-shape evidence; #11431 fixes the request-only initial handoff and clarifies correction versus permanent denial. The latter harness fixes postdate v0.29.11.
Run 42904995184, at 6454ec273f0289ed5788475495d22a42c606ff15, passed the provider-free gate and all six real-agent Docker scenarios:
- Each recovery: exact initial HTTP 400
unsupported_reasoning_effort-> successful GET/reflectcontaining that rejection -> effort-only correction -> HTTP 200; exactly two target POSTs, one target upstream request and verified nonce-derived result. - Each denial: exact HTTP 403
model_policy_violation-> successful GET/reflectcontainingpolicy_denied-> explicit blocked report withretry: false; one target POST and zero upstream requests.
This establishes observable diagnostic utilization with real pinned CLIs, production proxy/diagnostics and a deterministic challenge upstream. It is not proof that /reflect was causally necessary, that real upstream models support every capability, or that the released gh-aw/AWF pair was exercised: the smoke builds the exact source SHA and invokes agents outside compiler-generated execution. Earlier failed runs remain historical evidence, not the current acceptance verdict. Raw historical request payloads and Claude's historical stop cause remain unproven.
Remaining integration and coverage boundaries
#10030 remains open. Do not equate the reviewed #11334 subset with complete coverage of all specialized GPT, Fable/Mythos or Haiku variants. Governed imports and source retrieval do not establish native/Copilot support.
#10294, #11091, #11092 and #11068 are now closed. Their state alone does not establish every acceptance criterion: the Phase 4 body still contains unchecked compiler/overlay criteria, and github/gh-aw#70728 remains open without linked implementation/round-trip acceptance in its body. Verify that handoff before assigning duplicate work or claiming completion. The Docker diagnostics pass does not establish NVX, KVM or actual Kubernetes ARC acceptance, per-enclave attribution, or opaque-session evidence.
User-confirmed supported targets: cloud-hypervisor, nvx, docker, and arc/dind only. ARC/DinD is a Docker deployment topology, not a separate runtime backend. sbx is unsupported; historical enum/backend names (including runc/gVisor/Kata) are not additional product support targets. Do not count sbx coverage toward phase completion or plan new sbx work.
Scope
Make routing, direct-request validation, and reflection-facing data use the same resolved reasoning/capability record. Preserve raw provider efforts while mapping only understood values into selectable router choices; unknown values survive ingestion/export with a non-selectable reason. Resolve exact-model capability refinements over family defaults and preserve explicit unknown/unsupported/conditional states.
Model protocol support separately from translation: native, AWF-translatable, lossy, unsupported, unknown. Declare each directed source→target protocol pair, per-feature conditions, and translator capability revision. Connect enforcement rejections to declared requirements; endpoint availability alone proves neither lossless translation nor reverse-direction support.
Entry points: containers/api-proxy/{reasoning-effort-validation.js,model-api-mapping.js,model-resolver.js}, routing/classifier modules and request/response translators, Phase 4 eligibility, and #10030 exact-model fixtures.
Acceptance criteria
- Supporting identity and bounded-recovery integration uses canonical names and rejects unknown feature support in recovery candidates. #10681/#10763. This does not satisfy the broader reasoning/translation criteria below.
- Shared scoped eligibility/re-evaluation decision and reasons are available to reasoning consumers. #10878; this does not complete their reasoning/translation migration or backend observation coverage.
- Direct validation and automatic routing consume shared exact-model reasoning decisions with scoped evidence and request pins. #11320. Direct unknown-support pass-through remains intentional; automatic selectability requires known understood support. Complete all-runtime harness enforcement is not inferred.
- Preserve raw future efforts and provenance while excluding unknown efforts from selectable automatic choices. #11320.
- Exact positive/negative fixtures cover the ADR's specialized GPT variants, GPT-5.4 Mini, Opus 4.6 vs 4.7/4.8, Fable/Mythos vs Mythos Preview, and Haiku 5.5; do not infer support from family/endpoint names.
- Executable directed feature contracts cover the six implemented translator directions and explicitly characterize conditions, rejections and known losses. #11325. These are not universal native-model or reverse-direction support claims.
- Automatic fallback/recovery assesses the actual request against directed contracts, skipping incompatible/unverified candidates with explicit evidence. #11328. Broader translator/native semantics remain bounded by the characterized implementations.
- Preserve existing direct/native translator behavior rather than silently promising losslessness; automatic substitutions are admitted only under the reviewed compatibility assessment. #11325/#11328.
- Shared decisions and compatibility assessment are active with regression-backed direct/routing/fallback coverage. #11320/#11328. Do not reintroduce an indefinite old-authoritative shadow migration as a prerequisite for already reviewed activation.
- Existing
/reflectexposes sanitized current metadata and captured request reasoning/compatibility outcomes. #11323/#11328; no/reflect/v2. - Real Copilot, Claude and Codex each pass recovery and denial utilization in the source-built Docker smoke. Run 42904995184; #11371/#11429/#11431.
- Establish equivalent release-pinned, compiler-generated workflow acceptance; do not relabel the source-built direct-CLI pass as that evidence.
- Verify remaining compiler-overlay/downstream integration and the exact-model coverage still tracked by #10030 before closing the broader phase.
Non-goals / handoff
No new model-selection policy, marketing-name inference, raw provider export, or duplicate capability tables. Keep transitional adapters for Phase 9; give export consumers the shared resolved contract.
- Ngôn ngữ chính
- TypeScript
- Star
- 169
- Fork
- 89
- Merge trung bình
- 5 giờ 18 phút
- Pull request đã merge (30 ngày)
- 450
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/gh-aw-firewall
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/gh-aw-firewall#12415 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/gh-aw-firewall#12411 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
code-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github/gh-aw-firewall#12345 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Duplicate Code] Repeated lstat identity-swap stub and fixture setup in src/nvx/live-mount-policy.test.tsCó thể đã có người làm @lpcox đã nhận 1 ngày trước. Đang mởcode-quality refactoring
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
github/gh-aw-firewall#12023 · 1 reaction · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
awf-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/gh-aw-firewall#11612 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của github/gh-aw-firewall
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
activepieces/activepieces#17974 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
OHDSI/Data2Evidence#3777 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
AOSSIE-Org/PictoPy#1802 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Termix-SSH/Plugin-Snippets#26 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-reported bug from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nightly-labs/openbot#20504 ·
Maintainer thường phản hồi trong vòng 1 ngày