Split password widgets: :password-new :password-read
Implemented 2026-09-25 per the plan
(password-widgets-plan.org), no deviations. :widget :password
split by intent: :password-new (masked + confirm +
blank-keeps-current + autoComplete"new-password") for
stored secrets; =:password-read (single masked box, no
confirm, no placeholder, autoComplete"current-password")
for typing an existing secret. Old =:password abolished —
valid-widget-value fails the compile on strays (verified
live: scratch model with a stray :password signals "Unknown
:widget :PASSWORD" and enumerates the new vocabulary).
lisp/model.lisp:*widgets*now:password-new:password-read(replacing:password);:users:password→:password-new;:settings:current-password→:password-read,:new-password→:password-new. Also fixed a latent format-args bug invalid-widget-value(:~{~a~^, ~}= list was passed but never reachedformat— argument after~widgetwas consumed as thereport-e"args" terminator; now~*widgets*).web/src/App.tsx:WIDGET_VOCABULARYboth names; render branch keepspassword-newverbatim (two boxes) and addspassword-read(one box,current-passwordautocomplete); both submit gates andhandleActionconfirm gate match'password-new';handleActiondatawhitelist includes'password-read'; view-mode skip list adds it (nothing to display — no-column, value always nil); comments updated.tests/searchable-tests.lisp: "Secret" fixture →:password-new.tests/change-password-tests.lisp: newchange-password-widget-assignmentstest asserts the three compiled widgets (a misassignment compiles clean and keeps hook tests green, so the assertion is the only guard).- Docs:
model-reference.md(:widgettable row, two widget semantics bullets, abolished-values entry,:settingsbase-type row),hook-registry.md:change-passwordrow names the widgets; inference backlog item's:passwordline now →:password-new. - Frontend rebuilt (
npm run build). Fullrun-tests(after fix): 1832 checks / 32 groups, 0 fail. Live smoke via/api/list: settings update-formcurrent-passwordpassword-read/new-passwordpassword-new; users add-formpasswordpassword-new;:change-passwordvia/api/actionswrong-current → "Current password is incorrect", correct →completeand the new password logs in. No schema change: DDL untouched (verified by plan analysis;:uinever enterscreate-sql).
First run-tests (1834 checks, 0 fail) ran before the
format fix; the fix only changes the error message path
(no behavior change on valid models), and the rerun above is
post-fix.
- Slot
- 28300
- Status
- 60 Done
- Tags
- mvp, frontend, compiler, docs
- Contributors
- Donnie