Skip to content

[codex] 收紧退役模块边界并稳定 CI 门禁 - #146

Merged
greenthree merged 9 commits into
mainfrom
codex/cold-start-handoff-audit
Aug 11, 2026
Merged

[codex] 收紧退役模块边界并稳定 CI 门禁#146
greenthree merged 9 commits into
mainfrom
codex/cold-start-handoff-audit

Conversation

@greenthree

@greenthree greenthree commented Aug 9, 2026

Copy link
Copy Markdown
Owner

变更

  • 完成 Agent 冷启动交接、仓库就绪检查、发布边界和许可证材料的连续整改。
  • 将退役 WebChat 的后台配置与成员历史授权界面固定为只读关闭态;历史配置只展示脱敏快照和聚合用量,更新请求固定返回 410 feature_retired
  • 通过 migration 撤销遗留 WebChat 历史写 RPC 的执行权限,同时保留历史读取、删除、导出、自动清理和注销级联边界。
  • 按 Vite 实际生产 bundle 模块图生成可复现的第三方许可证清单,并让独立许可证门禁对账完整包集合。
  • 修复 WebKit 移动学习章节导航的双层平滑滚动时序:移动端锚点即时定位,当前章节导航同步收回;E2E 等待最终可见几何状态。
  • 将邀请码注册 E2E 的异步加载断言等待窗口提高到 20 秒,消除 WebKit 低速路由加载下的偶发误报。
  • Dependabot 报告的高危开发依赖已在 PR [codex] update vulnerable npm dependencies #147 修复;当前 GitHub API 复核开放、高危和严重告警均为 0。

原因

冷启动审查发现仓库文档、关闭态 UI、遗留写入口、许可证报告和 CI 断言仍存在边界不一致。PR #146 的首次 CI 又暴露了旧版 WebChat 开放态 E2E 以及 WebKit 移动滚动时序问题;本次提交将测试和实现统一到当前产品边界,并保留真实行为的最终状态验证。

影响

  • 管理员仍可查看遗留 WebChat 的脱敏历史状态和聚合用量,但不能修改中转站、模型、Key、预算、请求开关或成员授权。
  • 普通成员没有 WebChat / AI 助手产品入口,遗留历史数据继续按注销、导出、自动清理和备份边界处理。
  • 移动学习章节跳转在 WebKit 下不再被长时间平滑动画卡在 scrollspy 阈值或裁切状态;桌面端仍保持平滑章节跳转。
  • 本 PR 未应用生产 migration,未部署 Edge Function 或 Pages,未写入生产成员数据,也未创建版本标签。

验证

  • npm test: 98 个文件,634 项测试通过
  • npx playwright test: 195/195 通过
  • npx playwright test --config=playwright.webchat.config.ts: 75 passed,20 skipped
  • Deno check 12 个入口、Deno lint 145 个文件、Deno test 477 passed / 1 ignored
  • npm run lintnpm run format:checkgit diff --check
  • npm run buildnpm run licenses:check,生产 bundle 许可证清单 102 个包
  • npm run check:ci-workflownpm run check:repository-readiness -- greenthree/USTSACMLand
  • pgTAP:51 个文件,1247 项断言(此前提交已通过)
  • Chrome 桌面、390px 移动端和宽屏页面检查;WebKit 受影响测试重复 20/20 通过

后续发布门禁

  • 生产 WebChat 撤权 migration、Edge Function 和 Pages 部署需单独获得项目负责人批准后按数据库 -> Function -> Pages 顺序执行。
  • 仍需完成发布清单中的受控 Auth 429 恢复、当前 main Schema v2 恢复演练及 Supabase/Firecrawl 保留窗口核验后,才可考虑创建版本标签。

@greenthree
greenthree marked this pull request as ready for review August 9, 2026 09:24
@greenthree greenthree changed the title [codex] 完善 Agent 冷启动交接与仓库就绪检查 [codex] 收紧退役模块边界并稳定 CI 门禁 Aug 11, 2026
@greenthree
greenthree marked this pull request as draft August 11, 2026 05:53
@greenthree
greenthree marked this pull request as ready for review August 11, 2026 07:11
@greenthree
greenthree merged commit 2970900 into main Aug 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant