Skip to content

revert: remove plan-gating from runtime-config (cloud policy must not live in framework)#1599

Merged
xuyushun441-sys merged 1 commit into
mainfrom
revert/runtime-config-plan-gating
Jun 5, 2026
Merged

revert: remove plan-gating from runtime-config (cloud policy must not live in framework)#1599
xuyushun441-sys merged 1 commit into
mainfrom
revert/runtime-config-plan-gating

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

撤销 #1598。该 PR 把 cloud 的计费策略(plan !== 'free' 门控 aiStudio)写进了开源 framework 的 runtime-config-plugin,违反「framework 不承载 cloud 业务、改 cloud 策略不应改 framework」的架构原则。

恢复 runtime-config-plugin 为 plan-agnostic(features.aiStudio 用静态构造参数,由 host 注入)。AI 自动开发的 plan 门控将在 cloud 侧实现(cloud 已有 plan-entitlements.ts + resolve-hostname 暴露 plan)。

更大的方向(按产品决策):framework 将整体移除多租户运行时,只保留本地单环境 objectos——本 revert 是该方向的第一步。

@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 5, 2026 3:46pm

Request Review

@xuyushun441-sys xuyushun441-sys merged commit 609bbfc into main Jun 5, 2026
10 of 11 checks passed
@xuyushun441-sys xuyushun441-sys deleted the revert/runtime-config-plan-gating branch June 5, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants