feat(brownfield): Phase 1 Quick Wins bundle [ARCH-004 + FE-010 + FE-003] - #67
Open
UNIFY-MC wants to merge 1 commit into
Open
feat(brownfield): Phase 1 Quick Wins bundle [ARCH-004 + FE-010 + FE-003]#67UNIFY-MC wants to merge 1 commit into
UNIFY-MC wants to merge 1 commit into
Conversation
3 quick wins do brownfield discovery 2026-05-23 — items doáveis sem tocar V2 produção nem V5 produção (V5 lang attr adiado para PR separado). ARCH-004 — Documentar apps/truth/ + apps órfãs em CLAUDE.md root: - apps/truth/ (port 5181, React 19+Tailwind, Truth Engine UI, ADR-V11-005) - apps/discord-bot/ (Deno+Fly.io) - apps/discord-bot-cf/ (Cloudflare Workers+DO standby) - apps/cli/ (Ink TUI 6 comandos) - Deploy target apps/truth: local-only (adiado para depois consolidação Swarm v9) FE-010 — Chave tema unificada 'proptech-theme' (todas as apps partilham): - apps/dashboard/src/App.jsx: substitui 'dashboard-theme' por 'proptech-theme' - apps/v4-energia/src/App.jsx: substitui 'v1theme' por 'proptech-theme' - apps/v4-energia/index.html: pre-React tema com chave unificada - apps/v4-energia/src/styles/tokens.css: comentário actualizado - Migração TRANSPARENTE da legacy key (lê legacy → guarda unified → remove legacy) - Zero breaking changes para utilizadores existentes FE-003 — Acessibilidade A11Y básica (lang BCP 47): - apps/dashboard/index.html: lang='pt' → lang='pt-PT' (PT específico vs PT-BR) - apps/v4-energia/index.html: idem - apps/v5-manutencao/index.html: ADIADO (produção, PR separado quando Mário aprovar) - apps/v2-condominios/index.html: INTOCÁVEL (Regra D4) DEFER (PR separado futuro): - DB-018 (codigos_postais policy): tabela existe em V2 produção, requer aprovação Mário - OPS-005 (desactivar migrar-faturas EF V2): V2 INTOCÁVEL - V5 lang attr: produção, mudança trivial mas requer aprovação V5 maintainer - V2 lang attr: produção crítica prataowners.pt Resolved: 3 quick wins do brownfield Phase 1 plan. Restantes Phase 1 quick wins (~5): requerem aprovação V2/V5 separada. Refs: brownfield Phase 1 Quick Wins, ARCH-004, FE-010, FE-003 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CLAUDE.mddas apps órfãs (apps/truth/,apps/discord-bot/,apps/cli/) que existiam no filesystem mas não estavam mapeadas no contexto canónico do repo.localStoragepara'proptech-theme'emapps/dashboardeapps/v4-energia(migração transparente a partir das chaves legacyv1theme/v4theme, zero breaking changes para utilizadores existentes).lang="pt-PT"no<html>deapps/dashboardeapps/v4-energiapara conformidade A11Y (BCP 47) e melhoria de acessibilidade/SEO.Test plan
apps/dashboardem browser → verificar<html lang="pt-PT">e toggle dark/light mode a persistir emlocalStorage['proptech-theme']apps/v4-energiaem browser → mesma validação (lang + theme key)localStorage['v1theme']oulocalStorage['v4theme']já definido mantêm a preferência após a migração (sem flash de tema errado)CLAUDE.mdreflecte estrutura real do repo (apps/truth + apps/discord-bot + apps/cli documentados)DEFER — PRs separados futuros
Os seguintes items do brownfield Phase 1 ficaram fora deste bundle por requerem aprovação humana adicional:
codigos_postais— V2 produção INTOCÁVEL (eozklslwfaqujaijvdnl), aprovação Mário obrigatóriamigrar-faturas— V2 produção INTOCÁVEL, requer trigger explícito do Márioapps/v5-manutencaoestá em produção (proptech-v5-alpha), separar para validação Preview dedicadaRefs
apps/dashboard(Vercelproptech-agentic-ops) +apps/v4-energia(futuroproptech-v4-alpha)prataowners.pt) não afectada