From 8f58949c854df8924d01c565542d42bd3194ba71 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 22 May 2026 20:16:02 -0500 Subject: fix(workflows): use mu --fields='l' for path in triage mark-read The mark-read step extracted message paths with mu --fields='p', but 'p' is the priority field (returns "normal"), not the path. Every path came back as "normal" and the flag manager errored on all of them. 'l' is the file-location field. Caught during a live triage on 2026-05-22. --- claude-templates/.ai/workflows/triage-intake.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/claude-templates/.ai/workflows/triage-intake.org b/claude-templates/.ai/workflows/triage-intake.org index 36f9530..02e36e8 100644 --- a/claude-templates/.ai/workflows/triage-intake.org +++ b/claude-templates/.ai/workflows/triage-intake.org @@ -81,7 +81,10 @@ All three mail accounts are synced to local Maildirs and =mu=-indexed: =~/.mail/ 1. Query every unread INBOX message across the three accounts: #+begin_src bash mu find 'flag:unread AND NOT flag:trashed AND (maildir:/gmail/INBOX OR maildir:/dmail/INBOX OR maildir:/cmail/INBOX)' \ - --fields='p' + --fields='l' + # --fields='l' is the file location (full path). Don't use 'p' — in current + # mu that's the priority field and returns "normal" for every row, which + # makes the flag manager error on every path (caught 2026-05-22). #+end_src 2. Pass *all* the returned paths to the flag manager in one call: #+begin_src bash -- cgit v1.2.3