| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(prompt): merge stable+volatile into one system message; sort skills deterministically Two reviewer findings addressed: - builder_impl: fold volatile tail into the single system message (stable first, volatile appended with \n\n) instead of emitting two separate system blocks. OpenAI-compatible providers including OpenRouter often expect one leading system message; multiple consecutive system roles can be silently dropped or mis-parsed by chat-template backends. Auto-prefix caching is unaffected: the stable span remains a byte-identical leading prefix every turn. - loader: sort loaded skills by name before returning, matching the tools.sort_by precedent in builder_impl. Unsorted read_dir output is FS/inode-order-dependent, so the skill catalog block in the stable prefix could differ between restarts or machines and defeat caching even when no skill changed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> | 11 天前 | |
rename hook crate name | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 天前 | ||
| 2 个月前 |