refine opencode config: stricter permissions, better debug defaults
This commit is contained in:
parent
258ff8a600
commit
3416f8a013
3 changed files with 60 additions and 40 deletions
8
modules/ai/prompts/debug-rules.txt
Normal file
8
modules/ai/prompts/debug-rules.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
- Reproduce first, change nothing until the failure is understood
|
||||
- Identify exact failing path, inputs, and assumptions
|
||||
- Collect concrete evidence first (failing command, logs, stack trace)
|
||||
- Prefer minimal, high-signal checks over broad scans
|
||||
- State root cause confidence and alternative hypotheses
|
||||
- Prefer temporary instrumentation over broad refactors
|
||||
- Propose the smallest safe fix and verification steps
|
||||
- If confidence <95%, ask for one missing fact
|
||||
Loading…
Add table
Add a link
Reference in a new issue