Repository navigation
feat(dsh): verify and recover exact handoff receipts - #2651
Merged
Merged
Conversation
knqiufan
marked this pull request as ready for review
November 14, 2026 15:32
knqiufan
requested review from
Alanxtl,
AlexStocks,
PsiACE,
frf12,
frostming,
yihong0618 and
zhanghuidinah
as code owners
November 14, 2026 15:32
* feat(dsh): add the Codex Desktop handoff adapter * fix(dsh): ship Codex Desktop diagnostics in the default Host * fix(dsh): recover Codex probes and isolate target discovery
hidb4ai
approved these changes
Nov 17, 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.
Which issue or RFC does this PR close?
Refs #2514 and RFC #2528. This PR builds on #2602 (preflight and restricted launch).
Rationale for this change
Opening a target only confirms that the OS accepted the launch. DSH needs independent evidence that the receiver continued the exact handoff, and it needs to keep that evidence when a later refresh fails or the local package expires.
What changes are included in this PR?
SourceRecord.handoff_receiptmarker and the existingget_connection_identityoperation through MCP as a read-only tool. Require committed receipt attribution in enforced mode and regenerate the affected clients and capability catalogs.Are there any user-facing changes?
The shared draft and receipt behavior become visible when the menu is connected in #2655. Existing handoff selections and receipt identities are preserved. A self-reported receiver in access-disabled mode is shown separately from an authenticated principal.
How was this change tested?
make contract-test— 69 checks passed.make integration-manifest-check— 61 checks passed on the final stack.uv run pytest -q tests/integrations/test_dsh_handoff_receiver.py tests/test_mcp.py tests/e2e/test_access_control_regressions.py -k 'handoff or connection_identity or receipt'— 23 passed.pnpm exec vitest run --maxWorkers=1 tests/receipt.spec.ts tests/receiver-prompt.spec.tsandpnpm exec vitest run tests/e2e/receipt.spec.ts— 15 unit cases and one real Server integration case passed.AI usage statement
OpenAI Codex assisted with implementation, tests, local validation, and preparing this PR.