Implement ADR 0004: unified model information subsystem
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- github, typescript
Línea de trabajo
Start with the linked ADR and Phase 1 issue #10291, then inspect the listed Phase 2–9 sub-issues and their prerequisite implementations. The work spans schemas, projections, lifecycle consumers, pricing, compatibility, /reflect, updater workflows, and gated legacy removal. Done means the final parity, validation, release, and compatibility gates in this tracking issue are met; this issue itself plans and tracks implementation.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Goal and binding scope
Implement ADR 0004: Model information management, replacing independent model tables with validated canonical sources, shared provider-qualified resolution and deterministic consumer projections.
Reconciled 2026-11-10 UTC against merged PRs, stable releases and trusted real-agent smoke artifacts. This replaces the November 4 status/assignment snapshot; historical runs are evidence only for their exact revisions and scopes.
User-directed reflection amendment: expose new model information additively through existing /reflect. Preserve existing fields/meanings. No /reflect/v2, endpoint negotiation or v2-to-v1 fallback. Versioned input/catalogue/export schemas remain applicable.
User-directed scope correction: this is model management, not a new execution-security architecture. Keep model schemas, scoped overlays, source handling, shared eligibility, ordinary harness-version checks through existing backends, accounting, reasoning/compatibility, exports and maintenance. No new kernel/native hardening, process/controller authentication, protected launch/attestation, private execution-plan transport or immutable runtime closure is a prerequisite. Preserve existing sandbox/network/security controls. Missing runtime evidence remains explicit unknown/unverified evidence.
Supported targets: cloud-hypervisor, nvx, docker and arc/dind only. ARC/DinD is a Docker deployment topology; sbx is unsupported. Do not treat historical backend enums as additional product targets. Preserve the user-directed Cloud Hypervisor/NVX-before-Docker/ARC validation priority when planning broader runtime work; the Docker diagnostics smoke below is not acceptance of those observation/enforcement boundaries.
Phase plan and current status
| Phase | Current evidence | Delivered and remaining boundary |
|---|---|---|
| 1: #10291, complete | #10301; #10032 closed | Characterization of legacy identity/pricing/routing/reflection/persistence. Later intentional corrections are not retroactively called legacy parity. |
| 2: #10292, local foundation complete | #10310 | Canonical schemas, provider-qualified identity and configured-catalogue compatibility. Compiler/config handoff remains a distinct integration boundary. |
| 3: #10293, complete | #10317 | Reviewed sources, governed imports, offline deterministic compiler and generated projections/staleness checks. |
| 4: #10294, issue closed; remaining contract evidence explicit | #10360/#10681/#10763/#10878/#11057/#11064/#11072 | Lifecycle/naming, scoped eligibility/re-evaluation and observation producers are delivered. Runtime children #11091/#11092/#11068 are closed. Closure alone does not establish all original unchecked overlay/harness criteria; verify actual evidence and the open compiler companion rather than relaunch completed tasks. |
| 5: #10295, open; authoritative pricing delivered | #10494/#11113/#11117/#11157/#11164 | Shared authoritative resolver, maintained fallback source, exact-decimal/rational accounting and warned same-backend family/backend median estimates are active. #11111 is closed. Do not assign initial shadow activation or a second pricing resolver. Retain broader coverage/integration boundaries. |
| 6: #10296, shared reasoning/compatibility delivered; broader coverage open | #11320/#11325/#11328/#11332/#11334 | Shared exact-model reasoning, executable directed translator contracts, actual fallback admission and diagnostic outcomes are active. Reviewed exact-native subset is activated; #10030 remains open. |
| 7: #10297, agent-facing diagnostics delivered; broader exports/adoption open | #10494/#10681/#11323/#11328; live run below | Existing /reflect exposes actionable current metadata and captured outcomes. Real three-engine utilization passes. Full persistence/package/downstream contracts are not inferred; an operator CLI is not the next agent-behavior priority. |
| 8: #10298, complete within reviewed publication scope | #10439/#10466/#10473/#10494/#10624/#10634 and reviewed refreshes | Upkeep proposals, validation, human review, atomic publication and authenticated-consumer handoff delivered. Feed publication is not remote naming/availability authority or completion of all later phases. |
| 9: #10299, not ready | Released migrations above | Remaining migrations, downstream adoption, stable-release/integration evidence and explicit compatibility-window approval still gate broad legacy removal. |
#10029 (pricing/availability) and #10030 (reasoning/context) remain open coverage requirements, not parallel sources of truth. Reviewed imports, source retrieval or a generated row do not prove every correction is active.
Released implementation
AWF v0.29.11, published November 9, includes:
- #11113/#11117: authoritative shared pricing and canonical maintained fallback sources.
- #11157/#11164: exact-decimal/rational accounting and warned missing-price estimation from eligible same-backend donors.
- #11312: nine reviewed accounting families covering 22 of 56 bundled identities; remaining identities are explicitly unknown. Accounting families establish no reasoning, capability, availability or replacement permission.
- #11320: immutable scoped exact-model reasoning shared by direct validation and automatic routing. Direct unknown-support pass-through remains intentional; automatic selectability requires known understood support. Raw future efforts and provenance are preserved.
- #11325: six directed executable translator contracts with per-feature conditions, known semantic losses and implementation revisions. Native support and reverse directions are not inferred.
- #11328: actual-request compatibility admission for automatic fallback/recovery and captured accepted/skipped/exhausted outcomes through
/reflect. - #11323: bounded actionable model-decision diagnostics distinguishing current metadata, captured request outcomes and aggregate accounting.
- #11334: reviewed GPT-5.4 mini/snapshot and Opus 4.6/4.7/4.8 exact-native reasoning/context facts; not complete #10030 coverage.
- #11332: scoped Decisions compatibility evidence; unsuffixed Copilot support remains unknown.
- #11371: initial real Copilot/Claude/Codex diagnostics smoke.
gh-aw v1.2.2, published November 10, pins AWF v0.29.11 and MCPG v0.5.6. #11412 recompiles this repository's workflows to that compiler. Version inclusion is not compiler-to-AWF payload adoption or live acceptance of the released pair.
#11429 and #11431 are merged after v0.29.11: sanitized smoke failure evidence and exact initial-request handoff/recovery guidance respectively. They do not change production model decisions. #11425's primary-agent Cloud Hypervisor routing is also merged after that release; it is not released v0.29.11 support or live microVM routing acceptance.
Live agent utilization acceptance
Run 42904995184, at 6454ec273f0289ed5788475495d22a42c606ff15, passed the provider-free gate and all six real-agent Docker scenarios:
| Agent | Effort recovery | Policy denial |
|---|---|---|
| Copilot | Pass | Pass |
| Claude | Pass | Pass |
| Codex | Pass | Pass |
Trusted artifacts establish for each engine:
- Recovery: exact initial POST -> HTTP 400
unsupported_reasoning_effort-> GET/reflect200 with that rejection -> effort-only corrected POST -> HTTP 200; exactly two target POSTs, one target upstream request and verified nonce-derived result. - Denial: exact POST -> HTTP 403
model_policy_violation-> GET/reflect200 withpolicy_denied-> explicit blocked report withretry: false; one target POST and zero upstream requests.
The fixture uses the real production server/diagnostics and deterministic challenge inference; each agent's own inference uses the normal credential-isolating sidecar. Host grading, not agent self-report, establishes the pass. Exact-request/chronology/no-retry checks, resource bounds, isolation and sanitized artifacts remain intact.
Boundary: this proves observable diagnostics utilization with real pinned CLIs on source-built Docker AWF. It does not prove that /reflect was causally necessary, real-provider capability support, normal compiler-generated execution, released-artifact acceptance, KVM/NVX/actual Kubernetes ARC behavior or per-enclave/opaque-session attribution.
Earlier runs 42678673312 and 42896199716 passed only Copilot denial. The second established four initial request mismatches before proxy transformation and a separate Claude no-correction outcome. The raw historical payload and Claude's historical stop cause remain unproven; do not relabel hypotheses as root cause.
The earlier released-loader run 40236788522 verified authenticated loading, offline cache and terminal-denial behavior, but used provider pricing rather than proving central-feed billing. Dated updater/publication successes do not establish uninterrupted current health.
Source ownership and invariants
- Reuse
shared/model-information/, canonical sources, governed imports and deterministic projections.npm run models:generate/npm run models:checkown generated outputs; ordinary generation/check remains offline. Do not rebuild foundations, updater, loader, identity resolver or shared pricing/reasoning decisions. - Naming/alias/accounting-family rules are bundled. Remote pricing refresh cannot rename requests, switch backends, establish availability or activate staged reasoning/limit facts. New remote semantics require a reviewed versioned producer/consumer contract.
- Preserve scoped authority, request pins, exact accounting and explicit unknown/stale/incomplete evidence. Missing-price estimates are warned, use only eligible same-backend donors and count toward budgets. No-donor exclusions remain explicit; do not fabricate free usage or zero-price success.
- Preserve reviewed bounded recovery and opt-outs. Policy/auth/rate-limit failures are not permission to substitute a model. Automatic substitutions must satisfy eligibility, reasoning and actual-request compatibility; opaque WebSocket sessions are not blindly rewritten/replayed.
- Do not infer guest/container versions from host tools, transfer primary-agent evidence to enclaves or equate runtime support with observed compatibility. Unsupported feed harness constraints remain rejected; this reconciliation does not activate them.
- Existing reviewed cutovers are authoritative. The user rejected indefinite shadow migrations; do not recreate an old-authoritative shadow gate for work already activated with regression-backed coverage. Preserve documented intentional corrections rather than restoring superseded policy.
Immediate next work
- Establish release-pinned, compiler-path acceptance of the same six recovery/denial contracts using explicit gh-aw/AWF versions and actual released CLI/runtime artifacts. The source-built pass above is not a substitute. Implementation is authorized in an isolated worktree; live dispatch is not authorized by that implementation request.
- Verify and complete the bounded compiler/config overlay handoff tracked by github/gh-aw#70728. It is still open without linked implementation/round-trip completion in its body. Phase 4 is closed despite retaining unchecked handoff criteria; reconcile evidence before duplicating implementation or declaring completion. Indexed searches alone do not prove code absence.
- Keep #10029/#10030 exact-model coverage and #10297 broader exports/downstream adoption explicit. Prioritize improvements to agent behavior; do not introduce a new operator CLI as the next diagnostics prerequisite.
- Validate broader runtime observation/enforcement only under its exact scope and existing priority. Do not reopen closed runtime tasks solely from this old tracker text or count the Docker diagnostics pass as KVM/NVX/ARC acceptance.
The remaining proposed handoff is model-information frontmatter -> versioned AWF modelInformation, with original bounded/sanitized provenance, scoped contributions, explicit source/offline settings, strict conflicts/version rejection and real round trips. Do not invent incompatible fields, release floors or a new protected execution ABI. Preserve the reviewed rendered-size and transport constraints.
Validation and completion
Use targeted root and separate proxy tests, build/type-check where applicable, deterministic canonical regeneration/staleness checks, exact-model positive/negative fixtures, actual consumer/packaging coverage and source/offline/version rejection tests. Source fixtures, released packaging and real live deployment are distinct evidence categories.
Do not close phases with unresolved acceptance requirements, delete broad legacy adapters, activate unsupported feed constraints, redesign NVX invocation, run paid inference, dispatch workflows or change model/security policy merely because this tracker was reconciled. Such effects require their own explicit scope and authorization.
- Lenguaje dominante
- TypeScript
- Estrellas
- 169
- Forks
- 89
- Merge medio
- 5 h 18 min
- PR fusionados (30 d)
- 450
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/gh-aw-firewall
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
github/gh-aw-firewall#12415 ·
Los mantenedores suelen responder en 1 día
-
code-quality refactoring
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
github/gh-aw-firewall#12411 ·
Los mantenedores suelen responder en 1 día
-
code-quality refactoring
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
github/gh-aw-firewall#12345 ·
Los mantenedores suelen responder en 1 día
-
[Duplicate Code] Repeated lstat identity-swap stub and fixture setup in src/nvx/live-mount-policy.test.tsPosiblemente ocupada @lpcox la tomó hace 1 día. Abiertocode-quality refactoring
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
github/gh-aw-firewall#12023 · 1 reacción · 2 asignados ·
Los mantenedores suelen responder en 1 día
-
awf-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/gh-aw-firewall#11612 ·
Los mantenedores suelen responder en 1 día
Todos los issues de github/gh-aw-firewall
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
activepieces/activepieces#17974 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
OHDSI/Data2Evidence#3777 ·
Los mantenedores suelen responder en 3 días
-
bug enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
AOSSIE-Org/PictoPy#1802 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Termix-SSH/Plugin-Snippets#26 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
agent-reported bug from-app needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
nightly-labs/openbot#20504 ·
Los mantenedores suelen responder en 1 día