[agent] feat: add secure handoffs and transactional secret updates - #7
Merged
Merged
Conversation
Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
Add transactional single-use friend links with signed redemption receipts, friend-only ciphertext mailboxes, idempotent sends, per-party deletion, and bounded quotas. Cover concurrency and authorization against disposable PostgreSQL. Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
Run embedded migrations before serving, preserve populated legacy invitations as expired records through an audited compatibility replay, and verify offline query metadata in pull request CI. Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
Co-Authored-By: GPT-6 Astra (OpenAI) <noreply@openai.com>
Keep normal API startup compatible with nonroot read-only containers. Export a schema file only when ENVX_OPENAPI_OUTPUT names a destination; continue serving the schema over HTTP. Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
Count canonical verified key snapshots against mailbox storage and erase them with expired or fully deleted ciphertext. Return keys only on message detail. Paginate links and messages newest first using owned timestamp-and-ID cursors; cover ties, unrelated cursors, padded armor, snapshot quotas and erasure. Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
…nal and atomic Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
Co-Authored-By: GPT-6 (OpenAI) <noreply@openai.com>
…rsing Co-Authored-By: GPT-6 Astra (OpenAI) <noreply@openai.com>
Co-Authored-By: GPT-6 Astra (OpenAI) <noreply@openai.com>
This branch was previously deployed
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.
[agent] Add mutual single-use friend links and a bounded encrypted-message mailbox, with signed redemption receipts, participant-only access, retry-safe sends, expiration and per-party deletion.
Project secrets retain their existing server-directory trust model. Standalone messages add signed payloads and locally pinned identities; this does not retrofit signatures onto legacy project variables.
Validation: 36 PostgreSQL tests passed; offline Clippy and the locked production Docker build passed. The nonroot read-only production image passed the real three-profile CLI social flow. Full-codebase and feature reviews used OpenAI and Claude, followed by one scoped fix review. All commits are signed and CI is green.
Deferred: shared-project variables retain unsigned legacy payloads and server-directory trust. Ordinary writes and remove-user rewraps still have legacy membership-race limitations; conditional invitations/add-user commits now fail closed on stale state. A full membership/write protocol redesign is separate work.
Co-Authored-By: GPT-6 (OpenAI) noreply@openai.com