Add the assess container for Jev triage #19
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic: #8
The assessor: Jev triage at sync time (ADR 0003 §1, §2 and §4, as accepted in #35).
Answers to the open questions
urllib.POST https://api.typesafe.ai/v1/systemonewithauthorization: Bearer <key>. The body is{"model","state","questions"}.{"type":"choice","choice","confidence","probabilities"}.criteriais an ordered list of 2 to 10 levels. The answer is{"type":"score","score":0..N-1,"confidence","legend","probabilities"}.retry-afteron 429 and 529, and then the outcomeunavailable.[assess] key_file. The 1Password item and the Secret are deployment tasks.What to build
Where it runs. The assessor is a thread in the
syncprocess, not a new container. The sync worker stays the one writer of the mirror tables.Config. An optional
[assess]section:key_filefields:headers(the default) orfullmodel: pinned, defaultjev-1.13.0batchbacklog_dayspoll_secondstimeout_secondsWhen the section is absent, nothing leaves the host.
Scope. Inbox-role rows where
triage_class IS NULL, withinbacklog_days. A row whose Message-ID already has a class copies that class, and Jev is not called for it.Questions. One Choice over the six classes in §2 and one Score for wake, per message.
Logs. Counts, the outcome, the model and token counts only.
Acceptance
make checkpasses.Blocked by