Commit fe001f2
committed
fix(mail): remove tip key from default draft-saved envelope
Remove tip field from buildDraftSavedOutput's returned map and flip the
test assertions in TestBuildDraftSavedOutputIncludesReferenceOnlyWhenPresent
to require tip absence. The compose-family default envelope (+send /
+reply / +reply-all / +forward) now stays within the 3-key contract
(compose_hint / draft_id / reference) defined in tech-design v1 §4.1.5.
hintSendDraft already writes the equivalent guidance to stderr, so no
UX regression — the message reaches the user via the dedicated stderr
hint channel instead of the structured stdout envelope.
sprint: S31 parent b919e00 commit fe001f2
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2193 | 2193 | | |
2194 | 2194 | | |
2195 | 2195 | | |
| 2196 | + | |
2196 | 2197 | | |
2197 | 2198 | | |
2198 | | - | |
2199 | 2199 | | |
2200 | 2200 | | |
2201 | 2201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
| 103 | + | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments