ADR 0004 phase 9: remove legacy model tables after parity and release gates
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github, node.js, typescript
調査の方向性
Start by reviewing ADR 0004 Gate 9 and the completed implementations in src/copilot-model.ts and containers/api-proxy/{model-utils.js,ai-credits-pricing.js,model-api-mapping.js,runtime-model-catalog.js}. Verify the prerequisite phases, downstream adoption, release evidence, and compatibility approval before considering cleanup. Done means all acceptance criteria and operational readiness evidence are satisfied, with generated projections and supported compatibility contracts preserved.
索引モデルが issue の本文から書いたものです。
説明
Objective and dependencies
Implement ADR 0004 Gate 9. Parent: #10290. Blocked by unfinished Phases 4-7 (#10294, #10295, #10296, #10297), downstream adoption, a stable release of the remaining high-risk migrations, and explicit compatibility-window approval. Phase 8 (#10298) is delivered. Do not start destructive cleanup merely because prerequisite PRs merged.
Readiness reconciliation (2026-10-31 UTC)
Foundations #10301/#10310/#10317 and lifecycle readers #10360 are merged. #10681 has now shipped canonical identity resolution, bundled naming and packaged shared logic; #10757 changes unpriced usage to warnings; #10763 adds bounded compatible HTTP recovery. All three are included in v0.29.1.
Phase 8's scheduled source upkeep, human-review PRs, automatic publication and authenticated-loader handoff are delivered (#10439/#10466/#10473/#10494/#10624/#10634), with recurring successful runs and published-consumer evidence. Do not describe the updater, producer, loader or naming boundary as unstarted, or build replacements.
Removal is still not ready. Remaining Phase 4 overlays/actual-harness eligibility/compiler round trips, Phase 5 complete resolver/import-scope/shadow parity, Phase 6 reasoning/directed compatibility and Phase 7 full export/downstream adoption have not been established. github/gh-aw#70728 remains open. A stable release containing partial migrations does not meet all release/parity/compatibility-window gates.
Preserve legacy curated/import fallback consumers and required adapters until their replacement criteria are proved. Preserve #10757's explicit unpriced-warning/possible-undercount behavior and #10763's reviewed recovery limits/opt-outs; cleanup must not restore superseded rejection rules or broaden substitutions. Publication v1 remains pricing-only in authority and naming remains bundled. Keep this issue open; no broad deletion is authorized.
Additional merged progress, unchanged removal gate (2026-11-04 UTC)
#10878 completed shared scoped eligibility/consumer/re-evaluation slice #10877 (released in v0.29.5). #11057/#11064 merge shared observation wiring and Cloud Hypervisor primary-guest version evidence, with sbx-specific additions removed. They are not yet in latest release v0.29.6. Deterministic packaging/consumer fixtures do not establish live supported-runtime parity.
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.
Do not delete shared eligibility/observation interfaces or useful characterized tests as obsolete. Docker/ARC-DinD and NVX producers, enclave/opaque/session enforcement, compiler overlays, full pricing/reasoning/export parity, adoption and compatibility approval remain open. Unsupported sbx status is not authorization for global historical backend deletion. Feed harness constraints stay disabled; no legacy removal criterion is completed by this reconciliation.
Scope
Inventory and remove duplicated canonicalizers, mirrored retirement/replacement maps, independently maintained pricing ownership, duplicated mapping ownership, exception-list sync tests, temporary shadow paths/flags, and direct consumers of raw runtime records. Preserve generated compatibility projections and readers wherever a still-supported external contract requires them. Replace pairwise table-sync assertions with canonical compiler/staleness and consumer contract coverage, not less coverage.
Entry points: migrated modules in src/copilot-model.ts, containers/api-proxy/{model-utils.js,ai-credits-pricing.js,model-api-mapping.js,runtime-model-catalog.js}, existing sync/retirement/pricing tests, export/package consumers, updater paths, and temporary migration flags. Inspect the actual completed implementations before deleting anything.
Required readiness evidence
- Link merged phase PRs, representative old/new parity evidence, stable release identifiers, and agreed compatibility-window approval.
- No unresolved high-risk shadow mismatch; intentional behavior corrections are documented and tested.
- gh-aw and router-training use canonical exports with validated accounting/effort parity, or retain required compatibility readers and leave this phase open.
- Rollback remains possible through an identified previous release and documented operational procedure; runtime downloads never modify bundled assets.
Acceptance criteria
- Every model-fact consumer reads a generated projection or shared resolver; no handwritten independent source table or duplicate canonicalization remains.
- Legacy code removal retains public
/reflectmeanings, persisted/package contracts within the approved support window, and the legacy unversioned overlay input contract until its own migration/deprecation is approved. - Delete transitional shadow flags only after their rollout requirements are met; retain valuable characterization fixtures as regression/contract tests.
- Verify source-to-projection generation, stale-output CI, built/container/package inclusion, host/proxy lifecycle agreement, accounting, routing, and translation rejection end-to-end.
- Exercise offline/blocked-feed startup, stale/expired fallback, import scope, policy/harness exclusions, unknown efforts, and sanitized reflection/logging after cleanup.
- Run affected root and separate proxy suites, build/type-check, and appropriate integration/packaging checks; update docs to the final ownership and contributor workflow.
Non-goals
No forced expiry of supported contracts, new model-selection behavior, changes to the current reviewed guard, unpriced-warning or recovery rules, separate /reflect/v2, or unrelated refactor. Close the parent only when all phase criteria and operational readiness evidence are satisfied.
- 主要言語
- TypeScript
- スター
- 169
- フォーク
- 89
- 平均マージ
- 5時間 18分
- マージ済み PR(30日)
- 450
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/gh-aw-firewall のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
github/gh-aw-firewall#12415 ·
メンテナーはふだん 1 日以内に返信
-
code-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/gh-aw-firewall#12411 ·
メンテナーはふだん 1 日以内に返信
-
code-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
github/gh-aw-firewall#12345 ·
メンテナーはふだん 1 日以内に返信
-
[Duplicate Code] Repeated lstat identity-swap stub and fixture setup in src/nvx/live-mount-policy.test.ts対応中かも @lpcox が 1 日前に担当しました。 オープンcode-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
github/gh-aw-firewall#12023 · リアクション 1 件 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
-
awf-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/gh-aw-firewall#11612 ·
メンテナーはふだん 1 日以内に返信
github/gh-aw-firewall の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
activepieces/activepieces#17974 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
OHDSI/Data2Evidence#3777 ·
メンテナーはふだん 3 日以内に返信
-
bug enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AOSSIE-Org/PictoPy#1802 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Termix-SSH/Plugin-Snippets#26 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
agent-reported bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nightly-labs/openbot#20504 ·
メンテナーはふだん 1 日以内に返信