Commit Graph
56 Commits
Author SHA1 Message Date
cshandClaude Fable 5 bb8bc6dff9 ♻️ refactor(tsl): decouple skill routing from static docs
删除静态文档中对 tsl-syntax-reference / tsl-api-reference 的导航路由,
改由运行时按需自动触发;语法/API 事实的所有权与 fail-closed 约束
只保留在 rulesets/tsl/index.md 这一唯一权威载体。

- docs/tsl/index.md:删 4 行 skill 路由及重复的所有权/fail-closed 段,回归纯分流
- docs/tsl/modules/index.md:删 API 路由及指向已删 syntax 的 3 处回跳
- docs/index.md:删 skill 导航行及 2 条指向不存在文件的死 catalog 链
- docs/tsl/syntax/index.md:删除旧路径兼容 stub,不再保留任何兼容
- rulesets/tsl/index.md:删首跳 2 条 skill 导航,保留事实边界与 Fail closed
- 同步修正相关测试断言

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 15:26:25 +08:00
cshandClaude Fable 5 265c891e19 🐛 fix(ci): allow kebab-case commit scopes
The scope regex only accepted [a-z0-9_], rejecting hyphenated scopes
like tsl-syntax that dominate the history (12x vs 4x underscore form).
Align both linter copies and the spec doc to accept lower-kebab-case.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 11:22:50 +08:00
csh a32dd5dd3c 📝 docs(ci): plan scoped tsl playbook sync 2026-07-13 10:12:36 +08:00
csh 9fc823d893 📝 docs(ci): design scoped tsl playbook sync 2026-07-13 09:56:25 +08:00
csh e7110bd3b1 🗑️ remove(tsl_syntax): drop platform-specific agent metadata 2026-07-13 09:17:01 +08:00
csh 0ace66571f 📝 docs(tsl-syntax): plan lookup logic hardening 2026-07-13 09:16:58 +08:00
csh da72d3f28c 📝 docs(tsl-syntax): design lookup logic hardening 2026-07-13 09:16:57 +08:00
csh ce1b92bbde feat(skills): add tsl syntax reference skill 2026-07-13 09:16:51 +08:00
csh d0a41380d0 🗑️ remove(tsl): drop duplicate codegen docs 2026-07-08 11:21:28 +08:00
csh c0bf0358e0 📝 docs(tsl): sync api skill with corrected codegen
Mirror docs/tsl/codegen into the bundled tsl-api-reference skill and rebuild the function index.

Remove invalid duplicate API entries for cb_delistedbydate, createhttpsession, exportJsonString, and Anova_Bartlett so exact lookup returns the canonical entries.
2026-07-07 16:47:03 +08:00
csh bbf6977f57 📝 docs(tsl): complete and lint codegen reference 2026-07-07 16:46:51 +08:00
csh e1f7ce052c feat(skills): add tsl api reference skill
Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
2026-07-07 16:36:15 +08:00
csh 6b05d97c00 📝 docs(agent): standardize intelligent agent wording 2026-07-07 16:36:10 +08:00
csh b6160676b4 ♻️ refactor(tsl): rebuild codegen taxonomy
Move generated builtin and dotnet function docs into the upgraded taxonomy, remove legacy route pages, and regenerate function_index.tsv from markdown headings.
2026-07-07 16:36:08 +08:00
csh 54c1c11e77 🗑️ remove(tsl): drop special codegen placeholders 2026-07-07 16:35:59 +08:00
csh 14acc39179 🗑️ remove(tsl): delete legacy reference docs 2026-07-07 16:35:58 +08:00
csh 7046f0b60e 📝 docs(tsl): add generated codegen reference 2026-07-07 16:34:27 +08:00
cshandClaude Fable 5 014c23d386 🎨 style(syntax): normalize naming conventions
Align all TSL syntax documentation examples with docs/tsl/naming.md:

- Classes/types: PascalCase, drop Hungarian prefix (THuman→Human)
- Parameters/locals: snake_case with meaningful names (isLeft→is_left, maxb→max_b)
- Private members: snake_case_ with trailing underscore (real_part_, imaginary_part_)
- Public members: PascalCase (value→Value)
- Top-level functions: PascalCase (test→Test)
- Module constants: kPascalCase (kernel_dll→kKernelDll)

Affected: 01-24 syntax docs (23 files)
Verified: 150+ code blocks locally tested, output unchanged
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 16:34:19 +08:00
csh 0f59543409 ♻️ refactor(test): rebuild agent runtime test flow 2026-06-24 11:22:09 +08:00
cshandClaude Opus 4.6 565071c11f 🎨 style(md): lint and format all Markdown files
- Update .markdownlint.json: disable MD024 (duplicate headings) and MD025 (multiple h1)
  - MD024: test cases intentionally use duplicate headings for test IDs
  - MD025: function catalog files use multiple h1 for different function groups
- Fix MD040: add language identifiers to fenced code blocks in test/agent/README.md
- Fix MD031: add blank lines around fenced code blocks
- Run prettier to format all Markdown files consistently
- Fix table alignment and spacing issues

All markdownlint errors are now resolved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 17:37:29 +08:00
cshandClaude Opus 4.6 8b93311cae 📝 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>
2026-06-21 17:04:50 +08:00
csh c0c2ffb6eb 📝 docs(tsl): expand syntax operator and object coverage 2026-06-10 15:25:42 +08:00
csh 540b3c0a1b 📝 docs(tsl): restructure agent-facing reference
Rework TSL syntax, catalog, modules, and routing docs around deterministic agent lookup and generation.

Split large catalog pages into focused function fact pages, remove obsolete pending/verified/unavailable paths, and update consistency tests for the new structure.
2026-06-09 17:24:30 +08:00
csh d8eb418277 📝 docs(tsl): align agent-facing guidance 2026-05-28 19:12:34 +08:00
csh c1702a667a 📝 docs(markdown): format tracked markdown and drop stale templates 2026-05-18 16:06:21 +08:00
csh 2325409f53 📝 docs(markdown): clarify optional markdownlint usage 2026-05-18 15:55:01 +08:00
csh 214c44eebc 🔧 chore(markdown): add markdownlint baseline and lint fixes 2026-05-18 15:43:48 +08:00
cshandClaude Opus 4.7 7ade85ea1b 🗑️ remove(tsl): drop syntax_book/, data/ source and build script
- Remove docs/tsl/syntax_book/ (superseded by docs/tsl/syntax/)
- Remove data/tsl_reference_catalog_source/ (catalog already generated
  into docs/tsl/reference/catalog/, source no longer needed)
- Remove scripts/build_tsl_reference_catalog.ps1 (build script for
  the above source)
- Remove test assertion that referenced the deleted data/ source index

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 15:50:49 +08:00
csh 956da11348 🐛 fix(playbook): publish hidden ci test fixes
Unhide the tracked docs and test updates that were left under assume-unchanged, remove the shipped tsl-guide skill, and align the deploy_root-related test coverage with the current external-clone rules.
2026-04-23 14:02:42 +08:00
csh 96b705b00b 📝 docs(tsl): rebuild canonical syntax and routing manual 2026-04-22 16:59:20 +08:00
csh 9ac8a4c8a4 📝 docs(typescript): clarify ts and js support boundaries 2026-02-25 13:19:48 +08:00
csh 1f46203299 feat(typescript): add standards docs and sync rewrite coverage 2026-02-24 17:30:43 +08:00
csh ab0dd11afc 📝 docs(playbook): drop docs/plans snapshots 2026-01-23 15:38:47 +08:00
csh d959f80de7 🎨 style(docs): format markdown 2026-01-23 15:07:41 +08:00
csh f0bcf546b2 📝 docs(plans): add unified playbook cli plan 2026-01-23 14:11:25 +08:00
csh 08853097d9 📝 docs(plans): add unified playbook cli design 2026-01-23 14:06:08 +08:00
csh eb75036b64 🔧 chore(templates): align agent templates and docs
- drop implementation-plan template and references
- add AGENT_RULES.local.md precedence in templates
- add plan meta guidance and CN updates
2026-01-23 11:37:29 +08:00
csh fc230b7ff9 🎨 style(markdown): format markdown files 2026-01-21 10:20:53 +08:00
csh 8dc8924cbe 🔧 chore(markdown): add prettier config and usage 2026-01-21 10:20:19 +08:00
csh 2b37860331 🎨 style(markdown): format markdown files 2026-01-11 12:58:27 +08:00
csh e3ecd26a88 📝 docs(tsl): align syntax annotations and examples 2026-01-11 12:53:30 +08:00
csh 3b8b99b24d 🎨 style(markdown): normalize md headings and lists 2026-01-10 21:51:14 +08:00
csh 11b2bed878 feat(markdown): add ruleset and sync support 2026-01-10 17:25:33 +08:00
csh 5822a8736d ♻️ refactor(playbook): streamline agents and refresh tsl docs 2026-01-10 16:55:44 +08:00
csh da0ef2b7a2 test: add automated tests and ci workflow 2026-01-08 11:29:44 +08:00
cshandClaude Sonnet 4.5 99bef309b7 🎨 style(markdown): format all markdown files with prettier
- 使用 prettier 格式化所有 markdown 文件
- prose-wrap: always, print-width: 80
- 保持代码块和表格格式
- 提升可读性和一致性

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-07 17:18:01 +08:00
cshandClaude Sonnet 4.5 7e96bc86d8 ♻️ refactor(tsl): split function.md into 44 modular files
问题:
- 原 function.md 有 221,389 行(4.2MB),导致编辑器性能问题
- Git diff 无法有效查看
- 搜索和定位困难,难以维护

解决方案:
- 按功能模块拆分为 44 个独立文件
- TSL函数 → 10个子文件(数学、基础、系统等)
- 金融函数 → 23个子文件(股票、行情、技术分析等)
- 其他 → 9个独立章节文件
- 3个索引文件提供导航

改进效果:
- 最大文件 < 50,000 行(减少 79%)
- 编辑器打开速度从 10-30秒 → < 1秒
- Git diff 清晰可读,便于code review
- 模块化搜索,精准定位
- 独立维护和扩展

目录结构:
function/
├── index.md              # 总索引
├── tsl/                  # TSL函数(10个文件)
├── financial/            # 金融函数(23个文件)
└── 03_*.md               # 其他章节(9个文件)

注意:
- 原文件已保留为 function.md.backup(未提交)
- function.md 改为重定向文件(3KB)
- 更新 syntax_book/index.md 中的引用

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-07 17:11:20 +08:00
csh 3b2188f336 🎨 style(markdown): format markdown files with prettier 2026-01-07 15:30:18 +08:00
csh 41fc43b79e 📝 docs(tsl): document {Unit.}Type source annotation 2026-01-07 15:10:29 +08:00
csh 3dceaf71fd 📝 docs(tsl): clarify tsf-only top-level rules and type annotations 2026-01-06 10:34:34 +08:00