Remap GUARDRAILS.md to public issue numbers (#48/#49/#50/#54), remove the
slug argument from getMunicipality(), expand the sheet-host guard to all
variant=sheet surfaces, and pin WebAuthn call-site order.
Cold reload left IndexedDB/OPFS intact when executor/store singletons
were null. Wipe adapters directly, clear both mirror backends, and
always revoke the session even if storage wipe fails.
Ledger + plan for the 2026-08-02 audit (offline/hybrid delta since Pass 4):
P0 logout wipe, P1 hybrid/CAS, remapped miss provenance, and P2 workstreams.
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
Clarify that new Issues track work and do not fence closed-ticket code, and replace brittle className layout assertions with structure/data-slot contracts.
Move horizontal padding from the scroll container into layout slots so the action strip can bleed edge-to-edge while summary and search keep consistent inset; add drawer bottom spacer and h-auto height.
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>
Move TanStack mirror row collections out of opsMirrorClient so
opsDomainOutbox can update them without a madge cycle through
collectOpsDomainOutboxKeys.
After dropping the dead outbox enqueue paths, mark the still-shipped
createActivity/membership/stateDeputy Cas wrappers @public so knip
does not delete them while hybrid callers are unfinished.
Remove dead createActivity / stateDeputy / membership outbox
mutationFns and model types flagged by knip; keep the four live
enqueue paths and logout/key helpers.
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
Add baseUpdatedAt CAS on domain staff writes, assertCampaignDocCas helper,
opsDomainOutbox with hybrid forms (Manter/Usar), and int/unit pins.
Closes#176.
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
useBrowserOffline now returns false through SSR/hydration so online
controls (Salvar filtro) stay clickable; OfflineBoundary Local swap still
waits for mount + navigator.onLine.
Reuse opsListLocalCopy for saved-filter gates, drive OfflineBoundary from
useBrowserOffline, drop dead registry null-check and unused exports, and
tighten municipality Local sorting/casts.
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
Wire OfflineBoundary + OpsListLocal on the eight ops list routes. Local
reads the ops mirror with subscribeChanges, applies canonical URL parsers
for filter/sort/page, and keeps KPIs/edit/saved-filter writes honest
offline. Extract demand/organization list URL modules for client use.
Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>