Macky
ffb7cdda31
[verified] fix live-QA UX: no JSON leak in chat, greeting openers (wrong_text cools off post-first-reply), auto-close+summarize on buy/walk/try, remove Finish button
2026-08-18 09:42:05 +07:00
Macky
2c40fc7502
feat(import): commit S4.4 JSON→PostgreSQL importer + API error-handler hardening
...
Re-verified staged increment from a clean requirements.lock.txt venv:
- 330 backend tests pass (17/17 in new error_handlers + json_import tests)
- compileall + frontend npm build clean
- git diff --check clean; no secrets in diff
- importer CLI dry-run bootstrap works
Includes JSON HTTPException handler under /api/* and parse-safe static 404
via abort. JSON stores remain runtime-authoritative; production operation
still gated behind operator approval.
2026-08-16 07:42:32 +07:00
Macky
dbfce9aa54
[verified] harden Sales Trainer and add PostgreSQL foundation
2026-08-16 02:41:10 +07:00
Macky
6811dc1db9
docs: refresh HANDOFF + add 2026-08-09 engineering-log entry (idea-flow, live QA, LLM-judge decisions, persona variant)
2026-08-09 19:18:10 +07:00
Macky
e5a59dbc5c
docs: record 3-tab UI build-out (admin dashboard + date filter, personal dashboard, training difficulty, settings)
2026-08-07 22:36:43 +07:00
Macky
aec596d1d6
docs: record real 'wrong password after logout' fix (verify resolves username OR email)
2026-08-07 21:02:23 +07:00
Macky
7d778d780d
docs: record login-after-setup root cause (deployment data persistence)
2026-08-07 20:21:00 +07:00
Macky
9c646173ca
docs: record final Docker fix (prebuilt dist, no npm in image) in engineering log
2026-08-07 19:47:15 +07:00
Macky
681561c22a
docs: update account flow (username admin/1234 + forced setup) in README/HANDOFF/engineering-log
2026-08-07 18:04:18 +07:00
Macky
ff0f680090
[verified] Security hardening + UX/UI polish
...
Security (requesting-code-review pipeline + independent reviewer):
- Fix path traversal on file upload (basename sanitize + resolve-containment)
- Fix IDOR: org + owner scoping on all group/chat routes (_authorize_group/_get_owned_group),
hide other users' personal groups in listings
- Remove XSS via v-html in Chat task (text interpolation)
- Add test_security.py (traversal + cross-user denial) — all pass
UX/UI (ui-ux-pro-max + frontend-dev-verification):
- Global: focus rings, 44px touch targets, hover/press transitions, input focus glow,
prefers-reduced-motion, skeleton loaders, empty states, back links, spinner
- Login: password toggle, autocomplete, spinner, disabled-when-empty
- Cards lift on hover; dashboard skeleton + empty state; analyze button spinner
All backend tests pass (m0/m1/routes/security/e2e); frontend builds; served SPA verified via curl.
2026-08-07 16:00:43 +07:00
Macky
c3d31c06e2
Sales Trainer v0.1: corporate sales-training simulator (Flask+Vue, 15 personas, chat simulator, judge, analytics)
...
- Auth/roles (no self-reg), admin user provision, JWT
- Analyze: sales kit + initial pain-fit from form/upload
- Persona generator: 15 personas (5/tier) w/ pain variety, negotiation, init mode, channel, latent/revealable, wrong_text special
- Chat simulator: per-mode initiation, one-shot, hidden signals, judge-LLM debrief+coaching
- Trainee loop: win/lose board, weak-areas, user-generated personas
- Admin analytics; EN+TH Vue SPA served by Flask
- Deploy: Dockerfile, docker-compose, README, eng-log + HANDOFF
- Tests (mock LLM): m0/m1/routes/e2e all pass
2026-08-07 15:31:06 +07:00