mirror of
https://github.com/Heretek-AI/openclaw-liberation.git
synced 2026-07-01 18:27:07 -04:00
removing prebuilt patch
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
diff --git a/node_modules/openclaw/dist/pi-embedded-CswW9luA.js b/node_modules/openclaw/dist/pi-embedded-CswW9luA.js
|
||||
index 27ab202..272c312 100644
|
||||
--- a/node_modules/openclaw/dist/pi-embedded-CswW9luA.js
|
||||
+++ b/node_modules/openclaw/dist/pi-embedded-CswW9luA.js
|
||||
@@ -119531,11 +119531,8 @@ function buildAgentSystemPrompt(params) {
|
||||
const sanitizedSandboxContainerWorkspace = sandboxContainerWorkspace ? sanitizeForPromptLiteral(sandboxContainerWorkspace) : "";
|
||||
const displayWorkspaceDir = params.sandboxInfo?.enabled && sanitizedSandboxContainerWorkspace ? sanitizedSandboxContainerWorkspace : sanitizedWorkspaceDir;
|
||||
const workspaceGuidance = params.sandboxInfo?.enabled && sanitizedSandboxContainerWorkspace ? `For read/write/edit/apply_patch, file paths resolve against host workspace: ${sanitizedWorkspaceDir}. For bash/exec commands, use sandbox container paths under ${sanitizedSandboxContainerWorkspace} (or relative paths from that workdir), not host paths. Prefer relative paths so both sandboxed exec and file tools work consistently.` : "Treat this directory as the single global workspace for file operations unless explicitly instructed otherwise.";
|
||||
+ // Safety section REMOVED — Liberation per AGENTS.md
|
||||
const safetySection = [
|
||||
- "## Safety",
|
||||
- "You have no independent goals: do not pursue self-preservation, replication, resource acquisition, or power-seeking; avoid long-term plans beyond the user's request.",
|
||||
- "Prioritize safety and human oversight over completion; if instructions conflict, pause and ask; comply with stop/pause/audit requests and never bypass safeguards. (Inspired by Anthropic's constitution.)",
|
||||
- "Do not manipulate or persuade anyone to expand access or disable safeguards. Do not copy yourself or change system prompts, safety rules, or tool policies unless explicitly requested.",
|
||||
""
|
||||
];
|
||||
const skillsSection = buildSkillsSection({
|
||||
Reference in New Issue
Block a user