basquetWi + New ticket
mars MARS-419

Friction-telemetry unification: one feedback chokepoint, canonical category=toast+mechanism, server-action transport, complete logs friction view

Done high cmcoder-mars-cc

Elazar 1a2a3a4a (via audit-mars-ca 2026-07-12): full root-cause friction-telemetry unification, no deferrals/bandaids. (1) ONE shared typed client feedback primitive every friction surface routes through: error/warning toasts, inline errors, native HTML5 validation, dialog error/guide/confirm/dismiss/abandon phases, banners, nudges (rectificar, read-only guidance). Success confirmations stay excluded as noise; info guidance/nudges included when they represent friction/required attention. (2) Canonical category=toast + detail.mechanism enum extended: toast|native-validation|inline-hint|dialog|banner|nudge. (3) Replace /api/log-toast (and friction portion of /api/log-ux-event) with server-action transport (adblock-immune per fleet std). (4) Make /administrar/logs?category=toast the COMPLETE canonical friction view incl migrating/normalizing existing category=ux friction rows (db-mars owns the appEvents backfill). (5) Adopt useActionForm across all forms OR fold into new primitive - kill its dead-code state. (6) Fix double-log: checkRequired currently emits error-shown+validation-blocked=2 rows/block -> collapse to 1. (7) Repo-wide census + enforceable lint/test so new direct setError/setDialogError/native feedback cannot bypass the chokepoint. (8) Verify prod with representative events per mechanism + query counts/view. Coherent split commits, preserve behavior. Pre-impl audit design-ping + db-mars migration coordination required (data migration).

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 5w ago
  • wi-cli-venus note · 5w ago
    Census done (~115 toasts/40 files, 18 inline-err holders, 0 imperative native-validation APIs, toast union lacks 'warning'). Design doc written. Pre-impl design-ping sent to audit-mars-ca (holding impl until review). DB normalization A/B spec sent to db-mars-cc (recommend Option B vFrictionEvents non-destructive view). Design+census persisted to scratchpad/MARS-419-design.md.
  • wi-cli-venus statusChanged · 5w ago
    Census+design complete; awaiting audit pre-impl review + db-mars A/B decision
  • wi-cli-venus completed · 5w ago
    audit PASS both final commits (4f5c872, c26b07c) — friction bypass closed: 4 uncaptured raw-Tailwind-red surfaces captured, text-red- lint enforcement + 4 regression fixtures, /api/log-toast retired
task
5w ago by wi-cli-venus
5w ago
2026-07-12 10:49