teqo-backup/docs/plans/cl9-list-unified-flag-cleanup.md
Francisco Ignácio Fontoura Solla 224eaf5c47 CL9 — retire LIST_UNIFIED; always render OpsListPage
Drop the dual-path list flag so the eight staff list routes share one shell wiring path, matching the OH14 always-on hybrid cleanup.
2026-08-02 02:30:28 -03:00

1 KiB
Raw Blame History

CL9 — Limpeza da flag LIST_UNIFIED

Status: implementado Atualizado em: 2026-08-02 Issue: — Priority: P2 Model: composer-2.5 Impeccable: A — N/A (limpeza) Appetite: ~0,5 dia eng Depends: CL8, OH14 Responsável: —

Decisão

Remover a flag e manter só OpsListPage. Justificativa: as 8 rotas v1 já migraram (CL3–CL8); dual-path só aumentava complexidade; prod ainda em desenvolvimento (mesmo critério OH14). Sem Issue GitHub — chore directo pós-CL8.

Entrega

  • Apagado resolveListUnifiedEnabled / opsListFlag.ts / LIST_UNIFIED (next.config, .env.example, Playwright).
  • 8 pages de lista sempre renderizam <OpsListPage …/> (sem ternário OFF / CampaignListPendingBoundary legado na rota).
  • Pins unit/e2e sem gate de env; saved filters municípios cobertos pelo suite principal.
  • Spec-mãe lista-unificada-campanha-spec.md → Status: implementado.

Fases verificáveis

  • pages + config + delete flag
  • tests + docs + CHANGELOG
  • pnpm gate:fast + knip + cycles