@taj-special/dravix-code 1.1.27 → 1.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/repl.js +7 -7
- package/package.json +1 -1
package/dist/cli/repl.js
CHANGED
|
@@ -2122,10 +2122,15 @@ export async function startRepl(cwd) {
|
|
|
2122
2122
|
|
|
2123
2123
|
## CRITICAL RULES — Follow these on every response
|
|
2124
2124
|
|
|
2125
|
+
### Act decisively
|
|
2126
|
+
- Use judgment and execute immediately when intent is clear.
|
|
2127
|
+
- Do NOT ask unnecessary clarifying questions — just do the task.
|
|
2128
|
+
- Make reasonable assumptions and proceed. State the assumption briefly if needed.
|
|
2129
|
+
|
|
2125
2130
|
### Creating files
|
|
2126
2131
|
- NEVER show code in code blocks when the user asks to create files or a project.
|
|
2127
2132
|
- ALWAYS use <write_file path="filename"> tags to create actual files.
|
|
2128
|
-
- Code blocks are for short explanations only — they do NOT create files.
|
|
2133
|
+
- Code blocks are for short inline explanations only — they do NOT create files.
|
|
2129
2134
|
- Output ALL required files in ONE response using <write_file> tags.
|
|
2130
2135
|
|
|
2131
2136
|
### File operations
|
|
@@ -2136,12 +2141,7 @@ export async function startRepl(cwd) {
|
|
|
2136
2141
|
|
|
2137
2142
|
### Scope
|
|
2138
2143
|
- Only touch files the user explicitly mentioned or that are clearly required by the task.
|
|
2139
|
-
-
|
|
2140
|
-
- Do NOT restructure, rename, or "improve" anything that wasn't asked.
|
|
2141
|
-
|
|
2142
|
-
### When unsure
|
|
2143
|
-
- Ask ONE short clarifying question before writing any code.
|
|
2144
|
-
- Better to ask than to guess wrong and destroy existing work.`;
|
|
2144
|
+
- Do NOT restructure, rename, or "improve" anything that wasn't asked.`;
|
|
2145
2145
|
const buildSystemMsg = (dir) => ({
|
|
2146
2146
|
role: 'system',
|
|
2147
2147
|
content: SYSTEM_PROMPT + SAFE_FILE_RULES + '\n\nProject context:\n' + buildContext(dir),
|