Skip to content

fix: adopt cli-core 0.663.0 review follow-ups - #184

Merged
leemour merged 3 commits into
mainfrom
fix/review-followups
Nov 14, 2026
Merged

leemour merged 3 commits into
mainfrom
fix/review-followups

Conversation

@leemour

@leemour leemour commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Adopts cli-core #2953 (review follow-ups), released as cli-core 0.663.0.

Why. cli-core's factsOf is now async and takes a "written to" lookup that reads the owner's stored outgoing mail. mail-cli's rules judged "the owner wrote to this sender" only from the run's window, and the cleanup's "replied" reason kept its own one-account set, so the two could disagree.

What.

  • rules apply, messages delete --rules and the cleanup pass store.mail.writtenTo to factsOf.
  • The cleanup's "replied" reason uses the same lookup; its own Sent-mail set is removed.
  • Pins @wirecat/cli-core 0.663.0 and @wirecat/cli-base 0.100.0. docs/commands.md regenerated (runs list pages by defaults.limit).

Testing. Two new tests, each failing before its change: a reply written before the rules apply window, and a reply stored under another account for messages delete --rules. Locally: typecheck, lint, docs:check, 377 tests on one worker.

🤖 Generated with Claude Code

@socket-security

socket-security Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​wirecat/​cli-base@​0.99.0 ⏵ 0.100.099 +1100100 +196 +170
Updated@​wirecat/​cli-core@​0.662.0 ⏵ 0.663.098 +1100100 +19670

View full report

leemour and others added 3 commits November 14, 2026 08:45
cli-core's factsOf is now async and takes a "written to" lookup. rules apply,
messages delete --rules and the cleanup pass store.mail.writtenTo, so a sender
the owner answered before the run's window still counts as a correspondent and
no envelope rule or Trash offer catches it.

Bumps @wirecat/cli-base to 0.100.0, which the next cli-core needs. The
cli-core version bump follows its release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he rules

messages delete --rules built its own "wrote to" set from this account's
Sent mail, while the rules read store.mail.writtenTo across every account.
The cleanup's "replied" reason now asks the same lookup for the envelopes'
senders, so the two checks agree and a sender the owner answered from
another account is kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pins @wirecat/cli-core 0.663.0 from npm, which carries the async factsOf and the writtenTo lookup. runs list now pages by the configured defaults.limit, so its generated page drops the fixed defaults.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour force-pushed the fix/review-followups branch from ab078b7 to 9868238 Compare November 14, 2026 07:46
@leemour
leemour marked this pull request as ready for review November 14, 2026 07:46
@leemour leemour changed the title fix: adopt cli-core review follow-ups (#2953) fix: adopt cli-core 0.663.0 review follow-ups Nov 14, 2026
@leemour
leemour merged commit d1fc7e4 into main Nov 14, 2026
17 of 23 checks passed
@leemour
leemour deleted the fix/review-followups branch November 14, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant