Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 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. Comment |
This was referenced Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
范围
在
private-beta-accessOpenSpec 基础上实现 Private Beta 核心闭环,并继续以 #164(spec/beta-02-billing-quota)为直接父 PR。/api/chat均执行权益门禁;Beta 模型使用精确BETA_MODEL_IDSallowlist,过期 Pro 回落到 Beta 策略。安全与部署边界
BETA_ACCESS_ENFORCED=false为默认值。启用前必须配置BETA_INVITE_ENCRYPTION_KEY、BETTER_AUTH_URL、Resend 发件域/密钥、webhook secret 和已验价的精确模型 ID。验证
本地已通过:
tsc --noEmite2e/thread-chat/chat-request-context.test.mjsgit diff --checkPR CI 新增隔离 PostgreSQL:重复申请、token 不落明文、邮箱不匹配、并发核销、赠额幂等、webhook 去重与乱序。当前工作环境无 PostgreSQL,本地未执行该 DB 用例。OpenSpec CLI 因其外部遥测目标被执行策略阻止,未绕过;现有 OpenSpec Action 继续作为远端验证。