Skip to content

fix(cli): support Chinese search and cold-start bootstrap - #60

Merged
Disdjj merged 5 commits into
mainfrom
search-startup-bugs
Aug 31, 2026
Merged

fix(cli): support Chinese search and cold-start bootstrap#60
Disdjj merged 5 commits into
mainfrom
search-startup-bugs

Conversation

@Disdjj

@Disdjj Disdjj commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary

  • segment Chinese natural-language queries with Intl.Segmenter, preserve exact-phrase ranking, and use an annotated CJK-bigram fallback only after zero lexical recall
  • let new create the first llmdoc/ directory at the nearest Git root and provide actionable bootstrap guidance
  • distinguish unborn HEAD in init-state, improve meta.missing remediation, and align the bootstrap order with validate -> commit --all
  • add regression coverage and synchronize CLI schemas, design docs, website docs, and tracked llmdoc knowledge
  • prune 475 tokens of reconstructable llmdoc detail while preserving all eight canonical owners and routing

Verification

  • npm test — 64 tests passed
  • npm --prefix cli run lint
  • npm --prefix cli run typecheck
  • npm --prefix website run build
  • npx -y @tokenroll/llmdoc validate
  • routing probes for all newly mapped implementation and test files report zero unmapped files
  • post-prune report: ~2203 tokens, below growth gate, no duplicate or fragment candidates

Closes #59

@Disdjj
Disdjj merged commit a91056b into main Aug 31, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

使用时候报的bug两个

1 participant