remove SUPERPOWERD and OLLIE_TRANSCRIPT_PATH references

This commit is contained in:
Ollie Agent 2026-07-31 08:40:37 +02:00
parent 5ce4477316
commit 9abf16d75f
7 changed files with 6 additions and 12 deletions

View File

@ -65,7 +65,7 @@ Sessions live at `session/`. Each session is a directory; all operations are 9P
| File | Mode | Purpose | | File | Mode | Purpose |
|---|---|---| |---|---|---|
| `cfg` | r/w | Session config: backend, model, agent, cwd, params (key=value). Write key=value to change. | | `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 | | `context` | read | Rendered context window |
| `cost` | read | Estimated cost | | `cost` | read | Estimated cost |
| `ctl` | write | Control commands (see below) | | `ctl` | write | Control commands (see below) |

View File

@ -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 | | `prompt` | write | Queue a new turn; writes are enqueued if agent is busy |
| `statewait` | read (blocking) | Blocks until state changes; returns new state | | `statewait` | read (blocking) | Blocks until state changes; returns new state |
| `state` | read | Current state: `idle`, `running`, `failed: <reason>` | | `state` | read | Current state: `idle`, `running`, `failed: <reason>` |
| `chat` | read | Full conversation transcript | | `chat` | read | Full conversation history |
| `context` | read | Full message history as JSONL | | `context` | read | Full message history as JSONL |
| `offset` | read | Byte position in `chat` immediately after the last user prompt | | `offset` | read | Byte position in `chat` immediately after the last user prompt |
| `plan` | r/w | Scratch space for agent planning | | `plan` | r/w | Scratch space for agent planning |

View File

@ -30,7 +30,7 @@ ollie/
new create session (r/w) cat: KV template; echo "cwd=/path" > new create session (r/w) cat: KV template; echo "cwd=/path" >
<id>/ session directory rm -r to kill; mv to rename <id>/ 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 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) context rendered context window (ro)
cost estimated cost (ro) cost estimated cost (ro)
ctl control (w) stop, kill, clear, compact, rn <name> ctl control (w) stop, kill, clear, compact, rn <name>
@ -56,7 +56,7 @@ ollie/
sk/ skills (r/w) ls, cat, edit sk/ skills (r/w) ls, cat, edit
idx skill index (ro) cat idx skill index (ro) cat
<name>.md skill content (r/w) <name>.md skill content (r/w)
tr/ transcripts (ro) ls, cat tr/ transcripts (ro) ls, cat (deprecated — no longer saved)
<YYYYMMddTHHmmss>-chat.md saved transcripts <YYYYMMddTHHmmss>-chat.md saved transcripts
u/ utility scripts (x) ls, exec u/ utility scripts (x) ls, exec
x/ system scripts (x) ls, exec x/ system scripts (x) ls, exec

6
env/env.go vendored
View File

@ -1,5 +1,5 @@
// Package env manages the daemon-global environment for ollie. // 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. // defaults, and formats them for export to frontends via ollie/env.
package env package env
@ -22,10 +22,7 @@ var managed = []string{
"OLLIE_PROMPTS_PATH", "OLLIE_PROMPTS_PATH",
"OLLIE_MEMORY_PATH", "OLLIE_MEMORY_PATH",
"OLLIE_TMP_PATH", "OLLIE_TMP_PATH",
"OLLIE_TRANSCRIPT_PATH",
"OLLIE_ELEVATE_SOCKET", "OLLIE_ELEVATE_SOCKET",
"SUPERPOWERD_SESSION_TOKEN",
"SUPERPOWERD_SOCKET_DIR",
} }
// EnsureDefaults loads ~/.config/ollie/env and sets default values for any // 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_PROMPTS_PATH": filepath.Join(home, ".config", "ollie", "prompts"),
"OLLIE_MEMORY_PATH": filepath.Join(home, ".config", "ollie", "memory"), "OLLIE_MEMORY_PATH": filepath.Join(home, ".config", "ollie", "memory"),
"OLLIE_TMP_PATH": filepath.Join(home, ".local", "share", "ollie", "tmp"), "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"), "OLLIE_ELEVATE_SOCKET": filepath.Join(xdgRuntime, "ollie", "elevate.sock"),
} }
for k, v := range defaults { for k, v := range defaults {

2
env/env_test.go vendored
View File

@ -13,7 +13,7 @@ func TestEnsureDefaults(t *testing.T) {
os.Unsetenv(k) os.Unsetenv(k)
} }
EnsureDefaults() 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 == "" { if v := os.Getenv(k); v == "" {
t.Errorf("%s not set after EnsureDefaults", k) t.Errorf("%s not set after EnsureDefaults", k)
} }

View File

@ -162,7 +162,6 @@ env:
- PCLOUD_USER - PCLOUD_USER
- EDITOR - EDITOR
- GIT_SEQUENCE_EDITOR - GIT_SEQUENCE_EDITOR
- SUPERPOWERD_SESSION_TOKEN
- DISPLAY - DISPLAY
- DBUS_SESSION_BUS_ADDRESS - DBUS_SESSION_BUS_ADDRESS
- PCFS - PCFS

View File

@ -52,6 +52,5 @@ env:
- AGENT_ID - AGENT_ID
- XDG_RUNTIME_DIR - XDG_RUNTIME_DIR
- TMPDIR - TMPDIR
- SUPERPOWERD_SESSION_TOKEN
network: network:
unrestricted: true unrestricted: true