fix: inbox-scope mail-list and rule-verify (0.5.0) - #12
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses
docs/HANDOVER-inbox-scope.md:mail-listandrule-verifyqueriedGET /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
GET /me/mailFolders/inbox/messages.mail-list --folder <well-known-or-name>— optional flag (defaultinbox) to inspect another folder, reusing the renamed resolvergraph._resolve_folder; unresolvable folder steers rather than 404s.rule-verifyis always inbox-only (native rules act on inbox arrivals; no flag).Mail.Read.describe/catalog, both SKILL.md docs, handover status, and CHANGELOG updated. Release bumped to 0.5.0.Validation
--foldernamed, unresolvable steer; plus a rule-verify inbox assertion).describe --name mail-listshows the newfolderinput.Driven through the full tredl / Spec Kit arc (
specs/006-inbox-scope/).🤖 Generated with Claude Code