teqo/src/utilities/homeSearch
Cursor Agent 9ae062c77c refactor(lib): close the lib→utilities type-import hole + Local API omission guard
- suggestionCatalog type-imports MunicipalityTerritorialClass from
  lib/territorialClassAnchors (the single source) instead of the
  utilities re-export — direction inversion introduced in Pass 3.
- ESLint src/lib zone: @/utilities|components|app restriction now rejects
  type imports too (allowTypeImports: false); shared types live in lib
  contract modules by policy.
- engagementLevel imports DAY_MS from lib/text (fold missed in P3-K).
- searchHomeAdvisors: delete stale 'Intentional admin bypass' comment —
  the call is overrideAccess: false under the staff gate.
- New guard localApiOverrideAccessConventions.unit.spec.ts: payload calls
  with user must declare overrideAccess (baseline measured: 59 calls, 0
  missing), and runtime dynamic import/require of payload/next server
  modules is banned in utilities (dodges the server-only sweep).
2026-07-31 13:17:10 -03:00
..
loadHomeSearchSuggestions.ts feat(campanha): add Demandas group to home global search (B53) 2026-07-30 12:39:35 -03:00
searchHomeActivities.ts B51: add Atividades group to staff home search. 2026-07-29 22:57:02 -03:00
searchHomeAdvisors.ts refactor(lib): close the lib→utilities type-import hole + Local API omission guard 2026-07-31 13:17:10 -03:00
searchHomeDemands.ts fix(campanha): keep demand search secondary formatter module-private 2026-07-30 12:43:47 -03:00
searchHomeLeaderships.ts B55 — Busca global: ações de linha (WA e compartilhar) 2026-07-30 22:47:03 +00:00
searchHomeMunicipalities.ts feat(campanha): add Demandas group to home global search (B53) 2026-07-30 12:39:35 -03:00
searchHomeStateDeputies.ts B52: add Dobradinhas group to staff home search. 2026-07-29 22:52:35 -03:00
searchStaffMunicipalityHits.ts B60: wizard municipality search step with shared staff loader. 2026-07-29 23:10:06 -03:00