mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 06:25:20 +00:00
O painel `pnpm issues:tui` volta a enxergar o design UI depois do rename do
OPS114: `siblingPlanPaths` deriva `-ui-design.html` (vigente) e
`-ui-draft.html` (legado) e o novo `resolveUiDraft(planPath, exists)` — puro,
com a existência injetada pelo CLI — é dono da precedência (design vence,
draft é fallback, nenhum → design com `exists:false`). O `readPlans` sonda
design→draft no disco e o caminho REAL flui por `plansByNumber`/`buildIssueRow`
até o view model; o contrato `--json` segue `version: 1` com o shape
`{ path, exists }` e a chave histórica `uiDraft`. As superfícies do painel
trocam "rascunho UI" por "design UI".
Retrocompat é só de leitura — o acervo legado (30 `*-ui-draft.html`) não é
tocado. Unit dos dois specs cobre design-only, draft-only, ambos, nenhum, o
caminho real, body linkando o impl e o shape do JSON. Sem migration.
|
||
|---|---|---|
| .. | ||
| campanha | ||
| changelog | ||
| design-refs | ||
| ops | ||
| plans | ||
| postmortems | ||
| research | ||
| testing-audits | ||
| AGENT-OPS.md | ||
| ARCHITECTURE.md | ||
| CHANGELOG-AGENTS-HISTORY.md | ||
| CUSTOMER.md | ||
| CUTOVER-MAIN-ONLY.md | ||
| GUARDRAILS.md | ||
| IMPROVE-APP-PLAN.md | ||
| IMPROVE-CODE-QUALITY-PLAN.md | ||
| PAYLOAD-REFERENCE.md | ||
| roadmap.md | ||
| TECH-DEBT.md | ||
| TESTING.md | ||