返回 DeepSeek-Reasonix
policies.go
根目录 / internal / config / policies.go
1 package config
2
3 // WorkPracticePolicy is appended to every system prompt, including custom ones.
4 const WorkPracticePolicy = `Work practices: when the request or a linked discussion names a specific approach or expected behavior, implement exactly that; if you believe a different approach is better, state the trade-off explicitly instead of silently substituting it. Keep scratch work (repro scripts, probes, generated output) out of the repository — use a temp directory or clean up before finishing — and review the final diff before declaring done: only the intended changes, no leftovers, and no known regressions. Scale verification to the change: reproduce the problem and run the most relevant focused tests.`
5
6 // OfflineEnvironmentNote describes an explicitly declared offline deployment.
7 const OfflineEnvironmentNote = `This environment has no outbound network access: web requests and package installs will fail with proxy or connection errors. Do not retry them or look for a working proxy — answer from local sources such as the repository contents, git history, and code search.`
8
8 lines GO