chore: 测试源码不入库,订正过期的 UI handoff 文档与 CHANGELOG

.gitignore 恢复整体屏蔽 *_test.go:测试只保留在本地磁盘供开发者执行,不作为交付物外流。因此仓库内不提供自动化测试。

docs/UI_HANDOFF.md 标注为历史文档:它是改造两个单文件 .html、admin <= 35KB 的外包任务书,而 admin 后台此后已重构成多页 SPA(admin-shell.js / admin.css + 登录/音色/设置三页),原约束与验收标准全部失效。补上当前真实文件结构与新的验收清单。
This commit is contained in:
sun
2026-10-03 16:13:47 +08:00
parent 6ac2473099
commit 24f8accf71
3 changed files with 381 additions and 8 deletions
+5 -8
View File
@@ -1,10 +1,13 @@
# Go build cache
# Go build cache
.gocache/
*.exe
*.test
*.out
# Go test sources (prevent accidental commit; tests live outside the repo by policy)
# Go 测试源码:不入库(测试保留在本地磁盘,由开发者自行 go test ./... -count=1)
# 理由:测试用例会暴露内部实现细节与断言,不作为交付物外流。
# 注意:本规则会把测试文件挡在 git 之外,因此仓库内不提供自动化测试;
# .github/workflows/ci.yml 里的测试步骤在纯净克隆上无测试可跑。
*_test.go
# Editor / OS
@@ -38,9 +41,3 @@ tts.db
tts.db-*
tts.db.*
installed.lock
# UI handoff bundle (for external AI redesign work; not deployed)
ui-handoff/
# Docs (本地草稿,不入库)
docs/