e78ed687a6
基于已收敛的目标客户画像(个人用户为主 + 小团队 / 中心化 SaaS / freemium)把 7 份 ADR 拆成 5 期落地: - Stage 0:workspace 模型立起来 + auth 收紧(不可逆决策集中在此) - Stage 1:Postgres + Quota 必落(freemium 不上 quota = 信用卡递给攻击者) - Stage 2:DeerFlow 表 RLS、KMS、ObjectStorage S3、付费分层 - Stage 3:K8s sandbox + BYO key + audit DB 拆分 - Stage 4:SSO / custom domain / per-tenant DB(按 enterprise 客户合同驱动) 关键取舍:① Stage 0 末就把 workspace_id 列加到 SQLite,避免 Stage 1 切 Postgres 时再补;② Quota 比 ADR-003 原稿提前一档到 Stage 1;③ K8s sandbox 推到 Stage 3,AioSandbox + 出网白名单 + 资源限额撑到几千用户。 时间盒:最小可付费 4 个月(Stage 0+1)/ 风险可控增长 8 个月(+Stage 2) / 全功能 14 个月(+Stage 3)。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>