feat(lifeboard): draft a message, approve it, then send - #326
Open
ivanmkc wants to merge 1 commit into
Open
Conversation
The design has said from the start that every outbound message names its recipient and waits for a confirmation. The type existed and nothing used it: sendMail and its approval had no screen. Now the assistant can propose a message and only a person can send it. The envelope gains `send`, which is a PROPOSAL and never an action. It becomes a pending item in the inbox showing the recipient and the whole body -- not a preview, because approving something you have only seen half of is not approving it. The approval object names the exact draft, so it cannot be reused for a different message; that was already a type error, and now there is a path that produces one honestly. Every failure says what is missing. No permission to send email names the setting to change and leaves the draft unsent. No bridge for a text opens the phone's own composer with the message already written, which is not a failure -- it is the phone doing what it is best at. Sending email is a separate, sensitive scope and it is off unless ticked. The Google section says what it means rather than bundling it with reading. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Sep 2, 2026
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.
The stack
localStoragefor the test suite on Node 25@ivanmkc/termchart-canvas; injectable interact transportEvery branch in the stack was checked out on its own and verified independently:
npm install,tsc --noEmitfor every package,npm testacross the workspace, and the offline e2e where it exists. All nineteen are green — no branch depends on a later one to build or pass. Full viewer e2e (11 suites, 106 assertions) was run on #312 as the behaviour-preservation evidence for the extraction.Stack position: 16 of 19. Base:
lifeboard/14-backup.The design has said from the start that every outbound message names its recipient and waits for a confirmation. The type existed and nothing used it —
sendMailand its approval had no screen. Now the assistant can propose a message and only a person can send it.The envelope gains
send, which is a proposal and never an action. It becomes a pending item in the Inbox showing the recipient and the whole body — not a preview, because approving something you have only seen half of is not approving it.Every failure says what is missing. No permission to send email names the setting to change and leaves the draft unsent. No bridge for a text opens the phone's own composer with the message already written — not a failure, but the phone doing what it is best at.
Sending email is a separate, sensitive scope, off unless ticked, and the Google section says what it means rather than bundling it with reading.
Verified: lifeboard 399 (+10), including that a discard sends nothing and a missing permission leaves the draft pending.