Skip to content

Release 5 follow-up: decided grant losses for startsmall-grants and guardian-us - #892

Merged
mitchelljkotler merged 1 commit into
masterfrom
pricing-models-decided-losses
Oct 27, 2026
Merged

mitchelljkotler merged 1 commit into
masterfrom
pricing-models-decided-losses

Conversation

@mitchelljkotler

Copy link
Copy Markdown
Member

Lets release 5's backfill migrate startsmall-grants and guardian-us onto plain Organization comps, at the reduced grant decided today.

Release 5 follow-up, needed before backfill_plan_prices runs on production.

Behaviour changes

  • startsmall-grants → Organization comp. A flat comp of 75 requests at feature level 1, held by 8 organizations. It becomes Organization's 50 requests, plus DocumentCloud access and feature level 2. Losing 25 requests a month was decided 2026-10-27.
  • guardian-us → plain Organization comp, while its 200-seat flexible subscription is resolved separately. It goes from 2,000 requests and 102,500 credits to 50 and 5,000, with no packs.
  • New DECIDED_GRANT_LOSSES (by plan) and DECIDED_ORGANIZATION_LOSSES (by organization) in plan_mapping.py. The grant check lets exactly these through and prints before → after. Any other loss is still refused, and EXPECTED_GRANT_CHANGES still allows gains only.

Migrations

None.

What to check

  • Production dry run: the nine organizations print "grant changes as decided" instead of failing, and nothing else fails.
  • Follow-up for guardian-us's subscription is tracked (colleague's to-do).

🤖 Generated with Claude Code

https://claude.ai/code/session_0151rwxtvLg1vKEiz7XsJfzf

startsmall-grants is a flat 75-request comp that maps to Organization's
50, and guardian-us holds 200 seats on a comped flexible plan; both
become plain Organization comps, decided 2026-10-27.  The grant check
refused them, since decided changes had to be gains.  DECIDED_GRANT_LOSSES
(by plan) and DECIDED_ORGANIZATION_LOSSES (by organization) let exactly
these through, printing before and after; any other loss is still
refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0151rwxtvLg1vKEiz7XsJfzf
@allanlasser
allanlasser temporarily deployed to squarelet-pi-pricing-mo-oaq83a October 27, 2026 13:57 Inactive
@mitchelljkotler
mitchelljkotler merged commit 654dd9a into master Oct 27, 2026
6 checks passed

This branch was previously deployed

1 inactive deployment
squarelet-pi-pricing-mo-oaq83a — 7ef3235c Deployed Oct 27, 2026 by allanlasser
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.

3 participants