♻️ 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>
This commit is contained in:
@@ -8,9 +8,5 @@
|
||||
|
||||
| 任务信号 | 入口 | 阻断条件 |
|
||||
| ---------------------------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------- |
|
||||
| 要生成或编写 TSL 代码、先定文件模型与起手骨架 | [tsl-syntax-reference Skill](../../skills/tsl-syntax-reference/SKILL.md) | 不写代码,只查语法、函数或命名事实 |
|
||||
| 查语法写法、语言规则、排查语法错误 | [tsl-syntax-reference Skill](../../skills/tsl-syntax-reference/SKILL.md) | 要找的是函数,不是语法 |
|
||||
| 取金融数据:行情、财务、板块、选股 | 使用 [tsl-api-reference Skill](../../skills/tsl-api-reference/SKILL.md) | 不是取数,是语法或语言规则 |
|
||||
| 查 API/函数的名字、参数、返回值 | 使用 [tsl-api-reference Skill](../../skills/tsl-api-reference/SKILL.md) | 要查的是语法,不是 API 事实 |
|
||||
| 命名与代码风格:变量、函数、类型、文件取名,注释与代码组织 | 取名看 [naming.md](naming.md);注释与组织看 [code_style.md](code_style.md) | 要查的是语法或函数事实 |
|
||||
| 具体模块能力:Python 调 TSL、策略回测、微信通知/告警 | [modules/index.md](modules/index.md) | 只是纯语法或普通取数 |
|
||||
|
||||
Reference in New Issue
Block a user