Skip to content

ADR 0004 phase 6: unify reasoning and directed protocol compatibility #10296

Backlog

Description

@lpcox

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.

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 /reflect containing 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 /reflect containing policy_denied -> explicit blocked report with retry: 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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions