feat(audit): component re-audit + fixes P0–P5 (P4 complete, P5 in progress)
Re-audit of the whole component catalog at pilot depth (91 fichas + the
checkpoint verdicts in docs/audit/components/) and the executed fix packages.
- P0–P3: doctrine (sema participation, CANON §3 intent, component-guide §5 +
API naming, §32 outline), guards (morfo-vocabulary-check S10/S11d,
component-audit A-3.1/A-1.4/S9, eidos-lint classHooks), morfo contracts
(role=application removed ×4, aria-selected off the Day, drp translationRef,
field data-state prune, pin-input commit-set, media-player renames), 13 new
sema packs + 12 morfos family-default → pack.
- P4 (N1–N10) COMPLETE: selectionMode (select/combobox/toggle-group/calendar);
onValueCommit terminal-callback norm (pin-input/search/password/textarea +
date/time/color-field add); typed validation reason + onInvalid (tags-input,
css-field); index/onIndexChange (carousel); deselectable; openDelay/
groupSkipDelay; allowCustomValue; defaultValue prune.
- P5 (in progress): S1 class-hooks codemod (22 hooks → data-attrs across
cropper/button/image-picker/toggle/image-adjustments); S5 outline remnant in
field.css; depth pass (data-depth=overlay on tooltip/toast/float-panel);
touch-rows (--touch-target token, decoupled ::before hit-slop, area-not-visual,
44 AAA). S6 (Field composition) + S8 (calendar-surface) pending.
Verification: errors-outside-(alpha|words|palabras|chronos) == 59 (baseline);
morfo-vocabulary-check exit 0; eidos-lint class-hooks/invalid 0 on touched
components; per-component vitest suites green.
Handoff + remaining plan: docs/process/continue-audit-fixes-2026-07.md
Excluded (broken by the N1 rename, left broken per user decision, not staged):
words/**, palabras/**, chronos, web/routes/alpha/**.
Reconciliation pending: the touch-rows ::before for checkbox/switch reverses
changelog §37's earlier pseudo-element rejection (WCAG-overlap) that had routed
markers to a labeled-row/Field task — flagged for the user in the handoff.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
3 months ago
|
|
|
|
# gradient-picker — ficha de auditoría (RE-AUDITADA 2026-07-07, profundidad piloto)
|
|
|
|
|
|
|
|
|
|
|
|
- **Familia**: pickers (iniciativa gradient 2026-06-27) · **Método**: solo análisis · demos fuera
|
|
|
|
|
|
- **Capas leídas**: [morfo](../../../src/uix/morfo/components/gradient-picker.ts) (162 líneas; expression :19, eventos :29-53+) · pack ✓ existe
|
|
|
|
|
|
- **Máquina**: NEEDS-WORK — `F-1.1`–`F-1.4` (expediente pre-flight ausente) · `A-1.4` (sin APG) · tests **0** *(reglas D-\* de demo fuera de alcance)*
|
|
|
|
|
|
|
|
|
|
|
|
## Dimensiones (evidencia leída)
|
|
|
|
|
|
|
|
|
|
|
|
| # | Dimensión | Estado | Evidencia |
|
|
|
|
|
|
|---|---|---|---|
|
|
|
|
|
|
| 3 | Coherencia semántica | ✓ con **contradicción de vocabulario** | Eventos propios: `commit-reset` neutral (:29-35) + **`commit-save` FULFILL** (:42-48 — guardar a presets = fulfill, coherente con la doctrina del cierre terminal ✓) + `commit-remove`; **F-1**: declara `expression: 'delegated'` (:19 = "expression lives in children's packs") teniendo 3 eventos PROPIOS y pack PROPIO — la declaración miente; debería ser `'pack'`. El guard `morfo-vocabulary-check` NO lo caza (su regla :37-41 da OK con solo existir el pack, sin cruzar coherencia expression↔pack) |
|
|
|
|
|
|
| 9 | A11y | gap | Sin APG (stops draggables ≈ slider multi-thumb) → F-3 |
|
|
|
|
|
|
| 14 | Docs+tests | **gap doble de proceso** | Expediente pre-flight nunca escrito (F-1.1–1.4) + **cero tests** — la iniciativa quedó a medias (SYS-9) |
|
|
|
|
|
|
| 6 | Sema | ✓ | Pack propio ✓ (funciona pese a F-1: el engine registra por cascada, no por expression) |
|
|
|
|
|
|
| resto | | ✓ | README ×2 ✓ |
|
|
|
|
|
|
|
|
|
|
|
|
## Hallazgos y propuestas
|
|
|
|
|
|
|
|
|
|
|
|
| ID | Hallazgo | Propuesta |
|
|
|
|
|
|
|---|---|---|
|
|
|
|
|
|
| **F-1** | `expression: 'delegated'` contradice pack+eventos propios | Cambiar a `'pack'` + **guard**: vocabulary-check debe FAIL con pack-existe∧expression≠'pack' y WARN con pack-existe∧sin-expression → SYS-11 (d) |
|
|
|
|
|
|
| **F-2** | Expediente pre-flight ausente | Escribir las 4 secciones — con gradient-builder en una sesión |
|
|
|
|
|
|
| **F-3** | Sin APG | Declarar (slider multi-thumb) |
|
|
|
|
|
|
| **F-4** | Cero tests | Suite provider (stops add/remove/drag, ángulo, tipo) — SYS-2 |
|
|
|
|
|
|
|
|
|
|
|
|
## Escalan al sistema
|
|
|
|
|
|
|
|
|
|
|
|
SYS-2 · SYS-9 · **SYS-11 (d) nuevo: coherencia expression↔pack sin guard** · censo A-1.4.
|
|
|
|
|
|
|
|
|
|
|
|
## Veredictos
|
|
|
|
|
|
|
|
|
|
|
|
*(pendiente — checkpoint post-barrido)*
|