feat(gateway): persist mobile mutation receipts - #63190
Draft
ericlewis wants to merge 7 commits into
Draft
Conversation
This was referenced Jul 12, 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.
Stack
This draft is stacked on #62858 (
feat/mobile-contract-hello-scopes). It intentionally includes that PR's commits until #62858 merges; rebase this branch ontomainafter the parent lands.d8bc3bc9b1277b54d72b097c7a5d0328ecb62348f67aae323010e32c592a185984d36b20e9fa474aericlewis/cuttle#4.Summary
client_request_idfor mobile prompt submission, interruption, and deletion while preserving legacy ID-less transportsdeduplicated: true, reject semantic ID reuse deterministically, and expose authoritativemutation.statusoutcome_unknownExisting dashboard, stdio, messaging, and other legacy callers keep their current wire behavior. The capability advertises only the mutation methods implemented in this slice.
Validation
Clean commit
cc535c21eb6c98a778d88f27d8d76cad096fa964:tests/tui_gateway/test_*.pyfiles in fresh process isolation: 420 passedtests/test_tui_gateway_server.py: 316 passedtests/run_agent/test_run_agent.py: 416 passedgit diff --check: passedThe
tests/tui_gatewayfiles are intentionally invoked in fresh processes because current upstreamtest_inline_rpc_gil_starvation.pyreplaces the globalprompt.submithandler without restoring it; file-scoped isolation avoids that unrelated cross-file test leak.Deliberate limit / next stack
approval.respondis intentionally not advertised by this foundation branch. Stable approval identity, recoverable lifecycle events, and durable approval-response fingerprinting are integrated together on the next #5 stack;ericlewis/cuttle#4remains open until that integration is published and validated.