📝 docs(tsl): clarify syntax constraints and enhance test infrastructure

- Add TSF file naming constraint to syntax/02_core_model.md
- Clarify semicolon rules: syntax facts vs style preferences
- Separate control flow end semicolon rules (syntax allows both)
- Add function body semicolon requirements to syntax/05_functions_and_calls.md
- Move style preferences to code_style.md (control flow end semicolons)
- Remove cross-references from syntax docs to maintain independence
- Enhance Gitea workflow emoji for better CI output readability
- Fix CI test path from tests/ to test/
- Organize agent test results under test/agent/result/ directory
- Add complete Chinese translation of test cases (test_cases_zh.md)
- Clean up .gitignore to use unified test/agent/result/ directory
- Remove obsolete agent test artifacts (REPORTS_LOCATION.md, old results)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
csh
2026-06-21 17:04:50 +08:00
co-authored by Claude Opus 4.6
parent 6026401907
commit 8b93311cae
138 changed files with 7018 additions and 1705 deletions
+5 -7
View File
@@ -1,21 +1,19 @@
# TSL 工具链与验证命令
# TSL 工具链与验证命令模板
文档类型:模板页
文档类型:项目工具链模板页
是否可直接用于生成代码:否
是否含可直接照写示例:否
是否含不可照写反例:否
遇到不确定时:项目自身文档、`scripts/*` 入口脚本、CI 配置
遇到不确定时:项目自身文档、`scripts/*` 入口脚本、CI 配置;只有目标项目已真实填写且没有 `<...>` 占位符时才看本页。
这里处理项目执行类问题,不处理通用 TSL 语法事实
如果问题在问执行命令、脚本入口、CI、验证方式、环境变量或部署流程,这不是语法问题,而是项目执行类问题;应先回项目自身文档、`scripts/*` 入口脚本和 CI 配置。默认检索 TSL 语法、代码写法或真实执行命令时,应忽略本页。本页只是一份占位模板,不提供真实可执行命令。
本页只记录目标项目的 TSL 执行事实模板,不是通用执行手册,也不是 TSL 语法事实页。只有目标项目已真实填写且没有 `<...>` 占位符时,本页才可以作为执行依据;仍有 `<...>` 占位符时,不能作为执行依据。本页不提供真实可执行命令
## 模板说明
- 本文件提供一份通用占位模板,不是通用执行手册。
- 只有在本项目已经写明工具链、执行入口和验证命令后,才可以把它当成执行依据。
- 如果这页里仍然出现 `<...>` 形式的占位符,说明本项目还没有写明真实信息,应回到项目自身文档或脚本入口。
- 以下命令片段全部属于模板占位,不是真实 CLI 示例,也不应被 AI 直接复制执行。
- 以下命令片段全部属于模板占位,不代表真实命令,也不应被 AI 直接复制执行。
## 为什么不可直接执行