Commit Graph
2 Commits
Author SHA1 Message Date
cshandClaude Opus 5 bcad28d22c 🐛 fix(tsl-syntax-reference): correct wrong facts on pages 15 and 16
- 16's numeric literal example prints nine values but its output fragment
  listed three lines; replace it with what the interpreter actually
  prints, so the fragment stops contradicting the prose in the same block
- 15's keyword table listed `inherited` as reserved-but-unused, which
  contradicts the `Inherited;` / `Inherited MethodName(...)` examples on
  08; both run on windows-tsl and AnalyseNG.NET, so the keyword moves to
  the class row and points at 08

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 21:33:03 +08:00
csh 40a9885eb4 feat(tsl-syntax-reference): harden retrieval and restructure pages
- flag weak candidates (no intent/heading/identifier/tag hit) and exit 2
  when every candidate is weak: mis-hits used to be indistinguishable
  from real hits, so the retry-with-better-terms loop never fired
- accept multiple ids per --section for batch fetch, failing atomically
  on any unknown id so a partial fetch cannot pass as complete
- move query synonyms and page intent aliases to data/lexicon.json and
  enforce alias/page correspondence in --check; curation data no longer
  lives in the engine
- document the weak-hit rule, batch fetch and prelude-once guidance in
  SKILL.md, with curation discipline in data/README.md
- drop 11_pitfalls.md, renumber the trailing pages and spread retrieval
  tags across topics; lexicon keys are page filenames, so the renumbering
  and the new --check rule cannot land in separate commits
2026-07-29 15:45:47 +08:00