Commit Graph

18 Commits

Author SHA256 Message Date
tlg
f40a5bb0f8 fix(projekt-matching): store outgoing mail copies in Sent via IMAP append 2026-07-14 09:38:12 +02:00
tlg
9ca7767208 fix(projekt-matching): final-review fixes — safe redeploy, poison-mail hardening, plan deviations note
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 17:15:39 +02:00
tlg
a36ea14b84 fix(projekt-matching): nice-heading exception in extract prompt; lock enable_thinking in tests
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 16:09:58 +02:00
tlg
cef4041500 fix(projekt-matching): disable thinking for structured vLLM calls; retry non-JSON responses
With the vLLM qwen3 reasoning parser active, json_schema guided decoding
plus thinking degenerates: runs burn the whole 65k context
(finish_reason "length", ~63k completion tokens) and return empty or
truncated content. chat_template_kwargs {"enable_thinking": false} fixes
it (extract answers in ~35 s). Also: retry chat_json up to 3x on
non-JSON content, and two prompt calibrations verified against both
gate examples — Nice signal words bind only to their own line (following
unmarked lines stay Must), and compound requirements with clear evidence
for one part rate "unknown" instead of "no".

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 15:48:55 +02:00
tlg
20796b3a68 fix(projekt-matching): retry chat_json on empty/unparseable vLLM completion 2026-07-09 15:33:11 +02:00
tlg
cf088f0bd3 fix(projekt-matching): add Date and Message-ID headers to outgoing mail 2026-07-09 15:06:55 +02:00
tlg
d500b46abe fix(projekt-matching): normalize unknown statuses, alert failure cannot block trash
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 11:20:30 +02:00
tlg
a64b0398ae feat(projekt-matching): flow-1 ingest with lock, dedup, dispatch, alert aggregation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 11:14:59 +02:00
tlg
2f321aecc6 fix(projekt-matching): verify teamsIds/account equality in read-back; always post trace 2026-07-09 11:12:06 +02:00
tlg
2032305d90 feat(projekt-matching): flow-2 stages with gate, CRM verify, notification, langfuse trace 2026-07-09 11:06:11 +02:00
tlg
11b5675eab feat(projekt-matching): Cfg dataclass, IMAP mailbox with keyword/trash handling, SMTP send 2026-07-09 11:02:05 +02:00
tlg
b9133a2416 fix(projekt-matching): correct stale llm.py docstring 2026-07-09 10:59:14 +02:00
tlg
9cbdd2e28c fix(projekt-matching): use response_format json_schema (vLLM 0.22 ignores guided_json) 2026-07-09 10:55:23 +02:00
tlg
a7f94914d0 feat(projekt-matching): vLLM guided-json client with extraction and matching prompts 2026-07-09 10:44:59 +02:00
tlg
501f30edab feat(projekt-matching): EspoCRM client with dedup helpers and retries 2026-07-09 10:17:39 +02:00
tlg
6c4cd1a4c3 feat(projekt-matching): mail parsing, project splitting, canonical URLs 2026-07-09 10:11:25 +02:00
tlg
3bbf6631fd feat(projekt-matching): deterministic misc rules, match calc, description markdown 2026-07-09 10:07:47 +02:00
tlg
963fe45a25 feat(projekt-matching): scaffold package, venv, pytest smoke 2026-07-09 10:02:38 +02:00