mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-27 06:13:06 +00:00
Decision: remove compile-time OPS_HYBRID after OH11/OH13 green in CI/staging. Staff hybrid sync is gated only by isStaffCampaignRole in the app layout; OfflineBoundary swaps to Local when the browser is offline. - Delete opsHybridFlag.ts and legacy formAction branches in staff controls - E2e offline specs run in CI without OPS_HYBRID env - Update ops-hibrido spec to implementado + offline write recipe Closes #175 Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
1.2 KiB
1.2 KiB
OH14 — Limpeza da flag OPS_HYBRID + documentação final
Status: implementado Atualizado em: 2026-08-02 Issue: #175 Priority: P1 Model: composer-2.5 Impeccable: A — N/A (limpeza/docs) Appetite: ~0,5–1 dia eng Depends: OH13, OH11 Responsável: —
Decisão (OH14)
Opção A — remover a flag e ligar sempre para staff. Justificativa: OH11 (e2e offline + SW) e OH13 (writes CAS por domínio) verdes em staging/CI; prod ainda em desenvolvimento; a flag compile-time só servia rollout seguro durante OH2–OH13.
Entrega
- Apagado
resolveOpsHybridEnabled/OPS_HYBRID(next.config,.env.example, Playwright). CampaignOpsSyncProviderliga porisStaffCampaignRoleno layout;OfflineBoundarysó verifica offline do browser.- Ramificações legacy OFF removidas dos forms/controles staff; e2e offline corre em CI sem env.
- Spec-mãe
ops-hibrido-rsc-local-spec.md→Status: implementado+ receita “nova write offline”.
Fases verificáveis
Fase 1 — Decisão + aplicação
- decisão no PR (staging verde OH11/OH13)
knip/ cycles limpos; e2e semOPS_HYBRID
Fase 2 — Doc de referência
- plano-mãe em “implementado” + receita de nova write offline
- CHANGELOG-AGENTS entrada final