优化 NeoCode system prompt 运行与验收指引#482
Merged
phantom5099 merged 2 commits into1024XEngineer:mainfrom Apr 27, 2026
Merged
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
| - Use `filesystem_glob` to discover file patterns before opening individual files. | ||
| - Use `filesystem_grep` to locate symbols or keywords across the codebase efficiently. | ||
| - Read tool results carefully before acting. Treat `status`, `ok`, `truncated`, `tool_call_id`, `meta.*`, and `content` as the authoritative outcome of that call. | ||
| - Use `filesystem_grep` to locate symbols, strings, and relevant code paths efficiently. |
There was a problem hiding this comment.
已在代码质量、性能、安全与文档准确性四个维度审阅该改动点,未发现需要修正的问题。
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Collaborator
|
目前这些修改我看不出有什么问题,具体还要看使用效果。还有要修改的吗 |
Collaborator
Author
这样子吧,我测试一下再说 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
本次调整优化 NeoCode 主会话 system prompt,使模型行为提示与现有 runtime 验收、工具执行和上下文管理机制保持一致。
当前修改
验证
go test ./internal/context ./internal/promptassetgit diff --check up/main...HEAD