From 9abf16d75ff8dee7f0598eb79fa29fefca323672 Mon Sep 17 00:00:00 2001 From: Ollie Agent Date: Fri, 31 Jul 2026 08:40:37 +0200 Subject: [PATCH] remove SUPERPOWERD and OLLIE_TRANSCRIPT_PATH references --- data/prompts/session-9p.md | 2 +- doc/USAGE.md | 2 +- doc/help.md | 4 ++-- env/env.go | 6 +----- env/env_test.go | 2 +- sandbox/default.yaml | 1 - sandbox/restricted.yaml | 1 - 7 files changed, 6 insertions(+), 12 deletions(-) diff --git a/data/prompts/session-9p.md b/data/prompts/session-9p.md index b1fc3fe..6aff945 100644 --- a/data/prompts/session-9p.md +++ b/data/prompts/session-9p.md @@ -65,7 +65,7 @@ Sessions live at `session/`. Each session is a directory; all operations are 9P | File | Mode | Purpose | |---|---|---| | `cfg` | r/w | Session config: backend, model, agent, cwd, params (key=value). Write key=value to change. | -| `chat` | read | Full cumulative chat history (tail-able); write to save transcript | +| `chat` | read | Full cumulative chat history (tail-able) | | `context` | read | Rendered context window | | `cost` | read | Estimated cost | | `ctl` | write | Control commands (see below) | diff --git a/doc/USAGE.md b/doc/USAGE.md index c899a49..e520e0b 100644 --- a/doc/USAGE.md +++ b/doc/USAGE.md @@ -253,7 +253,7 @@ offset=$(9p read session/writer/agent/0/offset) | `prompt` | write | Queue a new turn; writes are enqueued if agent is busy | | `statewait` | read (blocking) | Blocks until state changes; returns new state | | `state` | read | Current state: `idle`, `running`, `failed: ` | -| `chat` | read | Full conversation transcript | +| `chat` | read | Full conversation history | | `context` | read | Full message history as JSONL | | `offset` | read | Byte position in `chat` immediately after the last user prompt | | `plan` | r/w | Scratch space for agent planning | diff --git a/doc/help.md b/doc/help.md index 91e95a8..d090c25 100644 --- a/doc/help.md +++ b/doc/help.md @@ -30,7 +30,7 @@ ollie/ new create session (r/w) cat: KV template; echo "cwd=/path" > / session directory rm -r to kill; mv to rename cfg session config (r/w) cat: KV (backend, model, agent, cwd, params); write KV to change - chat conversation log (r/w; write to save transcript to tr/) + chat conversation log (ro) context rendered context window (ro) cost estimated cost (ro) ctl control (w) stop, kill, clear, compact, rn @@ -56,7 +56,7 @@ ollie/ sk/ skills (r/w) ls, cat, edit idx skill index (ro) cat .md skill content (r/w) - tr/ transcripts (ro) ls, cat + tr/ transcripts (ro) ls, cat (deprecated — no longer saved) -chat.md saved transcripts u/ utility scripts (x) ls, exec x/ system scripts (x) ls, exec diff --git a/env/env.go b/env/env.go index 903631b..98dd837 100644 --- a/env/env.go +++ b/env/env.go @@ -1,5 +1,5 @@ // Package env manages the daemon-global environment for ollie. -// It owns the set of known OLLIE_* and SUPERPOWERD_* variables, provides +// It owns the set of known OLLIE_* variables, provides // defaults, and formats them for export to frontends via ollie/env. package env @@ -22,10 +22,7 @@ var managed = []string{ "OLLIE_PROMPTS_PATH", "OLLIE_MEMORY_PATH", "OLLIE_TMP_PATH", - "OLLIE_TRANSCRIPT_PATH", "OLLIE_ELEVATE_SOCKET", - "SUPERPOWERD_SESSION_TOKEN", - "SUPERPOWERD_SOCKET_DIR", } // EnsureDefaults loads ~/.config/ollie/env and sets default values for any @@ -45,7 +42,6 @@ func EnsureDefaults() { "OLLIE_PROMPTS_PATH": filepath.Join(home, ".config", "ollie", "prompts"), "OLLIE_MEMORY_PATH": filepath.Join(home, ".config", "ollie", "memory"), "OLLIE_TMP_PATH": filepath.Join(home, ".local", "share", "ollie", "tmp"), - "OLLIE_TRANSCRIPT_PATH": filepath.Join(home, ".config", "ollie", "transcript"), "OLLIE_ELEVATE_SOCKET": filepath.Join(xdgRuntime, "ollie", "elevate.sock"), } for k, v := range defaults { diff --git a/env/env_test.go b/env/env_test.go index 8ef0c8e..a851a85 100644 --- a/env/env_test.go +++ b/env/env_test.go @@ -13,7 +13,7 @@ func TestEnsureDefaults(t *testing.T) { os.Unsetenv(k) } EnsureDefaults() - for _, k := range []string{"OLLIE_TOOLS_PATH", "OLLIE_AGENTS_PATH", "OLLIE_SKILLS_PATH", "OLLIE_PROMPTS_PATH", "OLLIE_MEMORY_PATH", "OLLIE_TMP_PATH", "OLLIE_TRANSCRIPT_PATH"} { + for _, k := range []string{"OLLIE_TOOLS_PATH", "OLLIE_AGENTS_PATH", "OLLIE_SKILLS_PATH", "OLLIE_PROMPTS_PATH", "OLLIE_MEMORY_PATH", "OLLIE_TMP_PATH"} { if v := os.Getenv(k); v == "" { t.Errorf("%s not set after EnsureDefaults", k) } diff --git a/sandbox/default.yaml b/sandbox/default.yaml index 453a64c..af0fd65 100644 --- a/sandbox/default.yaml +++ b/sandbox/default.yaml @@ -162,7 +162,6 @@ env: - PCLOUD_USER - EDITOR - GIT_SEQUENCE_EDITOR - - SUPERPOWERD_SESSION_TOKEN - DISPLAY - DBUS_SESSION_BUS_ADDRESS - PCFS diff --git a/sandbox/restricted.yaml b/sandbox/restricted.yaml index 2f77132..bef63d0 100644 --- a/sandbox/restricted.yaml +++ b/sandbox/restricted.yaml @@ -52,6 +52,5 @@ env: - AGENT_ID - XDG_RUNTIME_DIR - TMPDIR - - SUPERPOWERD_SESSION_TOKEN network: unrestricted: true