fix: 修复 copier 生成的三个致命 bug,端到端跑通

- copier.yml 补 _subdirectory: template(此前把整个仓库当模板,
  生成项目里混入 template/、scripts/、README、.claude/skills)
- _exclude 去掉 .jinja 后缀(copier 按渲染后路径匹配,原 agent.md.jinja
  等条件排除从未生效,agent=false 仍会带入 agent 规则)
- 新增 template/.copier-answers.yml.jinja(此前缺失,导致 copier update
  无法追踪、verify.sh 读不到 llm_provider/database 而误判)
This commit is contained in:
baozaotumao
2026-06-01 21:27:01 -07:00
parent 39fe248f9f
commit 2a959f2e61
2 changed files with 9 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
# 此文件由 Copier 自动生成与维护,请勿手动编辑。
# 记录模板版本与问卷答案,供 `copier update` 三路合并使用。
{{ _copier_answers|to_nice_yaml }}