feat: mail-triage via llm-connect (no host Claude)

Add LLMConnectClient and mail-triage: CSV metadata → OpenRouter-backed
llm-connect JSON plan → deterministic mail-log apply + commit. Server path
for Binky mail intake on Railiance (BINKY-WP-0006).
This commit is contained in:
tegwick 2026-07-22 00:05:23 +02:00
parent 66ccd4fa01
commit 7520a53831
7 changed files with 730 additions and 4 deletions

View file

@ -14,6 +14,18 @@ activity-core (cron/rule)
`TaskExecutorWorkflow` stays a stub (activity-core INTENT); execution lives here.
## Mail path (server / Railiance)
```
agent-harness mail-scan # deterministic IMAP (AppRole)
agent-harness mail-triage # llm-connect HTTP → JSON → apply mail-log + commit
```
Requires `LLM_CONNECT_URL` (e.g. in-cluster
`http://llm-connect.activity-core.svc.cluster.local:8080`). Optional:
`MAIL_TRIAGE_MODEL`, `MAIL_TRIAGE_MAX_TOKENS`, `MAIL_TRIAGE_MAX_ROWS`.
**No Claude CLI** on the host.
## issue-core worker API
| Method | Path | Role |