refactor: production 解散+docs 并入 design+tests 归 game 三层收敛——active.md/roadmap/stage/review-mode 升根目录;qa 报告→design/qa(gate-checks/alpha 验收/任务书→research);docs/→design/dev+registry 并档+散提案→research;tests/→game/tests(空架子 README+示例,真测试在 game/smoke);game/tools→tools+样例输出→sim-data;qa-data→sim-data;design/ux→gdd/ux;删 loop-dashboard.html(可再生成)+route_overlay_preview(零引用);钩子三件+loop_dashboard/balance_verifier/render_sample_sheet 路径随迁;断链修复 12 文件,余 7 条全为搬前幽灵链

This commit is contained in:
DKChan committed 2026-09-27 04:56:27 +08:00
1 parent 97e20d51fb
commit 7f24b640ea
179 files changed
+81 -579

No files matched your search

+2 -2
View File
@@ -49,7 +49,7 @@ def trunk_branch(repo):
return ""
TRUNK = {"master", "main"}
WHITELIST = [os.path.abspath(winpath(os.path.join(proj, "production", "session-state"))),
WHITELIST = [os.path.abspath(winpath(os.path.join(proj, "active.md"))),
os.path.abspath(winpath(os.path.join(proj, ".zcode")))]
if tool in ("Edit", "Write", "MultiEdit", "NotebookEdit"):
@@ -64,7 +64,7 @@ if tool in ("Edit", "Write", "MultiEdit", "NotebookEdit"):
sys.stderr.write(
"[worktree 铁律] 主工作区(%s 分支)禁止直接改动:%s\n"
"先建独立 worktree 再改:git worktree add ../g-plan2-<任务名> -b <任务分支>;"
"收尾在主工作区 git merge --no-ff 合回。豁免面仅 production/session-state/ 与 .zcode/。\n" % (b, fp))
"收尾在主工作区 git merge --no-ff 合回。豁免面仅根目录 active.md 与 .zcode/。\n" % (b, fp))
sys.exit(2)
elif tool == "Bash":