4 Commits

Author SHA1 Message Date
hungtran24
b1f6643796 refactor: score synchronously and drop webhook/background execution
POST /v1/lead-scoring/score now evaluates in the request, applies an overall
AI deadline, and stores the completed run only after scoring. Idempotency is
kept by (app_id, account_id, request_id) with a body fingerprint.

Removes the webhook outbox, scheduler/recovery loop, app lead_scoring
permission, credential audit events, seed_demo and generate_secret scripts,
and the tests that covered them. Trims tests to behavior of the new flow.
2026-10-09 02:44:24 +07:00
hungtran24
ec9f0f911e feat: update admin web for app access and AI fixture previews
Replace tenant-key administration with app access listing and revocation. Show the canonical conversation and rules before submitting a fixture, support opt-in medium AI scoring, and keep credentials server-only.
2026-10-02 10:57:31 +07:00
hungtran24
cfdc997211 feat: add internal admin flows and fixture runner 2026-09-28 23:11:02 +07:00
hungtran24
156e7af7d8 feat: add internal SvelteKit admin web 2026-09-25 09:55:44 +07:00