Repository navigation
Conversation
…have left (ADR-0029) A public reply from a member or the assistant on the website schedules a check a minute later. The visitor's read cursor decides whether an email goes; whether they still have a socket decides when: at once without one, at the end of the workspace's wait with one. Replies sent close together share an email, which never holds an internal note or what the visitor wrote. On by default, with a supervisor's switch and wait on the Email tab. The widget says under its email field that replies are emailed. Migration 0044. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Patrick Ng <yatping0617@gmail.com>
…udflare check Cloudflare returns each email's Message-ID, so a reply email carries In-Reply-To and References. Five real emails were sent from a throwaway installation: no socket, a held socket, a read reply, and one with the thread headers. ADR-0029: an answer from another address is accepted, by the owner. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Patrick Ng <yatping0617@gmail.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Patrick Ng <yatping0617@gmail.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.
Step 1 of ADR-0029, on top of that PR.
What it does
Answers to the email are not received yet: that is step 2. The email says so.
Changes
reply_emailed_seqon existing conversations so nothing old is emailed.email.reply_checkonoc-email, swept every minute.GET/PUT /workspaces/{id}/reply-emails, andreplyEmailson the widget bootstrap. No API minor.Checked
pnpm lint,typecheck,build, and the contracts, migrations, licences, budget, secrets and channel checks pass.reply-emails.test.ts, and the isolation test covers both new routes.On real Cloudflare
Five real emails from a throwaway installation, since removed, to an outside Gmail address. From D1:
Message-ID, so a second commit addsIn-Reply-ToandReferences; an email with them was accepted and sent.Details, and two things learned (a new Worker's cron took 8 minutes to start;
oc deploy --cloudflare-emailstopped at its own check), are incloudflare-validation.md.Not checked
🤖 Generated with Claude Code