Repository navigation
feat(oauth-draft): thread drafts by explicit In-Reply-To / References - #2051
Merged
Merged
Conversation
oauth-draft set In-Reply-To / References only from the last message of a Gmail thread_id. A report that never reached the user's Gmail (classified as spam, LDAP-only subscription, other account) exists only in the PonyMail archive, so the reply to the reporter went out unthreaded. - create_draft (MCP) and oauth-draft-create (CLI) take optional in_reply_to / --in-reply-to and references / --references. Angle brackets are optional; each ID must be a single local@domain token of printable ASCII, so whitespace and CR / LF (header injection) are rejected. References defaults to in_reply_to alone, and in_reply_to is appended when the given chain does not name it (RFC 5322). - With thread_id as well, the draft is still attached to the thread but the explicit headers win and the thread is not read. no_reply_headers and in_reply_to are mutually exclusive. Plain-text-only output is unchanged. - threading.md and draft-backends.md add the header-threaded path between thread attachment and the subject fallback; the security import, sync and invalidate reply steps pass the PonyMail / recorded Message-ID when there is no Gmail thread. Generated-by: Claude Opus 5
potiuk
enabled auto-merge (squash)
November 10, 2026 10:47
potiuk
added a commit
that referenced
this pull request
Nov 10, 2026
Brings the specs up to main bfc99bb (37 commits since 1e5c4f9), ahead of the next dev-version bump: - security-issue-lifecycle: the import renders the report as defanged markdown under a data note, with `description_format: inert` as the fenced alternative (#2048). - adapters: oauth-draft threading by explicit In-Reply-To / References (#2051); the typed-decision Jev request shape (#2023). - adoption-and-setup, marketplace-distribution, codex-runtime: the setup sub-action is `update`, and every skill offers the upgrade until it has run (#2041); the most specific `sandbox.enabled` wins (#2011); the family MCP allows cover single-item reads only (#2020). - agent-isolation-sandbox: bare `gh auth status` only (#2019); draft creation and whole-mailbox search stay prompted (#2020). - pr-management-family: the CI gate's way out for a non-required check (#2029); the adversarial export keeps export-ignore paths (#2030); install.md per family (#2031); merge-candidates / thread-mentor names (#2025). - contributor-growth: the candidate-screen committer / PMC headline (#2024). - issue-management-family, repo-health-family: install.md (#2031). - project-agnosticism: the merge-candidates example path and a re-counted example-name gap (#2025). Generated-by: Claude Opus 5
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.
oauth-draft only set In-Reply-To / References from the last message of a Gmail thread_id. When the inbound message never reached the user's Gmail (e.g. a security report Gmail classified as spam, so it exists only in the PonyMail archive), the skills had no thread id and the reply to the reporter went out unthreaded.
create_draft(MCP) andoauth-draft-create(CLI) take optionalin_reply_to/--in-reply-toandreferences/--references. Angle brackets optional; each ID must be a singlelocal@domaintoken, so whitespace / CR / LF (header injection) are rejected. References defaults to in_reply_to, which is appended to a given chain when missing.thread_idtoo, the draft stays attached to the thread but the explicit headers win (no thread read). Plain-text-only output unchanged.🤖 Generated with Claude Code