Skip to content

fix: inbox-scope mail-list and rule-verify (0.5.0) - #12

Merged
neilgfoster merged 2 commits into
mainfrom
006-inbox-scope
Jun 22, 2026
Merged

fix: inbox-scope mail-list and rule-verify (0.5.0)#12
neilgfoster merged 2 commits into
mainfrom
006-inbox-scope

Conversation

@neilgfoster

Copy link
Copy Markdown
Owner

Summary

Addresses docs/HANDOVER-inbox-scope.md: mail-list and rule-verify queried GET /me/messages, which returns messages across all mail folders. This made the triage overview misleading (already-filed mail mixed with true inbox stragglers) and inflated the rule catch-set with matches no longer in the inbox (false confidence in a rule's value).

Changes

  • Inbox-scoped reads — both verbs now read GET /me/mailFolders/inbox/messages.
  • mail-list --folder <well-known-or-name> — optional flag (default inbox) to inspect another folder, reusing the renamed resolver graph._resolve_folder; unresolvable folder steers rather than 404s.
  • rule-verify is always inbox-only (native rules act on inbox arrivals; no flag).
  • No new OAuth scope — stays Mail.Read.
  • describe/catalog, both SKILL.md docs, handover status, and CHANGELOG updated. Release bumped to 0.5.0.

Validation

  • 77 offline tests green (+3: inbox default, --folder named, unresolvable steer; plus a rule-verify inbox assertion).
  • stdlib-only guard passes; describe --name mail-list shows the new folder input.

Driven through the full tredl / Spec Kit arc (specs/006-inbox-scope/).

🤖 Generated with Claude Code

neilgfoster and others added 2 commits June 22, 2026 21:35
mail-list and rule-verify queried GET /me/messages (all folders), so the
triage overview mixed already-filed mail with true inbox stragglers and the
rule catch-set counted matches no longer in the inbox. Both now read the Inbox
via GET /me/mailFolders/inbox/messages.

- mail-list gains optional --folder <well-known-or-name> (default inbox),
  reusing the renamed graph._resolve_folder; unresolvable folder steers.
- rule-verify is always inbox-only (rules act on inbox arrivals; no flag).
- No new OAuth scope (stays Mail.Read).
- describe/catalog + both SKILL.md + handover status updated.
- 77 offline tests green (+3); stdlib-only guard passes.

Source: docs/HANDOVER-inbox-scope.md (feature 006-inbox-scope).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@neilgfoster
neilgfoster merged commit 906f1cf into main Jun 22, 2026
1 check passed
@neilgfoster
neilgfoster deleted the 006-inbox-scope branch June 22, 2026 20:37
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