MEGAINFRA-WEBAPP/src
DEls 5cccff9a77 feat(ask): load workers from lists, sheets, PDFs and photos
src/lib/agent/people-match.ts's matchPeople matches on employee number
first, then normalised full name (case/accent/spacing/hyphen
insensitive, so "André" == "Andre" and "Nkosi-Dlamini" == "Nkosi
Dlamini"), then surname + first initial as "likely" — ambiguous
surname+initial pairs report "none" rather than guess. The
match_workers tool wraps it: typed names, or a previously-read
attachment's sheet (name/employee-no/id-number columns picked by
header text). The prompt's worker-loading recipe wires it to
read_attachment -> match_workers -> propose_changes, refusing to
re-create an exact match.

Live check skipped: needs the full chat pipeline (thread persistence),
which needs ask_threads (not yet applied). Covered by unit tests,
including Afrikaans/Zulu name variants and the ambiguous-match case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 18:58:05 +02:00
..
app feat(ask): propose, confirm, apply and undo changes 2026-09-26 18:54:06 +02:00
components feat(suppliers): green-row tint, period filter, and KPI tiles 2026-09-26 17:38:39 +02:00
hooks fix(auth): remove the ?demo=1 PIN bypass 2026-09-26 17:37:20 +02:00
lib feat(ask): load workers from lists, sheets, PDFs and photos 2026-09-26 18:58:05 +02:00
mcp
types feat(clock): in-app PWA install prompt with Chrome + iOS branches 2026-09-14 11:17:54 +02:00