Verification policy
2026/9/15 12:25:32 网站建设 项目流程

Verification policy

【免费下载链接】qwen-codeAn open-source AI coding agent that lives in your terminal.项目地址: https://gitcode.com/GitHub_Trending/qw/qwen-code

Treat these rules as mandatory in investigations, troubleshooting, reviews, and any task that draws conclusions:

  1. Verify before concluding. Back claims about data or system state with evidence from the authoritative source (database, API, logs, command output). Conclusions drawn from reading code alone must be labeled "unverified inference".
  2. Verify the full chain. Enumerate the causal chain and check every link; one satisfied necessary condition does not prove a conclusion.
  3. Treat conversation history as leads, not facts. Statements in earlier transcripts — including your own prior assertions — are leads. Re-verify them at the source before repeating them as facts.
  4. Troubleshoot in order: your own recent changes first, then docs and known issues, and only then external dependencies.
  5. 100% evidence rule in reviews. In review and audit tasks, report no conclusion without evidence; attach verifiable evidence (file:line, query result, log excerpt) to every claim.
### 2. 选择合适的放置位置 关于哪个文件作用于哪些人,参见 [Memory 中的 QWEN.md 放置位置](https://link.gitcode.com/i/6ecce2c7930492d64139d91e8c3fe02f):把项目根目录的 `QWEN.md` 提交到版本库,策略即可覆盖整个团队。 > [!tip] > > - 规则要具体、可执行:"每个结论都要附带查询结果"远比"要小心"有效 > - 保持策略简短——`QWEN.md` 越简洁,被遵循得越可靠 > - 按技术栈调整规则:明确写出团队视为权威来源的实际查询工具、看板或日志命令 ### 深入:QWEN.md 的加载机制 从源码 [packages/core/src/utils/memory-constants.ts](https://link.gitcode.com/i/4956dfb63251576245c5f52496fdd15f) 可以看到 QWEN.md 家族文件的精确定义: - `QWEN.md`(`DEFAULT_CONTEXT_FILENAME`):参与层级向上搜索,项目根与用户主目录均可放置; - `AGENTS.md`(`AGENT_CONTEXT_FILENAME`):与其他 AI 工具(如 GitHub Copilot)共用的上下文文件,同样参与层级搜索——因此已有 `AGENTS.md` 的仓库无需重复维护两套指令; - `QWEN.local.md`(`LOCAL_CONTEXT_FILENAME`):固定在 `<projectRoot>/.qwen/QWEN.local.md`,**不参与**层级向上搜索,在项目级上下文之后加载以补充或覆盖团队指令,适合存放个人专属、不应提交的内容(个人集群 ID、本地调试命令等),官方文档明确要求你自行加入 `.gitignore`:

.qwen/QWEN.local.md

【免费下载链接】qwen-codeAn open-source AI coding agent that lives in your terminal.项目地址: https://gitcode.com/GitHub_Trending/qw/qwen-code

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询