# AI review usage and limits Source: https://docs.cubic.dev/account/ai-review-usage How GitHub PR AI review usage and billing-period limits work. cubic measures GitHub PR AI review usage in **reviewed lines** — the changed lines of code cubic actually reviewed in completed PR reviews. Auto-generated files, binaries, vendored code, and anything matching your ignore patterns are discounted automatically and barely touch your quota. So a 30,000-line PR that's mostly a regenerated lockfile counts as a small fraction of that. ## Paid team capacity Each paid seat adds to a shared reviewed-line pool for your whole team. | Plan | Reviewed lines per seat per billing period | | ----------- | ------------------------------------------ | | Trial | 20,000 | | Team (paid) | 40,000 | | Pro | 80,000 | A 5-seat Pro team gets `5 × 80,000 = 400,000` reviewed lines per billing period, pooled across everyone. You can see your current usage, reset date, and a breakdown by review type, base branch, and repository in **[Settings → Usage](https://www.cubic.dev/settings?tab=usage)** when reviewed-line limits apply to your installation. The quota resets with your billing period, not a rolling 30-day window. ## What is not included The reviewed-line meter applies to GitHub PR AI reviews. Other cubic features use separate limits and do not consume this reviewed-line pool: * CLI/local reviews * Codebase reviews and daily scans * Wikis * cubic coding agents ## When you run out If your team uses its full reviewed-line capacity, new GitHub PR AI reviews pause until the next reset or until you add more capacity. Existing comments stay on PRs, and replying to cubic still works. Other features are unaffected by this reviewed-line quota because they have their own limits. Paid workspaces can use [flex capacity](/account/flex-capacity) to keep reviews running automatically after included usage runs out. Flex capacity costs \$20 per 10,000 extra reviewed lines, is billed only as used, and stops at the monthly spend limit you set. ## Tips to reduce usage Use these ideas when you want to lower reviewed-line consumption without changing your plan. Most options live in [AI review settings](https://www.cubic.dev/ai-review) or [`cubic.yaml`](/configure/cubic-yaml). * **[Disable automatic reviews](https://www.cubic.dev/ai-review?tab=setup\&card=ai-review-card-code-review-agent)** for repositories where you only want cubic to review PRs manually. Turn off AI reviews for the repository, or set `reviews.enabled: false` in [`cubic.yaml`](/configure/cubic-yaml). * **[Ignore specific files or directories](https://www.cubic.dev/ai-review?tab=setup\&card=ai-review-card-ignore-patterns)** that do not need AI review. Add file globs under **Ignore files**, or add them to `reviews.ignore.files` in [`cubic.yaml`](/configure/cubic-yaml). * **[Ignore test files and fixtures](https://www.cubic.dev/ai-review?tab=setup\&card=ai-review-card-ignore-patterns)** if your team generates a lot of test code. Choose the repository, open **Ignore files**, and add file path patterns such as `**/*.test.*`, `**/*.spec.*`, `**/__tests__/**`, `tests/**`, `test/**`, or `fixtures/**`. * **[Turn off incremental reviews](https://www.cubic.dev/ai-review?tab=setup\&card=ai-review-card-incremental-reviews)** to review a PR once when it opens instead of re-reviewing every pushed commit, or set `reviews.incremental_commits: false` in [`cubic.yaml`](/configure/cubic-yaml). * **[Use the cubic CLI locally](/ide/cli-review).** CLI and local reviews don't draw from your reviewed-line pool, so running in-progress checks with the cubic CLI keeps your cloud capacity for the PRs that need it. * **[Skip non-default base branches](https://www.cubic.dev/ai-review?tab=setup\&card=ai-review-card-ignore-pull-request-patterns)** when long-lived branches do not need review, or set `reviews.ignore.base_branches` in [`cubic.yaml`](/configure/cubic-yaml). * **Avoid unnecessary full reruns.** Pushing commits triggers incremental reviews (only new lines count). Manually re-triggering with `@cubic-dev-ai review this PR` runs a full review again — use it deliberately. * **[Use PR label ignores](https://www.cubic.dev/ai-review?tab=setup\&card=ai-review-card-ignore-pull-request-patterns)** for work-in-progress PRs. Add label patterns, or set `reviews.ignore.pr_labels` in [`cubic.yaml`](/configure/cubic-yaml). For example: ```yaml theme={null} reviews: enabled: true ignore: files: - 'dist/**' - 'generated/**' - '**/*.test.*' - '**/*.spec.*' - '**/__tests__/**' - '*.lock' ``` When a file matches your ignore patterns, cubic skips it during PR review, so it does not spend reviewed-line capacity on that file. ## How to get more * **[Set a flex capacity spend limit](/account/flex-capacity)** to cover overages automatically at \$20 per 10,000 extra reviewed lines. * **[Upgrade to Pro](https://www.cubic.dev/settings?tab=subscription)** for a higher per-seat allowance. * **Add seats** in [Settings → Subscription](https://www.cubic.dev/settings?tab=subscription). Capacity goes up immediately. * **Tighten ignore patterns** in [`cubic.yaml`](/configure/cubic-yaml) for generated or vendored code you don't want reviewed. ## FAQ Genuine large refactors and monorepo-wide changes do count close to their full size. If recurring large PRs are coming from generated files or fixtures, add them to your ignore patterns in [`cubic.yaml`](/configure/cubic-yaml). Pushing new commits triggers an incremental review and only the new lines count. Manually re-triggering a review with `@cubic-dev-ai review this PR` runs a fresh review and counts again — so use it deliberately. No. Reviewed-line usage is based on the changed lines of code cubic reviews, not how many comments cubic leaves. Changing sensitivity can make cubic more or less selective about the issues it reports, but it does not change how much code cubic reviews. To reduce reviewed-line usage, change when reviews run or which files cubic reviews. You can do that with [AI review settings](/ai-review/ai-review-settings) or [`cubic.yaml`](/configure/cubic-yaml). Yes. Add a PR label ignore pattern in [AI review settings](/ai-review/ai-review-settings), or add the label to `reviews.ignore.pr_labels` in [`cubic.yaml`](/configure/cubic-yaml). For example, you can ignore PRs labelled `wip` or `skip-review` until the label is removed. No. Only completed reviews count toward your billing-period capacity. If you cancel a review, merge a PR before its review finishes, or cubic hits an error, those reviews don't use any of your quota. Public repositories can use cubic for open-source work at no cost, subject to separate reviewed-line fair-use and abuse-protection limits. These safeguards are designed for unusually large or high-volume usage, not normal OSS maintenance. For paid teams, eligible public-repository PRs from external contributors are handled separately from the team's reviewed-line pool, so external OSS traffic does not spend capacity intended for private and internal work. Unpaid public repositories use the public fair-use pool instead of the private free-plan review count. If your open-source project is blocked and you think the limit was applied incorrectly, email [contact@cubic.dev](mailto:contact@cubic.dev) with your organisation, repository, and PR link. Your cap recalculates immediately. Adding seats gives you more capacity right away; removing seats lowers it. Flex capacity costs \$20 per 10,000 extra reviewed lines. cubic buys whole blocks only when a review would otherwise be paused, and it never buys a partial block that would charge you without unblocking the review. See [Flex capacity](/account/flex-capacity) for examples and spend-limit behavior. Yes. An Ultrareview is a longer, deeper review using cubic's most capable models, so it counts against your reviewed-line capacity at 3× the standard rate. There is no separate Ultrareview limit — usage shares the same reviewed-lines allowance as normal reviews. Email [contact@cubic.dev](mailto:contact@cubic.dev) with your organisation name and we'll dig in. # Flex capacity Source: https://docs.cubic.dev/account/flex-capacity How cubic bills extra reviewed-line capacity after your included usage runs out. Flex capacity keeps GitHub PR AI reviews running after your workspace uses its included reviewed-line capacity. You set a monthly spend limit, and cubic buys extra reviewed-line capacity only when a review would otherwise be paused. Flex capacity is available on paid workspaces billed through Stripe. Admins manage it in **Settings → Subscription** by setting a monthly spend limit. ## How flex capacity works Flex capacity turns a reviewed-line usage block into an automatic one-off charge: 1. Your workspace uses its included reviewed-line capacity for the billing period. 2. A new GitHub PR review would otherwise pause because the workspace is over its monthly limit. 3. cubic checks your flex capacity setting and monthly spend limit. 4. If the needed capacity fits under your spend limit, cubic charges the saved payment method immediately. 5. After payment succeeds, cubic adds the extra reviewed-line capacity for the current billing period and continues the review. Flex capacity applies only to GitHub PR AI review usage. CLI/local reviews, codebase scans, daily scans, wikis, and cubic coding agents use separate limits. ## Pricing Flex capacity costs **\$20 per 10,000 extra reviewed lines**. | Item | Amount | | -------------- | ------------------------------------------- | | Block size | 10,000 extra reviewed lines | | Price | \$20 per block | | Billing timing | Charged immediately when capacity is needed | | Availability | Current billing period only | The price is the same for Team and Pro workspaces, and the same for monthly and annual subscriptions. Flex capacity is separate from your seat subscription; it appears as a one-off invoice charge when cubic adds capacity. ## Example charges Flex capacity is bought in whole \$20 blocks. cubic buys enough blocks to cover the current overage, and it never buys a partial block. | Current overage | Blocks bought | Charge | Extra capacity granted | | --------------------- | ------------- | ------ | ---------------------- | | 4,000 reviewed lines | 1 block | \$20 | 10,000 reviewed lines | | 15,000 reviewed lines | 2 blocks | \$40 | 20,000 reviewed lines | | 30,000 reviewed lines | 3 blocks | \$60 | 30,000 reviewed lines | If a review is 15,000 reviewed lines over the included limit, cubic needs two blocks. If your remaining monthly flex spend limit is only \$20, cubic does not buy one block because that would charge you without unblocking the review. ## Spend limits A monthly spend limit is the most cubic can spend on flex capacity during one billing period. The setting is a hard stop: reviews can continue while the needed flex purchase fits under the limit, and reviews pause once the next needed purchase would exceed the limit. For example, a $60 monthly spend limit can buy up to 30,000 extra reviewed lines during the current billing period. If your workspace has already spent $40 and the next review needs two more blocks, cubic will not charge $40 and reviews will stay paused because that would exceed the $60 limit. Admins can set, raise, lower, or remove the spend limit from **Settings → Subscription → Flex capacity**. Removing the spend limit turns flex capacity off for future purchases. Extra capacity already bought during the billing period remains available until the period ends. ## Payment behavior Flex capacity is granted only after payment succeeds. If the payment method is declined, cubic does not grant the extra capacity and reviews stay paused at the current limit. Some cards require extra authentication, such as 3D Secure. When that happens, cubic emails workspace admins with a secure Stripe invoice link. The extra capacity is granted after the payment is confirmed. A failed flex capacity payment stops additional automatic flex purchase attempts for the same billing period. Update the payment method in billing settings to resume automatic flex capacity. ## How to turn it on Admins can enable flex capacity from the subscription settings: 1. Open **Settings → Subscription**. 2. Find **Flex capacity**. 3. Select **Set a spend limit**. 4. Enter a monthly dollar amount in \$10 increments. 5. Save the limit. The setting takes effect for future reviews. If reviews are already paused because your workspace is over the reviewed-line limit, setting a limit can let cubic buy the needed extra capacity and resume reviews. ## How to monitor usage Open **Settings → Usage** to see your reviewed-line usage, reset date, and flex capacity spend for the current billing period. The subscription page also shows flex spend, the monthly limit, and how many extra reviewed lines were bought this period. Flex capacity resets with your billing period. Unused extra capacity does not roll over. ## FAQ No. Seats still determine your included reviewed-line allowance and who has paid AI review access. Flex capacity covers temporary overages after your included reviewed-line capacity runs out. No. cubic charges flex capacity only when a review needs extra capacity and the purchase fits under your monthly spend limit. No. The spend limit is a hard cap. If the next required purchase would exceed the limit, cubic buys nothing and reviews stay paused until you raise the limit or the billing period resets. cubic buys whole 10,000-line blocks. A PR that is 10,001 reviewed lines over the limit requires two blocks, because one block would not unblock the review. cubic stops making future flex capacity purchases. Extra capacity already paid for during the current billing period remains available until the period resets. Your included reviewed-line allowance resets, flex spend returns to \$0 for the new period, and any unused extra flex capacity from the previous period expires. Flex capacity applies to your paid workspace's GitHub PR AI review usage. Public repositories may also be subject to separate fair-use and abuse-protection limits, which flex capacity does not override. # Privacy & security Source: https://docs.cubic.dev/account/privacy-security How cubic keeps your code and data safe cubic is built by developers, for developers. We understand that your source code is your most valuable asset, so we designed our systems with security and privacy as a first-principle—not an afterthought. ## Our guiding principles * **Encryption everywhere** – All data is encrypted **in transit** (TLS 1.2+) and **at rest** (AES-256), including database records and object storage. * **Least-privilege access** – The cubic GitHub App requests the minimum scope required to perform reviews. No additional write-or-admin permissions are granted unless they are strictly necessary (see below). * **Transparent operations** – We publish this page so that every customer—current or prospective—can understand exactly how we treat their data. If you have questions, email us any time at [contact@cubic.dev](mailto:contact@cubic.dev). Our data handling practices are further detailed in our [Privacy Policy](https://cubic.dev/privacy) and use of the service is governed by our [Terms of Service](https://cubic.dev/terms). * **No third-party model training on Customer Code** – Our AI model providers (e.g., OpenAI, Anthropic) contractually commit that code snippets and metadata passed through their APIs are **not** used to train or improve their underlying models. ## SOC 2 compliant cubic is **SOC 2 Type 1** compliant, demonstrating our commitment to security and trust for our customers. We maintain comprehensive controls for change management, access management, and vulnerability management. ## Permissions requested by the cubic GitHub App Granting the following scopes allows cubic to read pull-requests, leave review comments, and update PR status checks. | Scope | Access | Why we need it | | ------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Administration** | Read-only | Access repository settings and organization information | | **Actions** | Read & write | Manage GitHub Actions workflows when [Background Agents](/ai-review/coding-agents) push fix commits or create fix PRs (read-only for basic reviews) | | **Checks** | Read & write | Surface pass/fail status checks for AI review completion | | **Code** | Read & write | Read: Fetch PR diffs and context for reviews. Write: Enable [Background Agents](/ai-review/coding-agents) to push fix commits to your PR branch or create fix PRs (never pushes directly to main or protected branches—all fixes go through PR review) | | **Commit statuses** | Read-only | Monitor and display commit status in the cubic UI | | **Deployments** | Read-only | Access deployment information for integration purposes | | **Issues** | Read & write | Create issues for tracking review findings when configured (optional feature) | | **Metadata** | Read-only | Display repository information inside the cubic UI | | **Pull requests** | Read & write | Post AI-generated review comments, resolve threads when feedback is addressed, and create fix PRs or update PR branches via [Background Agents](/ai-review/coding-agents) | | **Workflows** | Read & write | Run CI/CD checks on fix PRs or fix commits created by [Background Agents](/ai-review/coding-agents) (read-only for basic reviews) | > **Note:** You can install the cubic App on a single repository or an entire organization. Access is scoped to the repositories you select during installation, and can be modified at any time from GitHub's "Installed Apps" settings page. > > **Write permissions are primarily needed for the Background Agents feature**, which can push commits to your PR branch or create separate fix PRs—never direct commits to your main branch. The Background Agents feature uses Claude Code in an isolated sandbox to generate fixes, ensuring all changes go through your standard PR review process. **For extra peace of mind:** While cubic never pushes directly to your main branch, you can enhance security by enabling branch protection rules. Configure [branch protection rules](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule) on your main/default branch to prevent direct commits and require pull request reviews before merging. This ensures all changes—including those from cubic's Background Agents—must go through your standard review process. ## How AI code review works 1. **Event trigger** – Whenever a pull request is opened or updated, GitHub sends cubic a webhook describing the event. 2. **Isolated sandbox** – A new isolated container is launched. The sandbox has no network egress. 3. **Analysis** – The pull-request diff and *only* the necessary context needed for reviewing the PR are processed by AI models. 4. **Comment publication** – The generated review comments are posted back to the PR via the GitHub API. ## AI subprocessors cubic uses best-in-class large-language models hosted by vetted providers (currently OpenAI and Anthropic). Our agreements with these subprocessors explicitly prohibit using Customer Code to train their own models. Only the minimal code snippets required for the requested analysis are transmitted, and all requests are sent over encrypted channels. If your organization prefers to *completely* block AI features, please contact us and we can disable them for your workspace. ## Reporting a security issue If you believe you have found a vulnerability in cubic, please email our security team at [contact@cubic.dev](mailto:contact@cubic.dev) with the subject line "Security Vulnerability". We investigate all reports promptly and appreciate the efforts of the security community. # Referral program Source: https://docs.cubic.dev/account/referral-program Earn up to $2,000 for every team you refer to cubic. Invite teams to cubic and earn rewards that scale with their team size—up to \$2,000 per referral. Your referred teams get an exclusive extended 14-day trial period to fully explore cubic. ## How it works Referring teams to cubic is simple and rewarding: 1. **Share your unique link** - Every cubic user gets a personalized referral link 2. **Teams sign up** - New teams use your link to create their cubic account 3. **Earn rewards** - Get Amazon gift cards when referred teams upgrade to paid plans There's no limit to how many teams you can refer, and rewards are automatically processed when teams convert to paid subscriptions. ## Getting your referral link Access your unique referral link in seconds: 1. Go to [cubic.dev/refer](https://www.cubic.dev/refer) while signed in to your cubic account 2. Click **Refer and earn** in the top right 3. Copy your personalized link and share it via email, Slack, or social media ## Reward structure Earn Amazon gift cards based on the team size at conversion: | Team Size | Your Reward | | ----------- | ------------ | | 1 seat | \$30 | | 2 seats | \$60 | | 3 seats | \$90 | | 4 seats | \$120 | | 5 seats | \$150 | | 6-9 seats | \$30 × seats | | 10-15 seats | \$300 | | 16-19 seats | \$500 | | 20-30 seats | \$750 | | 31-50 seats | \$1,000 | | 51-75 seats | \$1,500 | | 76+ seats | \$2,000 | **Example:** If you refer a team that subscribes with 8 seats, you'll receive a \$240 Amazon gift card. Rewards are calculated based on the subscription size when the team first upgrades to a paid plan. ## Benefits for referred teams Teams you refer receive an exclusive extended trial period: ### Extended 14-day trial While standard trials last 7 days, teams that sign up through referral links enjoy a full 14-day trial period, giving them an extra week to experience cubic's full capabilities. ### Full platform access During their extended trial, referred teams get AI code reviews and complete access to all cubic features, giving them ample time to evaluate cubic for their team. ## Frequently asked questions ### Who can participate? Every cubic user with an active account can refer new teams. ### Can I refer my own team or organization? For fairness, you cannot earn rewards for referring teams within your own GitHub organization. ### When do I receive my reward? Rewards are processed after a referred team makes their first payment for a cubic subscription. ### Is there a limit on referrals? No! You can refer as many teams as you'd like. Each successful referral that converts to a paid plan earns you a reward based on their team size. ### What if a referred team changes their subscription size? Your reward is calculated based on the team's subscription size at the time of their first payment. Later changes don't affect your reward amount. ### Can referred teams use other promotions? The extended 14-day trial is automatically applied to all referred signups and cannot be combined with other trial extensions or promotional offers. ### What happens if a referred team cancels? Once you've received your reward for a successful referral, it's yours to keep—even if the team later cancels their subscription. ## Start referring today Ready to earn rewards while helping other teams discover cubic?
Get your referral link
Questions about the referral program? Contact us at [contact@cubic.dev](mailto:contact@cubic.dev). # Roles and permissions Source: https://docs.cubic.dev/account/roles-and-permissions Manage team roles and permissions in cubic cubic uses a role-based access control system to manage who can make changes to your team's subscription and settings. Every team member has one of three roles: | Role | Best for | What they can do | | ---------- | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | | **Admin** | Workspace owners, engineering managers, and operations owners | Manage seats, roles, billing, subscription settings, integrations, repository settings, and AI review settings. | | **Member** | Engineers and teammates who need to configure cubic day to day | Use cubic's full product surface and edit non-billing settings, including AI review behavior, repository settings, integrations, and scan settings. | | **Viewer** | Stakeholders who need visibility without configuration access | View team information, settings, review surfaces, analytics, and subscription status without changing configuration. | ## Permissions matrix | Permission | Admin | Member | Viewer | | ---------------------------------------------------------------------- | ----- | ------ | ------ | | Use PR review, analytics, and other non-settings surfaces | ✅ Yes | ✅ Yes | ✅ Yes | | View team members, role assignments, subscription status, and settings | ✅ Yes | ✅ Yes | ✅ Yes | | Configure AI review behavior and repository settings | ✅ Yes | ✅ Yes | ❌ No | | Manage integrations and linked repositories | ✅ Yes | ✅ Yes | ❌ No | | Configure codebase scan settings and scan automation | ✅ Yes | ✅ Yes | ❌ No | | Manage seat assignments | ✅ Yes | ❌ No | ❌ No | | Change user roles | ✅ Yes | ❌ No | ❌ No | | Configure auto-assign and usage seat automation | ✅ Yes | ❌ No | ❌ No | | Manage billing, plans, and subscription controls | ✅ Yes | ❌ No | ❌ No | | Promote bot accounts to admin | ❌ No | ❌ No | ❌ No | ## Seats and roles Seats and roles are related, but they control different things. * **Seats** control which GitHub users are assigned cubic access and how usage is counted for billing. * **Roles** control what a seated user can change inside cubic. Bot rows can be enabled so bot-authored PRs receive AI reviews without adding a paid developer seat. Those reviews still use the team's normal reviewed-line allowance. Members and viewers can both use cubic surfaces available to their seat. The difference is configuration access: members can change non-billing workspace and repository settings, while viewers can only read them. Repository and PR visibility can still depend on GitHub repository access. If someone cannot see a specific repository or PR, confirm that they have access to the repository in GitHub and that cubic has access to that repository. ## How to become an admin There are three ways to become a cubic admin: 1. **Install the cubic GitHub app.** When you install cubic for your GitHub organization, you automatically become an admin. 2. **Be a GitHub organization admin.** GitHub organization admins automatically become cubic admins when the app is installed. 3. **Get promoted by an existing admin.** Any current admin can promote you through [subscription settings](https://www.cubic.dev/settings?tab=subscription). At least one admin is required for every team. Admins cannot remove their own admin role, and cubic prevents changes that would leave the team without an active human admin. Bot accounts cannot be admins. The default role for new seats is **Member** unless the user qualifies for admin during setup. ## Admin role Admins have full control over team management and can: * **Manage seat assignments:** Add or remove cubic seats for team members * **Manage roles:** Change members between admin, member, and viewer roles (note: bot accounts cannot be admins) * **Configure workspace settings:** Change AI review settings, repository settings, integrations, scan settings, and billing automation * **Configure auto-assign:** Enable automatic seat assignment and removal when GitHub organization members join or leave * **Manage billing:** Update plans, seats, and subscription controls * **Bulk actions:** Select multiple users to manage seats and roles in bulk ## Member role Members can use cubic's full feature set and edit non-billing settings: * **Full platform access:** Use all cubic features including AI reviews, analytics, and PR management * **Manage workspace settings:** Configure AI review behavior, repository settings, integrations, scan settings, and other non-billing team settings * **View billing status:** See subscription status and billing-related information without changing billing details * **No seat, role, or billing management:** Cannot assign/remove seats, change user roles, or manage billing and subscription controls ## Viewer role Viewers can use cubic's review and analytics surfaces, but they cannot change cubic settings: * **View team information:** See team members, role assignments, subscription status, and settings * **Use review surfaces:** Access PR review, analytics, and other non-settings views available to their seat * **No configuration changes:** Cannot change AI review settings, repository settings, integrations, seats, roles, or billing controls ## How to manage user roles Only admins can change user roles. cubic provides both individual and bulk role management: ### Individual role changes To promote or demote a single user: 1. Navigate to [Settings → Subscription](https://www.cubic.dev/settings?tab=subscription) 2. Find the team member in the list 3. Click the three-dot menu (⋮) 4. Select the new role: Admin, Member, or Viewer 5. The change takes effect immediately Only admins can see and use seat and role management options. Members and viewers can view the team list, but they cannot change seats or roles. ### Bulk role changes To change roles for multiple users at once: 1. Navigate to [Settings → Subscription](https://www.cubic.dev/settings?tab=subscription) 2. Use the checkboxes to select multiple team members 3. Click "Update role" in the bulk action bar 4. Choose the role to apply to the selected users 5. All selected users are updated immediately ## Troubleshooting ### I need someone to edit settings, but not billing Give them the **Member** role. Members can edit non-billing settings, but they cannot manage seats, roles, or billing. ### A user can view settings but cannot save changes Check their role. Viewers can read settings but cannot change AI review settings, repository settings, integrations, seats, roles, or billing controls. ### I cannot demote myself from admin cubic prevents admins from removing their own admin role. Ask another admin to change your role after confirming that the team will still have at least one admin. ### I cannot remove or demote the last admin Every team needs at least one active human admin. Add or promote another admin first, then change the original admin's role or seat. ### I cannot make a bot an admin Bot accounts cannot be admins. Assign bot seats a non-admin role instead. # Subscription Source: https://docs.cubic.dev/account/subscription Free and paid cubic plans. cubic offers both a free plan and paid subscriptions to fit every team's needs. ## How cubic works **Standard signups start with a 7-day free trial:** * **AI reviews included** during the trial period * **Full platform access** to all features * **No credit card required** to get started **When your trial ends, you choose:** * **Continue free:** Get 20 AI reviews per month with full platform access * **Upgrade to paid:** Get AI reviews with the same full platform access **Important:** Regardless of which plan you choose, you always get complete access to cubic's platform—PR management, analytics, notifications, and all features. Free plans have a fixed monthly AI review quota, while paid plans include a shared monthly AI review allowance across paid seats. ## Free plan Get started with cubic immediately—no credit card required: * **Unlimited platform access:** View and manage all your pull requests in cubic * **20 AI reviews per month:** Get intelligent feedback on your most important PRs across all repositories * **Full feature access:** Analytics, code reviews, issue tracker integrations, background agents, and more; * **Monthly quota reset:** Your AI review limit resets on the 1st of each month Perfect for personal projects, or evaluating cubic for your team. ### How the free plan quota works * **Organization-wide limit:** The 20 AI reviews per month are shared across all repositories in your GitHub organization * **Automatic tracking:** AI review comments show how many reviews you have remaining * **Monthly reset:** Your quota automatically resets to 20 on the 1st of each month ## Paid subscriptions For paid AI review access, cubic's subscription cost is determined by the number of developer seats you choose to activate. Each active seat corresponds to a unique GitHub user within your organization. AI review usage on paid plans is measured in reviewed lines, with an allowance per paid seat that is pooled across your team. * **Seat-based billing:** You are billed based on the number of *active* seats you assign to your team members (GitHub users). * **Flexible seat management:** You can manage seat assignments at any time, both during your free trial and after it ends. * **Customizable checkout:** When you purchase a subscription, you select the exact number of seats you need. * **Ultrareview:** Paid and trial plans include Ultrareview for high-risk or complex PRs. Ultrareviews count toward your team's reviewed-lines allowance at 3× the standard rate. * **Subscription management:** Seat assignments and active seats can be viewed and managed through the subscription tab in your settings: [https://www.cubic.dev/settings?tab=subscription](https://www.cubic.dev/settings?tab=subscription) ### Seat scope across organizations Seat assignments are scoped to the selected GitHub organization. If your company uses cubic in multiple GitHub organizations, assigning a seat in one organization does not automatically assign that user a seat in another organization. The seat count shown in **Settings → Subscription** applies to the selected organization. For example, `86/155 seats assigned` means that organization has 86 active developer seats out of 155 available seats. Other linked organizations do not consume that organization's available seats. ### Flex capacity Paid workspaces can use [flex capacity](/account/flex-capacity) to keep GitHub PR AI reviews running after included reviewed-line usage runs out. Flex capacity costs **\$20 per 10,000 extra reviewed lines** and is billed only when cubic needs extra capacity for a review. Admins set a monthly spend limit in **Settings → Subscription**. cubic never spends past that limit; if the next required purchase would exceed the limit, reviews pause until you raise the limit or the billing period resets. ### Automatic seat management Admins can enable automatic seat management to handle team changes automatically. When enabled in your subscription settings, cubic will automatically assign and remove seats as your team changes. How it works: * When a new developer joins your GitHub organisation, they’ll automatically get a cubic seat. You’ll see this reflected in your billing. * If a developer leaves your organisation, their seat is removed and you’ll stop being billed for them. **Manual and automatic work together:** You can still manually assign seats if you want. For example: * If you’ve already given seats to 3 out of 10 developers, and then turn on automatic assignment, the next (11th) developer who joins will automatically get a seat—bringing your total to 4. * This gives you flexibility to mix and match manual and automatic seat assignment, based on what works best for your team. ## Bot seat management ### Devin-bot support cubic recognizes and provides special handling for automated coding assistants like Devin. When Devin opens a pull request in your repository: * **Automatic detection:** PRs authored by `devin-ai-integration[bot]` are automatically identified. * **Dedicated bot row:** Devin is assigned a bot row that's kept separate from regular developer seats. * **No paid developer seat:** Enabling the bot allows its PRs to receive AI reviews without increasing your paid developer seat count. * **Shared reviewed-line allowance:** Bot-authored reviews use the same pooled reviewed-line allowance as the rest of your team. * **No manual configuration needed:** The system automatically creates and manages the Devin bot seat when it first contributes to your repository. This feature ensures that teams using AI coding assistants can integrate them into their workflow without adding a paid developer seat for the bot account. ## Free trial During the free trial period, you can assign as many developer seats as you like to evaluate cubic with your team. When you choose a paid plan at checkout, billing starts immediately and is based on the number of seats you select. If you have any further questions about billing, please [contact support](mailto:contact@cubic.dev). ## Frequently asked questions To choose paid seats, go to **Settings → Subscription** and click "Upgrade". 1. **Choose Seat Count:** At checkout, on the left side of the checkout page, specify the *total number* of developer seats you need. 2. **Assign Seats:** After purchasing, return to **Settings → Subscription**. You'll find a list of your GitHub organization members with several ways to manage seats: ### Individual seat assignment * Toggle the switch next to each developer's name to assign or unassign their seat * Changes take effect immediately ### Bulk seat assignment * Select multiple users using the checkboxes next to their names * Click "Update seat status" in the bulk action bar * Choose "Assign seats to X users" or "Unassign seats from X users" If you see a "Manage Subscription" button instead of "Upgrade," you may need to cancel your initial trial subscription via Stripe before proceeding. Yes. We offer an annual subscription at a 20% discount off the monthly rate. Simply select "12 months" on the checkout page, and the discount will apply automatically. You can enter your coupon or promo code on the subscription checkout screen: Screenshot showing the promo code field on the checkout page Absolutely. You can cancel your subscription at any time from **Settings → Subscription → Manage plan**. You'll keep full access until the end of your current billing period; after that you won't be billed again. To change your seat count after your subscription has started, go to [**Settings → Subscription**](https://www.cubic.dev/settings?tab=subscription) and click on **Manage plan**. This will direct you to our billing portal (Stripe) where you can adjust the number of seats. Prorated charges or credits will be applied based on your changes. We currently accept all major credit cards (Visa, MasterCard, American Express) and PayPal. For enterprise customers, we also support ACH bank transfers—just reach out to support to get set up. Yes! We're proud to support nonprofits and schools with a special 50% discount. Please [contact support](mailto:contact@cubic.dev?subject=Nonprofit%20Discount) to verify your eligibility. cubic is automatically free for all public repositories. You don't need to contact us or apply - just install cubic on your public repositories and start using it immediately at no cost. Very high-volume usage may be subject to fair-use limits. When you increase seats, we calculate the unused portion of your month and charge only for the prorated difference. If you remove seats, your credit will apply to your next invoice. Paid AI review usage is measured in reviewed lines rather than a fixed number of reviews. Your allowance is pooled across all paid seats on your team, so each paid seat adds to a shared monthly usage pool. Most teams never get close to these limits unless they are among the heaviest AI users. In practice, that means a 1- or 2-person team shipping a very high volume of code is more likely to approach the limit than a 20-person team, because the larger team has a much bigger shared pool. Flex capacity is optional extra reviewed-line capacity for paid workspaces. It costs \$20 per 10,000 extra reviewed lines, is charged only when a review needs more capacity, and stops at the monthly spend limit an admin sets. See [Flex capacity](/account/flex-capacity) for detailed examples. Reviewed lines are the PR code changes cubic actually reviews, not repository size, total file size, or lines generated by AI. For most PRs, this means the added and deleted lines in the diff that cubic reads during review. Generated files, vendored code, binaries, ignored files, skipped files, and failed or cancelled reviews do not count. Incremental reviews only count newly reviewed changes; manual reruns count again. For more detail, see [AI review usage and limits](/account/ai-review-usage). **During your 7-day trial:** You get AI reviews and full platform access. **When your trial ends:** You automatically transition to cubic's free plan, which includes: * 20 AI reviews per month (resets monthly) * Unlimited platform access (same as trial) * All features remain available (analytics, PR management, notifications, etc.) **No interruption:** You keep using cubic exactly as before, just with a monthly AI review limit. Upgrade anytime for paid AI review access with a larger shared allowance across paid seats. Yes! cubic offers a permanent free plan with 20 AI reviews per month and unlimited access to the platform. This includes all features like analytics, stacked PRs, and notifications. Only the number of AI reviews per month is limited—everything else is unlimited. Perfect for personal projects and small teams getting started. In [**Settings → Subscription**](https://www.cubic.dev/settings?tab=subscription), admins have multiple ways to manage seat assignments: **Individual management:** * Toggle the switch next to any team member to assign/unassign their seat * Changes apply instantly **Bulk management:** * Select multiple users with checkboxes * Use "Update seat status" dropdown to assign or unassign seats for all selected users * Perfect for onboarding new teams or managing large groups Members and viewers can view the team list but cannot change seats or roles. Only admins see checkboxes and management controls. No. Seats are assigned per GitHub organization. If the same developer needs cubic access in two organizations, assign that developer a seat in each organization. The subscription seat limit is checked against the selected organization, not the combined total across every linked organization. cubic has three roles: **Admin**, **Member**, and **Viewer**. **Admins** can manage seats, change user roles, configure auto-assign settings, and manage billing. **Members** have full access to all cubic features and can manage non-billing settings, but they cannot change seats, roles, or billing details. **Viewers** can view cubic settings and review surfaces, but they cannot change settings, integrations, seats, roles, or billing details. The first user who creates an installation becomes an admin automatically. You need at least one admin per team, and admins cannot remove their own admin role. Bot accounts cannot be promoted to admin. See the [Roles and permissions](/account/roles-and-permissions) page for complete details. cubic automatically detects and manages seats for recognized bots like Devin (`devin-ai-integration[bot]`). These bot seats are: * **Created automatically** when the bot first opens a PR * **Not billed as developer seats** when enabled * **Disabled by default** but can be enabled if you want the bot's PRs to receive AI reviews * **Counted against your normal reviewed-line allowance** when their PRs are reviewed * **Visible in your subscription settings** alongside regular team members This lets admins enable bot-authored PR reviews without increasing the paid developer seat count. # Support Source: https://docs.cubic.dev/account/support Contact cubic support for help, questions, and feedback. If you have any questions, require help, or want to share feedback, please reach out to [contact@cubic.dev](mailto:contact@cubic.dev). # Verify your GitHub email Source: https://docs.cubic.dev/account/verify-github-email Steps to verify your primary GitHub email address so you can sign in to cubic. If you see an **“unverified\_email”** error when signing in with GitHub, it means your primary GitHub address hasn’t been verified yet. To verify your email: 1. Open [GitHub](https://github.com) and go to **Settings › Emails**. 2. Click **Resend verification** next to your primary address. 3. Follow the link in the email from GitHub to complete verification. 4. Return to cubic and sign in again. Having trouble? Reach out at [contact@cubic.dev](mailto:contact@cubic.dev). # AI review settings Source: https://docs.cubic.dev/ai-review/ai-review-settings Configure repository-level and organization-level AI review behavior in cubic. Within your project's [settings](https://cubic.dev/settings), the **AI review** section offers controls to tailor AI review behavior. AI review settings ## Configurable options AI review settings can be configured for individual repositories or globally for all repositories in an installation. To update settings for all repositories at once, select "All repositories" from the repository picker before making changes. 1. **Review instructions** * Provide general guidelines for the AI in plaintext. 2. **Library & framework versions** * Specify or override detected versions (e.g., React 18, Django 4) to improve suggestion accuracy. * Note that, by default, cubic will try to automatically detect the common libraries and versions they use to ensure that it tailors its reviews to those specific ones. 3. **Ignore patterns** Define comprehensive patterns to control which pull requests and files are reviewed: * **File path patterns**: Skip files or directories matching glob patterns (e.g., `dist/`, `*.test.ts`) * **Head branch patterns**: Ignore PRs from specific branches (e.g., `feature/*`, `hotfix/*`) * **Base branch patterns**: Skip PRs targeting certain branches (e.g., `staging`, `develop`) * **PR label patterns**: Bypass review for PRs with specific labels (e.g., `wip`, `skip-review`) * **PR title patterns**: Ignore PRs with titles matching patterns (e.g., `Draft:*`, `WIP:*`) * **Maximum changed lines**: Skip automatic reviews when a PR's added plus deleted lines exceed the repository limit. The default is 50,000 changed lines; you can override it in either direction, up to cubic's technical maximum. Leaving the setting absent or blank uses the 50,000 default. Manual `@cubic-dev-ai review` requests are not limited by this repository setting. 4. **Exclude generated files** For large repositories, you can tell cubic to ignore files that don't require review. This is handy for: * Data files that don’t need to be reviewed * Auto‑generated code produced by build or code‑gen tools * Any other files that would make a pull request too large for cubic to process You can do this by marking files as generated in your repository’s `.gitattributes` file: ```gitattributes theme={null} # Exclude specific files docs/data.txt linguist-generated=true # Exclude file types *.csv linguist-generated=true *.pb.go linguist-generated=true # Exclude entire directories data/* linguist-generated=true generated/* linguist-generated=true ``` Files marked as `linguist-generated` will be: * Automatically collapsed in GitHub pull request views * Skipped entirely during **cubic**'s code review 5. Automatic PR approval * When enabled, cubic can evaluate clean pull requests for automatic approval * Disabled by default to prevent bypassing branch protection rules * Only available when general AI review is enabled * Useful when you want to start in a safe dry-run mode, confirm your approval policy matches team expectations, and only later allow cubic to submit real approvals Behavior controls: * **Disabled**: cubic only comments on PRs and skips auto-approval evaluation * **Shadow**: cubic evaluates whether the PR would be approved, but still posts a normal review comment instead of a real GitHub approval * **Live**: cubic evaluates the PR and submits a real GitHub approval when the selected policy allows it Approval policy controls: * **Low-risk only**: Approves only when no issues are found and cubic determines the PR is low-risk * **Always**: Approves any clean PR, regardless of risk level * **Custom**: Define your own criteria via a custom prompt. For example, only approve documentation changes while requiring human review for source code modifications * **Never auto-approve**: Add file or directory globs that block auto-approval. If any changed file in a PR matches, cubic will not auto-approve that PR. * **Do not auto-approve external contributors**: For public repositories, cubic still reviews PRs from external contributors, but leaves a comment review instead of approving. Shadow mode is useful when you want to test your approval policy safely before letting cubic approve pull requests automatically. See [Auto-approval](/ai-review/auto-approval) for setup steps, YAML configuration, safeguards, and troubleshooting. Auto-approve PR settings showing behavior and approval policy controls 6. **Review incremental commits** * When enabled, cubic reviews new commits pushed to open pull requests * Only new issues are posted as comments; previously flagged issues are not repeated 7. **Auto-resolve threads when addressed** * When enabled, cubic automatically resolves GitHub review threads after detecting the issue has been addressed in a subsequent commit * Enabled by default for new installations 8. **Merge confidence summary** * Adds a 1-5 confidence score to cubic's reviews, helping you assess the risk of merging a pull request * The score considers factors like test coverage, code complexity, and potential regressions * Disabled by default 9. **Ultrareview** (own tab) * The **Ultrareview** card controls whether [ultrareviews](/ai-review/ultrareview) — deep \~30-minute reviews billed at 3× the reviewed-lines rate — can run at all: **Disabled**, **Manual** (default; PR-comment and dashboard triggers only), or **Automatic** * With the mode set to **Automatic**, choose a risk policy (**Off**, **High-risk PRs**, or a **Custom prompt**) and add file rules that always trigger an ultrareview independently of the policy; manual triggers stay available; see the [ultrareview docs](/ai-review/ultrareview) for details 10. **Review draft pull requests** * When enabled, cubic reviews draft PRs immediately when opened * Get early feedback while still working on your changes * Disabled by default 11. **Cross-repo reviews** (Beta) * Allow cubic to read selected repositories during PR review * Configured per repository from the **Cross-repo reviews** card * Available on every plan during beta; plan access may change at general availability * See [Cross-repo reviews](/ai-review/cross-repo-reviews) for setup and behavior 12. **Sign commits** * When enabled, cubic signs the commits it pushes when applying fixes, so GitHub marks them as verified * Useful for repositories that require signed commits via branch protection * Applies only to the **cubic** coding agent; the Cursor cloud agent always signs its commits * Requires "Fix with cubic" to be enabled first * Disabled by default ## PR description settings Control how AI generates PR descriptions for your repository through the dedicated **Descriptions** tab. ### Available options 1. **PR description generation toggle** * Enable or disable automatic PR description generation for new pull requests * When enabled, cubic generates descriptions when PRs are opened 2. **Custom instructions** * Provide specific guidelines for how PR descriptions should be formatted * Instructions are applied to all AI-generated descriptions in the repository * Leave empty to use cubic's default description format 3. **Review in cubic link** * Include a link to review the PR in cubic's AI-native diff viewer * Enabled by default 4. **Skip when authors write descriptions** * When enabled, cubic skips generating a description on new PRs whose author already wrote a substantive one * Empty or template-only descriptions (unfilled headings, checklists, bare issue links) still get an AI description * Disabled by default Access these settings from the **Descriptions** tab in your [AI review settings](https://cubic.dev/ai-review?tab=descriptions). ## Next steps * [Interactive comments](/ai-review/interactive-comments): Refine the AI's suggestions directly within PR comments. * [Custom agents](/ai-review/custom-agents): Create domain-specific checks to expand beyond general analysis. * [Auto-approval](/ai-review/auto-approval): Let cubic approve clean pull requests when your policy allows it. # Auto-approval Source: https://docs.cubic.dev/ai-review/auto-approval Skip human review for clean, low-risk pull requests when your policy allows it. Auto-approval lets you skip human review for pull requests that cubic determines are low risk and issue-free. When a PR matches your repository policy, cubic can submit the GitHub approval so the change can keep moving. Not every PR needs a human reviewer. Documentation updates, test-only changes, small config edits, and other low-risk PRs can move faster when cubic has already reviewed them and found no issues. Human reviewers can spend their time on changes that need judgment: product logic, infrastructure, security, data models, and other high-impact code. You stay in control by choosing the policy per repository. Auto-approval is disabled by default, and you can test it in shadow mode before cubic submits real GitHub approvals. Auto-approve PR settings showing Shadow behavior, Custom approval policy, a custom prompt, and never-auto-approve rules ## How it works cubic treats auto-approval as part of the review outcome. If the review is clean and your settings allow approval, cubic can approve the PR. If the PR does not match your policy, cubic leaves a normal review comment instead. Shadow mode is the safe way to start. It keeps cubic in comment-only mode, but adds a summary showing whether cubic would have approved the PR. ## Recommended workflow Start with repositories where the risk is low, such as documentation, internal tools, test fixtures, or repos with narrow change types. Auto-approval settings are configured per repository, so you do not need to roll it out everywhere at once. 1. Open [AI review settings](https://www.cubic.dev/ai-review?tab=auto-approve) and select one repository. 2. Set **Behavior** to **Shadow**. 3. Choose **Low-risk only** or write a **Custom** policy for that repository. 4. Watch a few real PRs to see which ones cubic would approve. 5. Add never-auto-approve rules for sensitive paths, such as migrations or infrastructure. 6. Switch **Behavior** to **Live** when the shadow results match your team's expectations. Use different policies for different repositories. A docs repo might use live auto-approval much sooner than a payments, auth, or infrastructure repo. ## Behavior and policy Behavior controls whether cubic submits real approvals: * **Disabled:** cubic only comments. * **Shadow:** cubic comments and shows what it would have approved. * **Live:** cubic submits a real GitHub approval when the policy allows it. Approval policy controls which clean PRs are eligible: * **Low-risk only:** recommended default for most repositories. * **Custom:** your own approval criteria, such as "only approve tests and docs." * **Always:** approves any clean review. Use this only for repositories where that is acceptable. ## Safety controls Auto-approval is conservative by design: * cubic only approves when it finds no review issues. * Shadow mode never submits a real approval. * Never-auto-approve rules block approval when a PR changes sensitive files. * Public-repository PRs from external contributors can be reviewed without being auto-approved. * GitHub branch protection still applies, including required checks, required reviewers, and code owner rules. Use never-auto-approve rules for files that should always get human review, such as migrations, infrastructure, auth, billing, or production configuration. If any changed file in the PR matches one of those patterns, cubic leaves a normal review comment instead of approving. Configure these settings in [AI review settings](https://www.cubic.dev/ai-review?tab=auto-approve), or version-control them with [`cubic.yaml`](/configure/cubic-yaml). ## Next steps * [AI review settings](https://www.cubic.dev/ai-review?tab=auto-approve): Configure auto-approval in the dashboard. * [Configure with cubic.yaml](/configure/cubic-yaml): Version-control auto-approval settings. # Coding agents Source: https://docs.cubic.dev/ai-review/coding-agents Use Coding agents to asynchronously fix issues flagged in code review. cubic can automatically fix issues identified during code review. Request a targeted fix with one click. Fix with cubic button ## How it works When cubic identifies an issue in your code, you can request an AI-generated fix that: 1. **Analyzes the issue** - Reviews the problem and relevant context 2. **Generates a solution** - Creates a targeted fix addressing the specific issue 3. **Applies the fix** - Pushes commits to your PR branch by default, or opens a fix PR when requested 4. **Preserves review flow** - Lets you review the changes before merging into your main PR By default, cubic pushes commits directly to your PR branch. To override, include "open a fix PR" in your request. If cubic opens a fix PR, it targets the branch of your original PR, not the main branch. ## Triggering fixes There are two ways to request an AI fix: ### Tagging cubic in Github or cubic Request AI fix demo You can also request fixes for issues cubic didn’t flag. Tag cubic in any PR comment (including colleague comments) and ask for a fix: * "@cubic fix this issue" * "@cubic-dev-ai can you generate a fix for this?" * "@cubic please fix the type error mentioned above" cubic will acknowledge your request and begin generating the fix. If you want a separate PR instead of direct commits, say "open a fix PR." cubic only treats the current comment as permission to edit code when that comment explicitly tags cubic. `@cubic`, `@cubic-dev-ai`, and other supported cubic tags work. Replying inside a cubic-started thread without a fresh tag is treated as discussion, feedback, or questions, not authorization to push changes. ### Using the fix button in cubic