🐛 fix(tsl-syntax-reference): check fence language per block identity

- `--check` now requires `反例 / 不可照写` in a text fence and
  `可直接照写示例` in a tsl fence; the AGENTS.md flow that extracts every
  ```tsl block and runs it would otherwise execute a counterexample as if
  it were a valid example, and an example hidden in a text fence would
  never be extracted for verification
- 10 held the only counterexample in a tsl fence (a local function call
  with a trailing `with array(...)`); the rule and that fix cannot land in
  separate commits or --check fails in between
- 配置片段 / 概念骨架 and 仅服务端可执行示例 stay unconstrained, since both
  languages are in use for them today

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
csh
2026-07-30 21:33:14 +08:00
co-authored by Claude Opus 5
parent bcad28d22c
commit 68a3b852b0
2 changed files with 24 additions and 3 deletions
@@ -420,7 +420,7 @@ end;
代码块身份:反例 / 不可照写
```tsl
```text
cached_result := Demo() with array("a": 11);
function Demo();