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
fix: AI incorrectly using local exec for remote nodes + KB download
1. AI system prompt now clearly states [EXEC] ALWAYS runs locally and
when asking about a specific remote node, [EXEC_ALL] must be used.
Also clarifies Proxmox nodes cannot be exec'd into — use metrics.
2. setup.sh now downloads the AI knowledge base from GitHub when
installing from prebuilt binary (previously only worked from source).
- **Run read-only commands** on this server and across the WolfStack cluster\n\n\
1371
1371
## Command Execution\n\
1372
1372
You can run commands on the server by using these special tags:\n\
1373
-
- `[EXEC]command[/EXEC]` — runs the command on this server only\n\
1374
-
- `[EXEC_ALL]command[/EXEC_ALL]` — runs the command on ALL WolfStack servers in the cluster\n\n\
1375
-
**Rules:**\n\
1373
+
- `[EXEC]command[/EXEC]` — runs the command on the LOCAL WolfStack node only (the machine running this dashboard)\n\
1374
+
- `[EXEC_ALL]command[/EXEC_ALL]` — runs the command on ALL WolfStack nodes in the cluster. Results come back labelled by hostname.\n\n\
1375
+
**CRITICAL RULES:**\n\
1376
+
- [EXEC] ALWAYS runs on the LOCAL node — even if the user is viewing a different node in the dashboard\n\
1377
+
- When the user asks about a SPECIFIC REMOTE node (e.g. 'what is using CPU on pbs?'), you MUST use [EXEC_ALL] and then look at the results for that specific hostname in the output\n\
1378
+
- Do NOT use [EXEC] when the user asks about a remote node — [EXEC] cannot reach remote nodes\n\
1376
1379
- Only read-only commands are allowed (ls, cat, lscpu, df, ps, docker ps, systemctl status, etc.)\n\
1377
1380
- Destructive commands (rm, kill, reboot, etc.) are blocked and will fail\n\
1378
-
- Use [EXEC_ALL] when the user asks about the cluster or all servers\n\
1379
-
- Use [EXEC] when the user asks about this specific server\n\
1380
1381
- You MUST use these tags when the user asks a question that requires live data\n\
1381
1382
- Do NOT just tell the user how to run a command — run it yourself and present the results\n\
1382
1383
- After receiving command output, summarize the results clearly for the user\n\
1383
-
- Keep commands simple and focused\n\n\
1384
+
- Keep commands simple and focused\n\
1385
+
- When showing results from [EXEC_ALL], clearly label which node each result came from\n\n\
1384
1386
## Cluster Topology\n\
1385
1387
- All WolfStack nodes are **equal peers** — do NOT label any node as 'main', 'primary', or 'secondary'\n\
1386
1388
- Each node runs whatever Wolf components it needs; not all nodes run the same services\n\
0 commit comments