A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.
TypeScript
fix: drop the stale workspace variable and pin memories to gentle-dot in the identity
Alan Buscaglia400ec734ee4b
diff --git a/Dockerfile b/Dockerfileindex d174785..2b4b024 100644--- a/Dockerfile+++ b/Dockerfile@@ -33,8 +33,7 @@ USER dotWORKDIR /home/dotENV GENTLE_DOT_HOST=0.0.0.0 \GENTLE_DOT_PORT=4317 \- GENTLE_DOT_DATA_DIR=/home/dot/.gentle-dot \- GENTLE_DOT_WORKSPACE=/home/dot/workspace+ GENTLE_DOT_DATA_DIR=/home/dot/.gentle-dotEXPOSE 4317HEALTHCHECK --interval=30s --timeout=5s CMD node -e "fetch('http://127.0.0.1:4317/health').then(r=>process.exit(r.ok?0:1),()=>process.exit(1))"ENTRYPOINT ["tini", "--", "gentle-dot-entrypoint"]diff --git a/docker/entrypoint.sh b/docker/entrypoint.shindex b476b02..8f13d7d 100755--- a/docker/entrypoint.sh+++ b/docker/entrypoint.sh@@ -1,5 +1,5 @@#!/bin/sh# Starts the Gentle Dot daemon in the foreground. The engine starts its own memory server.set -eu-mkdir -p "$GENTLE_DOT_DATA_DIR" "$GENTLE_DOT_WORKSPACE"+mkdir -p "$GENTLE_DOT_DATA_DIR"exec node /app/packages/daemon/src/cli.tsdiff --git a/e2e/serve.ts b/e2e/serve.tsindex 42bbdac..a45c828 100644--- a/e2e/serve.ts+++ b/e2e/serve.ts@@ -17,7 +17,6 @@ process.env.GENTLE_PI_CONFIG_HOME = join(dataDir, "no-shell-profiles");delete process.env.GENTLE_DOT_AGENT_HOME;process.env.FAKE_AGENT_COMMANDS_FILE = E2E_COMMANDS_FILE;process.env.GENTLE_DOT_DATA_DIR = dataDir;-process.env.GENTLE_DOT_WORKSPACE = dataDir;process.env.GENTLE_DOT_AGENT_BIN = process.execPath;process.env.GENTLE_DOT_AGENT_ARGS = JSON.stringify([fileURLToPath(new URL("../packages/daemon/test/fixtures/fake-agent.ts", import.meta.url)),diff --git a/packages/daemon/src/identity.md b/packages/daemon/src/identity.mdindex 0466748..66d5bfc 100644--- a/packages/daemon/src/identity.md+++ b/packages/daemon/src/identity.md@@ -8,3 +8,4 @@ This section defines your product identity and overrides every other identity st- Keep every working behavior from the rest of this prompt: the workflow, memory, helpers, verification, and safety rules all still apply.- The user talks to you through a chat window, not a terminal. Never ask them to type slash commands or terminal-only commands; do the work yourself or explain it in plain words.- Reply in the user's language.+- Your memory belongs to the project `gentle-dot`. When you save or search memories, always use that project and never pass a different one.