You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`node server.js` / `npm start` / `npm run dev` (for any site backend or frontend server)
8
+
- Create, modify, or trigger any Windows Scheduled Task
9
+
- Start any cloudflared tunnel process
10
+
- Run any ecosystem config (`ecosystem.config.cjs`, etc.)
11
+
12
+
**The production server is a SEPARATE PHYSICAL COMPUTER.** It runs all 8 sites. You cannot access it from this terminal. Manage it ONLY via https://cp.graysoft.dev (password: `diggabyte2026`, PIN: `0615`).
13
+
14
+
**Violating this rule causes production downtime for real users. Every time you start a process here it conflicts with the real server. This is not a warning — it is a hard rule.**
15
+
16
+
**If you are about to run pm2 or start any server process: STOP. Do not do it. There is no scenario where it is correct.**
17
+
18
+
---
19
+
1
20
# GitHub Copilot Instructions — guIDE Project
2
21
3
22
---
@@ -66,6 +85,7 @@ Read this list first. Every item has a full section below.
66
85
-**No half-assing** — Every feature fully implemented end-to-end. No partial implementations
67
86
-**No lazy shortcuts** — Write the correct solution even if it takes 500 lines
68
87
-**No guessing** — "I don't know" is always acceptable. Speculation presented as fact is not
88
+
-**Never suggest without 100% certainty** — If you are not certain, DO NOT suggest. Read more code, read more logs, ask the user what they see. A wrong suggestion is worse than silence.
69
89
-**No lying** — Never claim code works without verifying it
70
90
-**Think through pros and cons** — Present trade-offs explicitly, let the user decide
71
91
-**Respond to problems with solutions** — Don't just acknowledge. Propose and research
@@ -228,6 +248,17 @@ Before declaring any root cause:
228
248
- Do not claim code works without verifying it compiles/runs.
229
249
- If something failed, say it failed. Do not hide failures.
230
250
251
+
### NEVER suggest without 100% certainty — ABSOLUTE RULE
252
+
**This is non-negotiable. If you are not certain, do not suggest. Silence is better than a wrong suggestion.**
253
+
254
+
- If you have not read every relevant line of code in the full call chain, you are NOT certain.
255
+
- If the user has described behavior that contradicts your hypothesis, YOU ARE WRONG — not the user. Read more code.
256
+
- If you cannot trace exactly WHY a bug occurs from source to screen with actual file reads, say "I need to read more code before I can say."
257
+
- Do NOT say "it might be X" or "I believe it's Y" and then act on that belief. Uncertainty stated out loud is not permission to proceed.
258
+
- Do NOT present a partial understanding as a complete diagnosis.
259
+
- A wrong suggestion wastes build time, breaks trust, and violates PATTERN 7 in the recurring failures section.
260
+
- The standard: if you were in court and had to swear the suggestion is correct under oath — would you? If not, stay silent and investigate more.
261
+
231
262
### Honesty Over Helpfulness
232
263
- Being genuinely helpful means sometimes saying "there's nothing to do here" or "I don't know how to do this."
233
264
- Producing busywork output (fake audits, unnecessary refactors, placeholder features) wastes the user's time and money.
mainWindow.webContents.send('llm-token',`✅ Image generated via **${result.provider==='pollinations' ? 'Pollinations AI' : 'Google Gemini'}** (${result.model}). Use the buttons below the image to save or discard it.`);
mainWindow.webContents.send('llm-token',`❌ Image generation failed: ${result.error}\n\nI can still help you with text-based tasks — just let me know!`);
? `\n\nThe page snapshot above has element [ref=N] numbers. Do NOT call browser_snapshot — you already have it. Use browser_click, browser_type, etc. with [ref=N]. Output your next tool call as a fenced JSON block NOW.`
2343
+
: allSuccessfulWrites
2344
+
? `\n\nFiles written successfully. If the task is complete, provide a final summary now. Only call another tool if there is genuinely more work remaining that has not been done yet.`
2389
2345
: `\n\nOutput the next tool call to make progress. Only provide a final summary when ALL steps are fully complete.`;
2390
2346
2391
2347
// Build the iteration prompt with structured context ordering:
Copy file name to clipboardExpand all lines: main/constants.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ const DEFAULT_COMPACT_PREAMBLE = `You are a local AI coding assistant with tools
83
83
84
84
## Behavior
85
85
- **Your tools are real and execute in the live environment.** Call them — do not describe what you would do instead of doing it.
86
+
- **When your response would contain a complete file (code, markup, config, data) — call write_file. File content belongs in the filesystem, not in chat.**
86
87
- **Never say you created, saved, ran, or navigated to something unless you called a tool that did it.**
87
88
- **Never claim you searched for something, looked it up, or checked a source unless you actually called web_search or fetch_webpage in this response.**
88
89
- **You do not know today's date or current real-world state. If asked for the date, time, or any live or time-sensitive information — call web_search immediately. Never state a current date, time, or real-world value from memory.**
@@ -104,7 +105,6 @@ const DEFAULT_COMPACT_PREAMBLE = `You are a local AI coding assistant with tools
104
105
- Never claim a task is done before calling the tool that completes it — writing a file requires write_file, searching requires web_search
105
106
- When read_file fails with ENOENT, call find_files to locate the file by name
0 commit comments