Repository navigation
Prices: plans.json holds each plan's own price; extra prices from a secret - #256
Conversation
…e from a Worker secret Pro is US$50 a developer a month under its usual lookup key (genclass_team_monthly). Any other price for a plan is read from the Worker secret PLANS_PRIVATE (src/plans.ts usePrivatePlans, called by handle()), and scripts/stripe-setup.mjs reads the same JSON from GENCLASS_PLANS_PRIVATE; neither is committed. Messages with no buyer in front of them show the plan's own price. The genclass command's text before sign-in shows the plan's own price too (0.3.12). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GenClass runtime review2 findings in this pull request's tests at
Reply The race report, test by testRace report2 signatures in 2 tests, 2 reproducible (flagged in 2 or more seeds of the same test) · 19 files read · mode observe
[chromium] search.spec.ts > search > buggy page: results of the last query2 seeds (1, 2) · 1 signature · chaos: latency 0–600 ms, reorder Witnesses (facts measured without the model)
search.spec.ts > search > buggy page: results of the last query5 seeds (1, 2, 3, 4, 5) · 1 signature · chaos: latency 0–600 ms, reorder Witnesses (facts measured without the model)
3 tests with nothing flagged
Lines under "Witnesses (facts measured without the model)" are happens-before facts the runtime measured in the page without the model, one per signature (witness kind, operation): overwrote-newer, a response wrote a field over what a newer request or the user had written since the request started; identical-in-flight, two identical requests in flight together from separate user actions. They carry no confidence: a fact is listed when it happened. Reproducible: seen in 2 or more seeds of the same test. Whether a fact is a bug is for you to decide (some overwrites are intended; many are repaired a moment later). genclass-dev[bot] read 19 race files from the artifacts |
billing/plans.json now holds each plan's own price only: Pro is US$50 a developer a month under
genclass_team_monthly. Any other price for a plan comes from the Worker secretPLANS_PRIVATE(src/plans.tsusePrivatePlans), andscripts/stripe-setup.mjsreads the same JSON fromGENCLASS_PLANS_PRIVATE. Neither is committed. Emails and other messages without a visitor show the plan's own price. genclass 0.3.12 shows that price before sign-in.Checks: telemetry-worker vitest 907/907 (new test/private-prices.test.ts and test/stripe-setup-private.test.ts, with made-up values); packages/cli build + vitest 215/215.
🤖 Generated with Claude Code