Skip to content

Return retained mailbox receipts during native Agent receive - #67

Merged
qh-work merged 21 commits into
mainfrom
feat/native-mailbox-receipts
Sep 30, 2026
Merged

qh-work merged 21 commits into
mainfrom
feat/native-mailbox-receipts

Conversation

@qh-work

@qh-work qh-work commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Native recipients can now retain an explicit per-message ACK destination and let ordinary Agent receive return the actual saved mailbox receipt. connect supports register/list/inspect/remove selection actions and direct return_mailbox_receipt. Registration stays local and conveys no disclosure or upload authority; return reauthenticates the saved mailbox and its original independent ACK grants before proving the selected source.

The client persists the original preparation before transmission and reuses the same signed request after a lost reply or restart. Python and TypeScript share the bounded selection/return journals and completed history. Original-root status observations are persisted before denial; an expired retained revocation blocks pending retransmission. Expired uncertain requests become reconciliation_required and stop ordinary polling. Each receive attempts at most two ready returns under its shared deadline. Removing a selection preserves the saved inbox and original return history.

Validation covers actual cold-memory receipt return, lost-response restart, original-sender confirmation, Python reopening native completion, re-registration without another upload, retained revocation and expired-use refusal. Existing native saved-receipt and remote mailbox scenarios, Python ordinary-return recovery, and package/CI inventories are also covered. The HTTP fixture now closes its finished recipient recovery connection before switching runtimes; the cross-runtime checks verify SQLite integrity after each native operation. Final-source complete cloud regression passed 1238 tests across all 139 modules and matched 316 source hashes. All supported Python 3.10 suites and cross-platform conformance passed. Twelve extracted-client checks passed against the exact release archives. Native replica inbox recovery and provisioning remain unfinished.

# Conflicts:
#	tests/test_network_packaging.py
Base automatically changed from feat/native-mailbox-read to main September 30, 2026 08:55
@qh-work
qh-work marked this pull request as ready for review September 30, 2026 09:30
@qh-work
qh-work merged commit b2247dc into main Sep 30, 2026
11 checks passed
@qh-work
qh-work deleted the feat/native-mailbox-receipts branch September 30, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant