6 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
2268b6a77a feat: replace tenant auth with app-scoped scoring access
Add app credentials, account-scoped idempotency and per-app terminal notifications. Consolidate the unreleased migration baseline, preserve rule descriptions as AI context, and regenerate provider contracts with regression coverage.
2026-10-02 10:56:58 +07:00
hungtran24
9cd27caa24 feat: complete Lead Scoring backend and Omni notification contract 2026-09-28 23:10:28 +07:00
hungtran24
5f77f68100 feat: add Lead Scoring v2 backend and contract 2026-09-25 09:55:25 +07:00
hungtran24
81c3de8087 chore: archive legacy implementation and document rebuild 2026-09-25 09:54:57 +07:00
hungtran24
9d90440e54 chore: initialize AI Platform repository 2026-09-14 09:57:12 +07:00