DD-338 Phase C W5 — consolidate _meta emission onto MCPHelpers + catalog backfill #3
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/apple-mail-blade-mcp!3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/dd-338-c-w5-flip-mcp-helpers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Sources/AppleMailBlade/MetaEnvelope.swiftwith the canonicalstallari-mcp-helpers-swiftSPM dep (MCPHelpers v0.1.0)..macOS(.v13) → .macOS(.v14)to satisfy the canonical lib's minimum platform.stallari-plugins/plugins/tools/apple-mail-blade-mcp.jsonflipaudit_surface: minimal → structuredfor the 5 emitting tools — landed in a sibling stallari-plugins PR (separate atomic unit per spec).Wire-shape changes (canonical vs hand-rolled v1)
redactionsALWAYS emitted ([]when empty). Was omit-when-empty.next_cursorALWAYS emitted (JSONnullwhen nil). Was omit-when-nil.filtered_byalphabetically sorted by the formatter (caller pre-sort no longer load-bearing).formatMetaLinenow throws (encoding-failure surface).MetaEnvelope.initparameter order changed to(matchedTotal, returned, latencyMs, filteredBy, redactions, ...)— all 5 tool handlers updated.Retained blade-local
Duration.toMilliseconds()— clock marshalling helper.metaQueryDigest(_:)— search-query SHA-256 short digest.Moved into
Sources/AppleMailBlade/MetaHelpers.swift.Test plan
swift package resolvecleanswift buildclean, zero warningsswift test— 133/133 greenMetaEnvelope.swiftdeleted;grep -rn "MetaEnvelope.swift" Sources/shows only doc-comment references🤖 Generated with Claude Code