diff options
Diffstat (limited to 'docs/superpowers/plans')
| -rw-r--r-- | docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md b/docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md index 3e22dcd..dc50983 100644 --- a/docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md +++ b/docs/superpowers/plans/2026-08-03-post-0.1.0-usability.md @@ -1848,8 +1848,8 @@ folder it sits in. The Inbox built-in filter is `tag:inbox` (`Config::generatorTag("inbox")`), not path-scoped, so any file carrying `inbox` appears there. The `post-new` hook already corrects this for mail that did not ARRIVE: `NOT_ARRIVALS` in `assets/hooks/qtmaildirconf.py:84` is -`("sent", "drafts")`, and `strip_inbox_from_sent()` removes `inbox` from a -message whose files are ALL inside one of those folders. `spam` is missing +`("sent", "drafts")`, and `strip_inbox_from_non_arrivals()` removes `inbox` from +a message whose files are ALL inside one of those folders. `spam` is missing because the hook predates the per-account `spam` key this branch adds. Measured live: 49 files tagged `inbox` sitting in a `[Gmail]/Spam` folder; 0 in trash, drafts or sent. @@ -1859,7 +1859,7 @@ too, correct the function/doc prose (its names say "sent" while the list means "not an arrival"), and extend the hook's tests with the spam cases. Then a ONE-TIME cleanup of the existing messages, using the same all-files rule. -**Constraints.** The all-files rule is load-bearing (`sent_only()`): notmuch +**Constraints.** The all-files rule is load-bearing (`not_arrival_only()`): notmuch deduplicates by Message-ID, so a message with one file in spam and one in an inbox DID genuinely arrive and must keep `inbox`. Only `inbox` is removed; `unread` is untouched because `maildir.synchronize_flags` is true. The cleanup |
