Commit graph

1039 commits

Author SHA1 Message Date
Cursor Agent
3a2928278e
style: format CL4 page files 2026-08-01 22:48:20 +00:00
Cursor Agent
1398768670
CL4 — migrar lideranças, dobradinhas e demandas para OpsListPage
Delega as três rotas à factory unificada atrás de LIST_UNIFIED,
seguindo o padrão CL3 de municípios: slots extraídos (toolbar, overview,
table, footer) com paridade total quando a flag está OFF.

- lideranças/dobradinhas: sort summary no slot overview, sheet provider na tabela
- demandas: chips de status no toolbar, sem redirect canónico (sort fixed)
- testes unitários estendidos em opsListPage.unit.spec.ts

Closes #158

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:47:37 +00:00
Francisco Solla
79f62d62b6
Merge pull request #185 from fsolla/cursor/pool-i157-a2dcfb84-a88a
CL3 — OpsListPage/OpsListView + municípios na arquitetura nova (tracer)
2026-08-01 19:44:39 -03:00
Francisco Solla
d088bcfa9a
Merge pull request #184 from fsolla/cursor/pool-i165-4845d5e3-104f
OH3 — Benchmark do snapshot completo + política de truncamento
2026-08-01 19:42:16 -03:00
Cursor Agent
4f5366780f
CL3: record delivery changelog and close plan status
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:31:19 +00:00
Cursor Agent
45eaabd23c
CL3: align provider nesting and tighten OpsList types
Wrap the estimate-scenario provider outside both flag paths, type empty
as nullable, and drop the duplicated fail-closed unit assertion.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:31:07 +00:00
Cursor Agent
4d035017f2
CL3: OpsListPage/OpsListView tracer for municípios list
Introduce the unified list shell (OpsListView slots + OpsListPage
server casca) and wire /campanha/municipios behind LIST_UNIFIED with
flag-OFF parity and shared domain pieces as slots.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:29:08 +00:00
Cursor Agent
e3c7ea297f
style: format OH3 benchmark files 2026-08-01 22:27:25 +00:00
Cursor Agent
5de3aeeb2e
OH3: pin snapshot policy constants + simplify benchmark script
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:26:44 +00:00
Francisco Solla
4c16c76a2c
Merge pull request #182 from fsolla/cursor/pool-i156-cc5b501f-ae59
CL2 — opsListRegistry + tipos + flag + slugs v1
2026-08-01 19:24:54 -03:00
Cursor Agent
3a8c1ab3ed
docs(plans): mark OH3 done with measured truncation policy
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:23:09 +00:00
Cursor Agent
c5905bf92c
OH3: benchmark ops snapshot script + truncation policy (50/municipality)
Adds scripts/benchmark-ops-snapshot.mjs with assertLocalDatabase guard,
per-collection bytes/gzip/query timing, municipality_update truncation
(--rows municipality_update=N, default 50), and prod projection anchored
on the 2026-08-01 ~4 MB JSON measurement.

Closes the OH3 acceptance: gzip target ≤ ~2 MB with 50 updates/municipality.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:23:03 +00:00
Francisco Solla
3b02314b9b
Merge pull request #181 from fsolla/cursor/pool-i163-4e2a0b32-3a91
OH2 — lib/campaignOps contrato puro + merge + flag
2026-08-01 19:19:38 -03:00
Cursor Agent
e0fdc2594e
CL2: add opsListRegistry, LIST_UNIFIED flag, and unit pins
Introduce client-safe metadata registry for the eight v1 campaign list
domains (municipios through organizacoes) per lista-unificada spec CL1.
Add resolveListUnifiedEnabled for the LIST_UNIFIED env flag. Unit tests
pin slug order, route paths, columnListId allowlist, and flag behavior.

Closes #156

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:14:52 +00:00
Cursor Agent
7fd1133843
test: pin campaignOps contract exports for knip 2026-08-01 22:09:25 +00:00
Cursor Agent
322d593758
style: prettier campaignOps modules 2026-08-01 22:08:38 +00:00
Francisco Solla
a777c721d8
Merge pull request #180 from fsolla/cursor/pool-i155-a99a7d1e-82a9
CL1 — Lista unificada campanha — spec-mãe + resolução de conflitos
2026-08-01 19:08:05 -03:00
Cursor Agent
7515d2a959
OH2 — lib/campaignOps contrato puro + merge + flag
- DTOs client-safe em src/lib/campaignOps/opsContract.ts
- mergeOpsSnapshot/diffOpsIds com proteção de outbox
- resolveOpsHybridEnabled + OPS_MIRROR_SCHEMA_VERSION
- Pins unit em tests/unit/campaignOps.unit.spec.ts

Closes #163

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:07:54 +00:00
Cursor Agent
151f9c1c9c
CL1: remover marcadores de conflito no CHANGELOG 2026-08-01 22:06:38 +00:00
Cursor Agent
84ffa1b499
CL1: formatar planos com Prettier 2026-08-01 22:04:25 +00:00
Cursor Agent
2216822ca8
CL1: travar spec-mãe da lista unificada + SSOT para CL2
Fecha o rascunho: inventário as-built, 8 slugs com gates reais,
conflitos por domínio, index CL2–CL8 e acoplamento OH. CL2 passa
a citar a tabela canónica em vez de duplicá-la.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:04:25 +00:00
Francisco Solla
de2b96d4de
Merge pull request #179 from fsolla/cursor/pool-i164-1f1ab038-7615
OH1 — Ops híbrido RSC/local — spec-mãe e critérios
2026-08-01 19:04:11 -03:00
Cursor Agent
60419ee952
OH1 — format Prettier na spec-mãe 2026-08-01 22:02:42 +00:00
Cursor Agent
bef2b824df
OH1 — aprova spec-mãe Ops híbrido RSC/local (#164)
Trava arquitectura (mirror + GET ops-sync + full-only + CAS opt-in),
mapa OH2–OH14, orçamento/poll e critérios de aceite do projecto.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 22:01:29 +00:00
Francisco Solla
6a67400712
Merge pull request #178 from fsolla/cursor/agent-skills-addyosmani
Agent skills (addyosmani) + plan-issue skills map
2026-08-01 18:56:28 -03:00
Francisco Ignácio Fontoura Solla
c2d78ae566 Track Claude Code skill symlinks for addyosmani pack
Commit .claude/skills → .agents/skills links so Claude Code resolves the same installed pack; keep settings.local.json local-only.
2026-08-01 18:54:56 -03:00
Francisco Ignácio Fontoura Solla
2a69c2efed Add addyosmani agent skills and wire plan-issue to them
Install the engineering skill pack under .agents/skills with skills-lock entries, and extend plan-issue with a skills map plus decision/template hooks.
2026-08-01 18:53:54 -03:00
github-actions[bot]
eb5bff10d9
Merge pull request #177 from fsolla/cursor/plans-cl-oh-ops-hybrid
Planos CL1–CL8 + OH1–OH14 — lista unificada e ops híbrido
2026-08-01 21:52:31 +00:00
Francisco Ignácio Fontoura Solla
5fd6f38369 Planos CL1–CL8 (lista unificada) e OH1–OH14 (ops híbrido RSC/local)
Regista as specs executáveis dos dois projetos com issues linkadas
(#155–#176): consolidação das listas staff numa factory única atrás
de flag, e a migração de ops para híbrido RSC/local com mirror,
outbox e CAS — ambos com continuidade online garantida por flag.

Related #155
2026-08-01 18:51:03 -03:00
Francisco Solla
8741eb5151
Merge pull request #154 from fsolla/cursor/pool-i149-d8165a59-5947
B110 — Wizard return path via allowlisted from query
2026-08-01 18:04:14 -03:00
Francisco Solla
ab910b499b
Merge pull request #153 from fsolla/cursor/pool-i148-3c37da6e-2281
B109 — Bottom drawer: dock polish, fullscreen search, exclude current entity
2026-08-01 18:03:27 -03:00
Cursor Agent
1ae714613f
Fix wizard back link: drop municipio, keep from query 2026-08-01 20:50:03 +00:00
Francisco Solla
64e7be699f
Merge pull request #152 from fsolla/cursor/pool-i150-ccf81e9f-a156
B111 — Início strip edge-to-edge + delta flat silencioso
2026-08-01 17:49:38 -03:00
Cursor Agent
ae3cfffb5a
fix(B109): fullscreen drawer uses dedicated snap + 100dvh height 2026-08-01 20:49:32 +00:00
Cursor Agent
2e3740ef3f
Format B110 wizard return path changes 2026-08-01 20:40:04 +00:00
Cursor Agent
d5697bcfcb
B110 — wizard return path via allowlisted from query
Propagate return path from quick actions through the B98 wizard chain so
dismiss, skip, and chain end navigate back to the originating page instead
of always redirecting to Início.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 20:39:24 +00:00
Cursor Agent
fcd0206da6
chore: prettier format (B109) 2026-08-01 20:38:53 +00:00
Cursor Agent
490d5deeb7
B109 — bottom drawer: fullscreen search, wider labels, exclude current entity
- Add QUICK_ACTIONS_SNAP_FULL; drawer expands on search focus and hides action strip
- Tighten dock bottom gap; restore dock/collapsed on blur per scroll position (B100)
- Widen CampaignHomeActionButton to w-[5.5rem] for two-line labels
- Client-side filter excludes current page entity from drawer search hits
- Unit + e2e coverage for full snap, exclusion, and label readability
2026-08-01 20:38:10 +00:00
Cursor Agent
7a0f9ffed5
B111 — strip edge-to-edge bleed + silent flat delta on Início
- Allow horizontal bleed on home-actions retraction shell (overflow-y-hidden
  instead of overflow-hidden) so -mx-4 is not clipped by the chrome wrapper.
- Hide HomeSummaryDelta chip and period caption when delta is 0 or null;
  add shouldShowHomeSummaryDelta helper and unit pins.

Closes #150

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 20:36:19 +00:00
Francisco Solla
5c21552621
Merge pull request #151 from fsolla/cursor/plans-b109-b111
B109–B111 — planos mobile drawer, wizard return e Início polish
2026-08-01 17:33:12 -03:00
Francisco Ignácio Fontoura Solla
1a4b5b6273 docs(plans): register B109–B111 mobile drawer and Início polish
Capture confirmed product feedback as trackable plans linked to #148–#150.
2026-08-01 17:07:04 -03:00
Francisco Solla
7317eb335a
Merge pull request #147 from fsolla/cursor/pool-i143-27c538e8-dc86
B108 — Wizard autofocus do 1º input + destaque do último cenário focado
2026-08-01 16:17:22 -03:00
Cursor Agent
19fb7ca76d
Format campaignWizardShell unit spec 2026-08-01 19:03:35 +00:00
Cursor Agent
ef4cef8c4c
Fix vote estimate compact highlight test assertion
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 19:01:12 +00:00
Francisco Solla
5cdcda98b9
Merge pull request #146 from fsolla/cursor/pool-i141-1ce99b5a-0b74
B106 — Início mobile — Voltar no header + Android back + skeleton das sugestões
2026-08-01 15:59:53 -03:00
Cursor Agent
a52a622ba5
B108 — wizard autofocus first input + active scenario highlight
- CampaignWizardShell: contentFocus prop skips title focus on form steps
- Wizard steps with inputs: contentFocus=none + autoFocus on first field
- VoteEstimateScenarioInputs compact: highlight follows activeScenario
- Municipality list compact overlay tracks focused scenario for highlight
- Unit tests for shell focus mode, compact classes, and votes step

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 18:59:42 +00:00
Francisco Solla
97ae71b0fe
Merge pull request #145 from fsolla/cursor/pool-i142-0f38ef32-58e4
B107 — Wizard município — sem título + busca sticky + skeleton
2026-08-01 15:57:38 -03:00
Francisco Solla
7e99bce9a5
Merge pull request #139 from fsolla/cursor/pool-i132-dfca371b-fa84
B105 — Bottom drawer — handle, gesto, scroll, peek discreto, labels 2 linhas
2026-08-01 15:55:18 -03:00
Cursor Agent
593b2273c2
style: prettier e2e wizard specs 2026-08-01 18:45:01 +00:00
Cursor Agent
ca18ce0f17
test(e2e): wizard município sem h1 visível (B107) 2026-08-01 18:44:39 +00:00