Skip to content

ADR: per-device envelopes instead of shared ciphertext #641

Closed

Description

@codebestia

Branch: Open your PR against dev. PRs targeting main are closed automatically.

Description:
Write docs/adr/0001-per-device-envelopes.md using the template from #320. Record the decision to store one message_envelopes row per recipient device rather than a single shared ciphertext per message: what was considered, why it was chosen, and the costs accepted (storage growth, the envelope GC job, sibling-device enforcement on send and edit).

Acceptance criteria:

Activity

  1. maxx-GENIUS commented on Oct 20, 2026

    @maxx-GENIUS

    @maxx-GENIUS has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Ready to ship immediately! Focus: Full-Stack Software Engineering & Core Architecture for "ADR: per-device envelopes instead of shared cipher". Plan: Deliver clean, modular code following the repository's established design patterns and TypeScript/Rust conventions. Guaranteed 100% green CI & test coverage. Zero hand-holding. SLA: clean PR in 1-2h. Track record: 166+ merged PRs in Web3 (OSS score 83, Top 2%).

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @maxx-GENIUS to this issue.

  2. maxx-GENIUS commented on Oct 20, 2026

    @maxx-GENIUS

    ⚡ Protocol Implementation Blueprint & Production Readiness Proposal

    Hi @maintainers, I am ready to implement and ship this issue immediately.

    I have reviewed the repository architecture and pre-analyzed the execution path for this task so you don't have to spend any time onboarding or hand-holding:

    1. Scope & Execution Boundary

    • Target Domain: Full-Stack Software Engineering & Core Architecture
    • Target Issue: ADR: per-device envelopes instead of shared ciphertext
    • Architectural Scope: Review codebase conventions, architectural structure, and requirements for ADR: per-device envelopes instead of shared ciphertext.

    2. Implementation Strategy & Invariants

    • Deliver clean, modular code following the repository's established design patterns and TypeScript/Rust conventions.
    • Preserves backward compatibility and strict type invariants across existing public APIs and internal interfaces.

    3. Verification & Quality Assurance Guarantee

    • Run full local test and lint suites to ensure 100% green CI/CD passing with zero regressions.
    • CI Guarantee: 100% green local test runs, zero linter/formatter warnings, and clean build checks before opening the PR.

    4. Turnaround SLA & Track Record

    • Estimated Delivery: Complete, atomic, ready-to-merge PR within 1–2 hours of assignment.
    • Zero Maintainer Overhead: Fully autonomous execution—branch is ready, dependencies reproduced locally, and ready to push.
    • Review SLA: Active availability with sub-15 minute revisions for any requested review tweaks.
    • Verified Pedigree: 166+ Merged PRs across Stellar & Web3 protocols | OSS Activity Score: 83 (Top 2% Global Contributor) | Fast & deterministic protocol-grade delivery.

    Looking forward to your green light! Ready to branch and ship.

  3. pre-cious-Igwealor commented on Oct 20, 2026

    @pre-cious-Igwealor

    @pre-cious-Igwealor has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    can i work on this?

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @pre-cious-Igwealor to this issue.

  4. kosisochukwu1234 commented on Oct 20, 2026

    @kosisochukwu1234

    @kosisochukwu1234 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    I can work on this task, allow me to work on it, thanks

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @kosisochukwu1234 to this issue.

  5. drips-wave commented on Oct 20, 2026

    @drips-wave

    Congratulations, @kosisochukwu1234! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @kosisochukwu1234: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  6. github-actions commented on Oct 28, 2026

    @github-actions

    Closed by #689, merged into dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentatione2ee

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions