Skip to content

feat: bind cloud plans to provider account scope - #85

Closed
seonghobae wants to merge 2 commits into
feat/private-review-dossierfrom
feat/capacity-account-scope
Closed

feat: bind cloud plans to provider account scope#85
seonghobae wants to merge 2 commits into
feat/private-review-dossierfrom
feat/capacity-account-scope

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Summary

  • carry provider-authoritative account scope in capacity schema v3
  • refine unknown iCloud and OneDrive roots before candidate and review fingerprints are calculated
  • reuse one root-bound capacity snapshot across plan, review, and copy paths in the CLI and Tauri app
  • fail closed on provider or account-scope conflicts; keep Google Drive scope unknown
  • document the account-scope binding contract

Evidence

  • cargo check --manifest-path src-tauri/Cargo.toml --all-targets --features cloud-cli
  • cargo test --manifest-path src-tauri/Cargo.toml --lib provider_capacity::tests (12 passed)
  • cargo test --manifest-path src-tauri/Cargo.toml --features cloud-cli --bin disksage-cloud-plan (15 passed)
  • live brctl quota plan: iCloud scope personal, provider-native capacity fit true, review reason reduced to download-origin-needs-destination-review

Safety

Read-only provider metadata only. This PR does not copy, evict, delete, or approve any user file.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 8f34fd9c-8d5e-42fa-a1ea-aa599d4c75cd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@seonghobae seonghobae closed this Aug 3, 2026
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