You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: remove genuine dead code surfaced by aft_inspect dogfooding
Deletes verified-unreachable code (each checked: zero non-test callers, and the
replacing path confirmed):
- cli/lib/opencode-helpers + pi-helpers: buildModelSelection, groupModelsByProvider,
getProviders, filterModels, getStaticModels (+ STATIC_MODELS) — orphaned by the
setup-wizard overhaul that replaced the recommendation trees with model-picker.ts.
- cli/adapters/index: getAllAdapters, getAdaptersWithPluginRegistered,
getAdaptersPreferInstalled — unused (getAdapter/getInstalledAdapters are the live API).
- cli/lib/paths: getMagicContextTempDir wrapper (+ its core import) — never called.
- cli/lib/pi-package-entry: defaultPiPackageEntry — never called.
- cli/lib/logs-opencode: dead re-export of issue-body helpers (consumers import the
source module directly).
- dreamer/task-registry: isAgenticTask + AGENTIC_SET — vestigial after Dreamer V2
made verify/classify/map first-class non-agentic runners; only its own test used it.
- dreamer/task-executor: dangling isAgenticTask re-export.
- dreamer/retrospective-raw-provider: sameResolvedPath (+ node:path resolve import).
Left intact (NOT dead, AFT resolver/scope artifacts): the 67 Tauri commands
(macro-dispatch blind spot), barrel re-exports, and test-only-usage helpers
(getDreamRuns, getTaskScheduleStatesForProject) — captured in the AFT dogfood report.
Gate: plugin tsc + 177 dreamer tests, CLI 207 tests, biome clean.
Co-authored-by: Alfonso [Magic Context] <288211368+alfonso-magic-context@users.noreply.github.com>
0 commit comments