Material Board · PM Vibe Review

可以正常合并,别用 reset 覆盖。

这次 `test` 多了分享页、未读角标、modal 细修和 revise-plan 修复。数据库侧没有迁移,也没有新写入面。唯一要盯住的是 `stage` 上已有的 IGNIS SSO:用普通 merge 会保留它。

blockers0两边独立检查后未发现阻断项。
db migrations0`migrations/` 和 `.sql` diff 为空。
changed files16+1654 / -309,主要是 UI 与只读 share SQL。
01 · Diff Map

两个分支都往前走了,不是单向快进。

origin/test · 88f48d1

PM vibe 代码

  • 内部分享页 MVP新增
  • tab 未读角标新增
  • 故事板多图 / UE 预览修正
  • revise-plan 不再续 delivery修正
19 commitstypecheck pass
origin/stage · fbb6155

生产侧准备

  • IGNIS Performance Engine SSO已有
  • task-actions rollout flags已有
  • MB_TURN_CONTINUATION_ENABLED已有
  • dispatch envelope slim ref已有
stage-only commitsmerge preserves
02 · Database Review

数据库侧是低风险:读多、写少、没有迁移。

migrations
`git diff --name-only origin/stage..origin/test -- migrations '*.sql'` 为空。没有表结构改动。
OK
share-data.ts
两个 loader 只做 `SELECT`。没有 `INSERT / UPDATE / DELETE / CREATE / ALTER / DROP`。
OK
UUID guard
`planId` 和 `deliveryId` 先过 `UUID_RE`,再进入 SQL。坏 id 走 404,不会打爆 uuid cast。
OK
soft delete
主表和 join 到的 hot / creative 都带 `deleted_at IS NULL`。删除内容不会从分享页露出。
OK
attribution
`viewerIsCreator` 仍走 `source_run_id → agent_runs.initiated_by_user_id`。没有给 product tables 加 user 字段。
OK
revise-plan
`cron_auto_chain_delivery` 在 `agent_runs` insert 前被删除。改方案后不会自动接着出片。
OK
DB 结论:这次不是数据模型升级。它只是给单个内容加了只读入口,并修掉一个会误触发 delivery 的输入 flag。
03 · Merge Safety

SSO 看起来像被删,其实普通 merge 会保留。

stage-onlyperformanceEngineSso test-onlyshare pages + UI fixes merge resultSSO 仍在share 也在 git merge --no-commit --no-ff origin/test Automatic merge went well · typecheck pass
$ git merge --no-commit --no-ff origin/test
Automatic merge went well

src/index.tsx
import { auth as authRoutes, performanceEngineSso }
app.use('*', performanceEngineSso)

src/lib/env.ts
PERFORMANCE_ENGINE_TOKEN_PUBLIC_KEY?: string
merge result typecheck passedreset/replace would lose SSOboth peers verified
04 · Release Call

建议:可以合并,按这三步保护现场。

用 merge,不用覆盖

从 `stage` 正常 merge `origin/test`。不要把 stage reset 到 test。

保留 SSO 和 flags

合并后确认 `performanceEngineSso`、`PERFORMANCE_ENGINE_TOKEN_PUBLIC_KEY`、rollout commits 仍在。

跑同一组检查

`npm run typecheck` 已过。发布前再跑一次,外加分享页登录回跳 smoke。

联合结论:无阻断项。数据库方面安全;发布动作的关键不是改代码,而是别用破坏式 promote。
Evidence: `/tmp/pair-tasks/20260528-171256-3675378/cc-findings.md`, `/tmp/pair-tasks/20260528-171256-3675378/codex-findings.md`, `/tmp/material-board-review/typecheck-test2.log`, `/tmp/material-board-review/typecheck-merge2.log`.