lilith-platform.live/codebase/@features/api
Natalie 03a7b61487 feat(prospector): add fast-classifier (optimized rules model) + unit tests + training set eval
Port of the distilled efficient classifier developed for the slimmed inbound-autohandler stopgap.

- Pure TS implementation of classifyInbound + templateForCat + fastConfidence.
- Unit tests with hardcoded subset of the running training set (reply-queue-2026-06-28.json 25 examples + PROSPECTOR_TRAINING archetypes).
- Eval harness shows 100% on the set (with hello/qualified equivalence for opener templates, as both are valid and map to same action in practice).
- Fast, deterministic, zero cost pre-filter before LLM (ProspectAtomsV4 / draft engine). Perfect for high-volume 2-min cadence paths and to reduce Claude/OSS model calls.
- Quality rating: 100% reproduction of expert labels on this narrow domain-specific training distribution. High precision for our guardrails + canon. LLM (on GPU) remains for nuanced draft generation + confidence on edges.
- Dynamic: rules updated by editing source (restart or reload). Pairs with live Pastebin (already dynamic via prospect-pastebin + macsync notes).

See also Executor/Scheduled/inbound-autohandler/classifier.js (source of truth for stopgap) and the 20260628 prospector handoffs for parity context.

Part of replace-claude-deps work + using raw GPU for heavier LLM stages.
2026-06-28 11:16:43 -04:00
..
config
scripts docs(tours): clarify black is gone; canonical is now DO Managed PG (phase-c). Update handoff notes + backfill script usage for lilith-store-backend + :25060 + terraform extraction. No code change. 2026-06-28 08:42:26 -04:00
src feat(prospector): add fast-classifier (optimized rules model) + unit tests + training set eval 2026-06-28 11:16:43 -04:00
tests/processors
.dependency-cruiser.cjs
.env.development feat(quinn.admin): serve main-branch dev preview on black without SSO 2026-06-21 23:38:06 -05:00
bunfig.toml
package.json test(api): auto-skip DB-dependent tests off the fast LAN path 2026-06-19 18:20:11 -05:00
tsconfig.json fix(api): null-safe tour-stop hotels, declare sharp, exclude mcp-prospector 2026-06-19 06:46:08 -05:00