Sync tells a demoted creator a vault still counts against their storage (#1018) #40

Open
backmeupplz wants to merge 2 commits from board/1018-84fc9f into main
Owner

Board #1018. Sync names every vault in the account's paid list. A vault you can open was skipped whenever you created it, so a creator who another owner signed down to writer or reader, and who still pays for it, was never told, even with storage limited.

  • The skip now uses is_own (creator and the verified roster lists you as an owner), so a demoted creator gets: "vault X counts against your storage, though you're no longer an owner of it (plaintext vault leave to stop that)", with the leave offer in the apps. A vault you still own is never named, as before.
  • Test in nobody_is_stuck_paying_for_a_vault: dave creates a vault, makes bob an owner, bob signs dave down to writer; dave's sync names it once with the leave hint, and leaving hands it to bob. Fails without the fix.

Tests: cargo test all green locally; clippy clean. Independent Opus review: no correctness findings; one comment-wording nit, fixed.

🤖 Generated with Claude Code

Board #1018. Sync names every vault in the account's `paid` list. A vault you can open was skipped whenever you created it, so a creator who another owner signed down to writer or reader, and who still pays for it, was never told, even with storage limited. - The skip now uses `is_own` (creator **and** the verified roster lists you as an owner), so a demoted creator gets: "vault X counts against your storage, though you're no longer an owner of it (plaintext vault leave <id> to stop that)", with the leave offer in the apps. A vault you still own is never named, as before. - Test in `nobody_is_stuck_paying_for_a_vault`: dave creates a vault, makes bob an owner, bob signs dave down to writer; dave's sync names it once with the leave hint, and leaving hands it to bob. Fails without the fix. Tests: `cargo test` all green locally; clippy clean. Independent Opus review: no correctness findings; one comment-wording nit, fixed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clearer comment on which paid vaults sync names
All checks were successful
Apple / Apple (pull_request) Successful in 47s
CI / check (pull_request) Successful in 6m59s
CI / wasm (pull_request) Successful in 4m54s
Android / android (pull_request) Successful in 20m33s
2385e5f774
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
All checks were successful
Apple / Apple (pull_request) Successful in 47s
CI / check (pull_request) Successful in 6m59s
CI / wasm (pull_request) Successful in 4m54s
Android / android (pull_request) Successful in 20m33s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'board/1018-84fc9f:board/1018-84fc9f'
git switch 'board/1018-84fc9f'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
backmeupplz/plaintext!40
No description provided.