Show the triage class on the read tools #37

Merged
svc-agent-writer merged 1 commit from feat/triage-read into main 2026-10-31 12:21:09 +00:00

Closes #20.

Changes

  • mail_search gains triage, one of the six ADR 0003 classes. The type is TriageClass in assess.py, and a test keeps it equal to CLASSES.
  • Search and thread rows end with a class cell once a message has a class.
    • When the class is set and the message has no marks, the marks cell shows - so the columns stay aligned.
    • An untriaged row keeps the 0.2 shape exactly.
  • mail_read adds a triage: <class> wake=<0..1> header line when the message is assessed.
  • The tool docstrings say the class is advisory.
  • The README tool table and the marks line list the classes.

Tests

  • Row shape without a class, with a class, and with a class but no marks.
  • The filter through Store.search.
  • TriageClass equals CLASSES.

make check passes (101 tests).

🤖 Generated with Claude Code

Closes #20. ## Changes - `mail_search` gains `triage`, one of the six ADR 0003 classes. The type is `TriageClass` in `assess.py`, and a test keeps it equal to `CLASSES`. - Search and thread rows end with a class cell once a message has a class. - When the class is set and the message has no marks, the marks cell shows `-` so the columns stay aligned. - An untriaged row keeps the 0.2 shape exactly. - `mail_read` adds a `triage: <class> wake=<0..1>` header line when the message is assessed. - The tool docstrings say the class is advisory. - The README tool table and the marks line list the classes. ## Tests - Row shape without a class, with a class, and with a class but no marks. - The filter through `Store.search`. - `TriageClass` equals `CLASSES`. `make check` passes (101 tests). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mail_search gains a triage filter, search and thread rows end with the class once triage has run, and mail_read shows the class and wake score. Untriaged rows keep the 0.2 shape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.