Skip to content

release: promote investigations and billing to production - #789

Draft
izadoesdev wants to merge 12 commits into
mainfrom
staging
Draft

release: promote investigations and billing to production#789
izadoesdev wants to merge 12 commits into
mainfrom
staging

Conversation

@izadoesdev

@izadoesdev izadoesdev commented Sep 13, 2026

Copy link
Copy Markdown
Member

Depends on #788. This draft updates automatically when that reviewed slice lands on staging.

Promote the reviewed investigation and billing changes from staging so the public API, dashboard, and pricing pages support included Databunny chat and monthly investigation allowances. Business includes 100 completed investigations per month, Scale 500, with $1 per additional completed result. The billing UI removes conflicting credit offers for included-chat accounts and collapses disabled settings.

This promotion includes the existing staged investigation/retention changes #771, #772, #774#781, fixed investigation billing #786, pricing disclosures #787, and the monthly allowance/included-chat cleanup #788. This is the complete staged investigation release. Fixed billing depends on the staged investigation pipeline, durable reservation ledger, saved evidence, and included clarification/verification flow.

Public API/dashboard/docs currently follow main; Insights and Slack follow staging. Verify exact deployment commits after merge. Live Autumn plan updates must follow compatible deployments and verified database schema. Preserve existing customer versions, paid balances, and the user's customized complimentary base price.

Release validation and schema evidence will be updated against the merged staging head before this PR is merged. No automatic model change or mass customer migration is included. AI-assisted maintainer release.


Summary by cubic

Promotes the staged investigation and billing release to production: completed investigations now cost $1 with monthly allowances (Business 100/month, Scale 500, $1 per extra) and included clarifications, while ordinary chat bills against separate AI credits. Also ships saved activation/return-event measurement plans that drive identified-profile retention investigations.

Billing

  • Same-question clarifications and verification of a proposed repair are included; new questions or fresh analysis start a new $1 investigation.
  • Existing subscriptions keep legacy investigation billing until they buy $1 investigations or switch to the new plan version; the dashboard now separates AI credit controls from $1 investigation purchases.
  • Removes conflicting credit offers for included-chat accounts and collapses disabled billing settings.

Rollout

  • No automatic model change or mass customer migration; existing versions, paid balances, and customized complimentary base prices are preserved.
  • Public API, dashboard, and docs follow main; Insights and Slack follow staging — verify exact deployment commits after merge.
  • Live Autumn plan updates must follow compatible deployments and verified database schema.

Written for commit 00704a0. Summary will update on new commits.

Review in cubic

* feat(ai): measure identified profile activation retention

* fix(ai): reject unsupported retention grouping
* feat(insights): measure saved activation and return outcomes

* style(insights): format measurement regression cases

* fix(insights): preserve measured cohort findings through publication

* fix(dashboard): omit unscoped cohort definition link

* fix(insights): finish from sufficient evidence without redundant reads

* Revert "fix(insights): finish from sufficient evidence without redundant reads"

This reverts commit b931b4d.
…gations (#776)

* fix(rpc): validate inherited measurement bindings

* style(dashboard): apply measurement typography utilities

* docs(ci): require resolved PR feedback before merging

* fix(insights): retire obsolete retention observations

* test(insights): exercise retirement with real cache invalidation

* test(insights): close test resources and isolate integration selection
* fix(insights): keep evidence claims with their sources

* fix(insights): decide publication from cited evidence

* fix(dashboard): label investigation resolutions as conclusions

* fix(insights): verify saved recovery checks without model turns
…#779)

* fix(insights): preserve native retention evidence through publication

* fix(insights): resolve unexplained cohort findings without speculative followups

* fix(insights): reject conflicting and misattributed retention evidence

* test(insights): isolate retention scope and persistent conflict checks

* test(insights): simplify retention evidence fixtures
* fix(insights): validate tool-supplied retention comparisons

* fix(insights): avoid redundant retention finish repairs
* feat(insights): add grounded activation-date comparisons

* fix(insights): keep conflicting cohort snapshots private

* fix(insights): preserve complete retention findings

* test(shared): follow cohort iteration style

* fix(insights): align retention copy with the brief budget
* feat(insights): define fixed investigation pricing terms

* refactor(ai): separate usage telemetry from credit billing

* docs(insights): define completed investigation billing and included replies

* feat(insights): retain evidence for included clarifications

* feat(insights): reserve and settle fixed investigation units

* feat(dashboard): add fixed investigation purchases and billing terms

* fix(insights): include preparation in fixed investigation pricing

* fix(insights): require scoped measurements for completed answers

* fix(insights): clarify included repair verification

* fix(insights): preserve exact saved measurement scope in replies

* fix(api): protect investigation grants across checkout shapes

* test(api): exercise investigation purchases through request handling

* fix(insights): retain native readings in mixed evidence claims

* docs(insights): state included verification paths

* feat(insights): include saved-evidence replies in investigation units

* feat(insights): charge completed investigations and include saved checks

* test(insights): preserve free terminal questions across scan retries

* fix(insights): retain only scoped measurement evidence

* fix(insights): bind new analysis to its accepted price

* fix(insights): make saved evidence limits explicit

* refactor(api): type investigation checkout JSON

* test(api): validate invalid investigation replies over RPC

* test(api): use a billing spy compatible with Bun and Vitest
)

* fix(docs): disclose investigation pricing across entry points

* fix(dashboard): validate event tiers above included allowances

* fix(docs): render event tier ranges and rates accurately

* style(docs): balance pricing introduction text
@vercel

vercel Bot commented Sep 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dashboard (staging) Ready Ready Preview Sep 13, 2026 3:42pm UTC
databuddy-status Ready Ready Preview Sep 13, 2026 3:42pm UTC
documentation (staging) Ready Ready Preview Sep 13, 2026 3:42pm UTC

@coderabbitai

coderabbitai Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. 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: Repository UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: fb4255a6-8399-4dad-be54-d23e7f73c61c

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

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

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