diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 20:16:02 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 20:16:02 -0500 |
| commit | 8f58949c854df8924d01c565542d42bd3194ba71 (patch) | |
| tree | 42bb9a178f65db7e3b55c07a21e954f1c67df1bf | |
| parent | 5172e7bc0426089b513d992d40564f590d873767 (diff) | |
| download | rulesets-8f58949c854df8924d01c565542d42bd3194ba71.tar.gz rulesets-8f58949c854df8924d01c565542d42bd3194ba71.zip | |
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.
| -rw-r--r-- | claude-templates/.ai/workflows/triage-intake.org | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
