Skip to content

Briefings on the Free plan: once a week - #29

Merged
ankurmans merged 1 commit into
mainfrom
feat/briefings-plan-gating
Oct 31, 2026
Merged

ankurmans merged 1 commit into
mainfrom
feat/briefings-plan-gating

Conversation

@ankurmans

Copy link
Copy Markdown
Owner

Owner decision D8: paid plans get one briefing per newsletter up to their newsletter limit (already enforced: one briefing a newsletter, and the plan's newsletter limit). Free gets one briefing, drafts only, weekly.

  • create_briefing / update_briefing on Free refuse a schedule of more than one day (validation_failed, pointing to change_plan).
  • run_briefing on Free refuses a second manual run within 7 days (rate_limited, with the time the next may be asked for).
  • The engine passes over a scheduled slot within 6 days of the last scheduled run and drops a second manual run within a week on Free, so a daily schedule kept after a downgrade runs weekly. It reads the account's plan fields raw, as it already reads the account.
  • The Briefings guide and the action descriptions say so.

Tests: new Free-plan tests in briefings-actions and briefings-engine; engine fixtures now make a paid account unless a test asks for Free. Full suite 3990 pass, 0 fail. Briefings Worker 0.41 MB (unchanged).

Deploy: app, API and the Briefings Worker. No migration.

Free gets one briefing (it has one newsletter), drafts only as on every plan, on a schedule of one day a week with one manual run
a week. create_briefing and update_briefing refuse a longer schedule on Free and run_briefing refuses a second manual run within
a week, saying when the next may be asked for. The engine also passes over a scheduled slot within 6 days of the last scheduled
run, and drops a second manual run within a week, so a daily schedule kept after a downgrade runs weekly. Paid plans keep one
briefing per newsletter up to their newsletter limit.
@ankurmans ankurmans closed this Oct 30, 2026
@ankurmans ankurmans reopened this Oct 30, 2026
@ankurmans
ankurmans merged commit 3260a86 into main Oct 31, 2026
3 of 4 checks passed
@ankurmans
ankurmans deleted the feat/briefings-plan-gating branch October 31, 2026 01:39
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