fix: 收口审查发现的 CI 与授权边界

将 admin identity helper 移到共享边界,清理跨 feature 导入;修复 CI 集成环境、浏览器数据库/Playwright 配置;增强 doctor source hash 对重命名文件的处理,并补充 logout API 文档。
This commit is contained in:
que01 committed 2026-10-19 00:28:37 +08:00
1 parent bd129a3069
commit 0788480ce3
12 files changed
+35 -16

No files matched your search

+2 -1
View File
@@ -444,7 +444,8 @@ export function sourceTreeHash(root) {
.toString("utf8")
.split("\0")
.filter((file) => file && !file.startsWith(".codex-tasks/"))
.map((file) => path.join(rootPath, file));
.map((file) => path.join(rootPath, file))
.filter((file) => fs.existsSync(file) && fs.statSync(file).isFile());
} else {
files = walkRepositoryFiles(rootPath).filter(
(file) => !path.relative(rootPath, file).startsWith(".codex-tasks/"),