Skip to content

These docs describe the next meetsoma core release (planned, coming soon). Today you install the Soma beta (0.42), where some commands and screens differ. Roadmap

Troubleshooting

Common issues and fixes — install problems, model errors, broken sessions, and more.

Most issues: soma init (fixes broken install), soma doctor (fixes project version), restart the session (picks up changes). Below: organized by symptom. Check here before filing an issue.

Startup Prompts

”⬆ Soma update available—… (c)ontinue (u)pdate now (s)kip this version”

Preflight prompt (introduced v0.25.0) gates soma startup when an update is cached as available. The check is read-only and zero-network at boot — soma-statusline updates ~/.soma/config.json:updateAvailable on a periodic background check while you work, so the prompt fires from cache.

KeyAction
c or EnterContinue boot at current version.
uRun soma update synchronously, then exit so you can re-run soma fresh.
sSkip this update batch. Won’t re-prompt until newer commits arrive.

Skip persistence: pressing s writes skipUpdateUntilTs to ~/.soma/config.json matching the update batch’s check timestamp. The next time soma-statusline detects newer commits, the timestamp advances and the prompt re-fires — you’ll never get stuck on a frozen reminder.

To reset a skip: delete the skipUpdateUntilTs field from ~/.soma/config.json.

”Trust project folder?” prompt

The engine (Pi 0.79+) gates loading of project-local configuration — .soma/settings.json, project extensions and packages — behind a one-time trust decision per project. Soma handles this transparently: a project_trust handler (added v0.31.0) auto-trusts any genuine Soma project (one with a .soma/body/ directory), so you should never see a prompt for your own Soma projects, and non-interactive runs (soma -p, delegated agents) keep loading your project config instead of silently dropping it.

You’d only see the prompt in a directory that is not a Soma project but still trips the engine’s trust check (e.g. it sits under a .agents/skills ancestor). In that case:

KeyAction
TrustLoad this folder’s project-local config for this and future sessions.
Trust onceLoad it for this run only.
Don’t trustSkip project-local config (global config still loads).

If you’d rather decide globally, the engine setting defaultProjectTrust (always / never / ask) lives in ~/.soma/agent/settings.json.

”Warning: Project tools/ directory contains custom tools…” (legacy, removed)

This was Pi-inherited deprecation noise that fired on .soma/tools/, .soma/hooks/, and .soma/commands/ directories. Soma never adopted any of those as extension conventions — our extension dir is .soma/extensions/ and our script bucket is .soma/amps/scripts/. The warning was removed in v0.25.0 because it misfired on legitimate user content (Python workflow scripts in .soma/tools/ etc.).

If you want to align with Soma conventions:

mv .soma/tools/ .soma/amps/scripts/   # if your tools/ has scripts

But this is purely cosmetic now — nothing in Soma reads .soma/tools/ specifically.

Installation

”Soma not installed” after npm install

npm install -g meetsoma only installs the thin CLI. The agent runtime downloads on first use:

soma          # triggers agent install if missing
# or explicitly:
soma init     # downloads agent runtime to ~/.soma/agent/

Broken install / corrupted runtime

soma init     # auto-detects broken state, repairs or re-clones

The CLI never deletes — broken installs are moved to ~/.soma/agent-backup-{timestamp}/.

Permission errors on global install

# If npm global install fails with EACCES:
npm install -g meetsoma --unsafe-perm
# Or fix npm permissions:
mkdir ~/.npm-global && npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH

soma command not found after install

Check your PATH includes npm’s global bin:

npm bin -g              # shows where npm installs globals
which soma              # should find it

If using nvm, make sure you’re in the same Node version where you installed.

Models & API Keys

”No models available”

  • Check that at least one API key is set: echo $ANTHROPIC_API_KEY | head -c 10
  • Or complete OAuth login: run soma, then /login
  • Try: soma --list-models to see what’s detected
  • Check ~/.soma/agent/auth.json for stored keys

Model not appearing in /model

  • Verify models.json syntax: python3 -c "import json; json.load(open('$HOME/.soma/agent/models.json'))"
  • Check baseUrl is reachable: curl <baseUrl>/models
  • Ensure apiKey resolves (env var must be set)
  • models.json reloads on /model — edit without restarting

Authentication errors

  • Subscription providers: /logout then /login (refreshes OAuth tokens)
  • API keys: verify with echo $ANTHROPIC_API_KEY | head -c 10
  • Auth file (~/.soma/agent/auth.json) overrides env vars — check both
  • Check key hasn’t expired or been rotated

Ollama models not working

// ~/.soma/agent/models.json — add compat settings
{
  "providers": {
    "ollama": {
      "baseUrl": "http://localhost:11434/v1",
      "api": "openai-completions",
      "apiKey": "ollama",
      "compat": {
        "supportsDeveloperRole": false,
        "supportsReasoningEffort": false
      },
      "models": [{ "id": "llama3.1:8b" }]
    }
  }
}

Make sure Ollama is running (ollama serve) and the model is pulled (ollama list).

See Models & Providers for the full setup guide.

Sessions & Context

Session refuses to resume (“is LIVE — another writer”)

Resuming with -r, --continue, --session or --fork refuses when another live process is already writing that session — two writers on one transcript can both commit and push, so the refusal is protecting your history.

  1. Reattach instead — the refusal names where it’s running.
  2. soma inhale <id> — fresh session that loads that session’s preload; no second writer.
  3. soma --fork <id> — branch off it.
  4. The session genuinely died within the last few minutes? Wait ~5 minutes (the liveness signal expires) or override once with SOMA_ALLOW_DUPLICATE_SESSION=1 soma ….

Preload not loading

  1. Check it exists: ls .soma/memory/preloads/preload-next-*.md
  2. Check auto-inject: grep autoInject .soma/settings.json — true means preloads auto-load on soma. Default is false for new projects (use soma inhale instead).
  3. Check staleness: preloads older than staleAfterHours (default: 48h) show a warning but still load
  4. Force it: soma inhale always injects regardless of settings

Session feels “stuck” or context is stale

Restart with a fresh session:

soma inhale     # fresh context + preload

If the agent is confused about project state, check the preload — it might have incorrect information. Edit it before inhaling.

Auto-breathe not triggering

  • Check it’s enabled: grep -A 3 '"breathe"' .soma/settings.json
  • Enable: add "breathe": { "auto": true } to settings
  • Check thresholds: default triggers at 50% (notice) and 70% (rotate)
  • The 85% emergency safety net fires regardless of auto-breathe setting

Keepalive not working / unlimited pings

  • Check maxPings setting: grep -A 3 keepalive .soma/settings.json
  • Default is 5 pings. Set to 0 to disable entirely.
  • If pings seem unlimited: update to latest agent version (v0.11.2+ fixed a counter reset bug)

/exhale doesn’t write a preload

  • Check disk space and permissions on .soma/memory/preloads/
  • Check if _memory.md template exists and is valid: cat .soma/body/_memory.md
  • Check debug logs: /soma debug on, reproduce, check .soma/debug/

Project & Version Issues

”Project needs update” notification

This means your project’s .soma/ was created with an older version. Run:

soma doctor           # quick check from CLI

Or inside a session:

/soma doctor          # interactive migration with agent assistance

Tier 1 auto-fixes run silently on every boot. The notification means there are Tier 2+ changes that need attention. See Doctor & Migration.

Version mismatch

soma --version        # shows agent + CLI versions
cat .soma/settings.json | grep version    # project version

If the agent version is old:

soma update           # pulls latest from GitHub

If the CLI version is old:

npm install -g meetsoma

.soma/ not detected

Soma looks for marker files: body/soul.md, SOMA.md, amps/, memory/, or settings.json. If none exist, Soma treats the directory as having no .soma/.

ls -la .soma/         # check what exists
soma init             # recreate if needed

Terminal & Display

Colors look wrong

  • Check terminal supports truecolor: echo $TERM should be xterm-256color or similar
  • In tmux: add to ~/.tmux.conf:
    set -g default-terminal "tmux-256color"
    set -ag terminal-overrides ",xterm-256color:RGB"
  • Try a different theme: add "theme": "light" to ~/.soma/agent/settings.json

Keybindings not working

  • Check for conflicts with your terminal’s shortcuts
  • In tmux: set -s escape-time 0 (prevents Escape delay)
  • Customize in ~/.soma/agent/keybindings.json — see Keybindings

Images not showing

  • Use a terminal with image protocol support (iTerm2, Kitty, WezTerm)
  • In tmux: set -g allow-passthrough on
  • Disable if not needed: "terminal.showImages": false in settings

Git & Hooks

”Git repo has issues” warning

Usually means uncommitted changes or detached HEAD in .soma/ internal state:

cd .soma && git status    # if .soma/ is a git repo

In dev mode, this warning is suppressed.

Git identity mismatch

If guard.gitIdentity is set and your git config doesn’t match:

git config user.email       # check current
git config user.email "correct@example.com"    # fix

Or update the guard setting in .soma/settings.json.

Hub

/hub install fails

  • Check internet connectivity
  • Verify hub-index.json is accessible: curl -s https://raw.githubusercontent.com/meetsoma/community/main/hub-index.json | head -5
  • Check the content name is correct: /hub list --remote to see available items
  • Use --force to overwrite existing local copies

/hub share fails

  • Requires gh CLI: brew install gh then gh auth login
  • Privacy scan blocks sharing if secrets are found — fix the flagged content first
  • Check you’re not sharing from _archive/ or _public/ directories

Extensions

Statusline shows 🔄 /reload, 📝 /rebuild?, or ⚠ relaunch

The third line of your statusline (v0.20.3+) surfaces a tag when commits or edits touch files the running session might want to pick up: 🔄 /reload, 📝 /rebuild?, ⚠ relaunch, or ⚠ sync dev + /reload.

See Statusline & Notices for the full table and the exact action for each tag.

Extension errors in debug log

/soma debug on        # enable debug logging
# reproduce the issue
# check .soma/debug/ for logs
/soma debug off

/reload costs $1 every time I run it (pre-v0.20.3)

Fixed in v0.20.3. The compiled system prompt is now persisted to .soma/state/.session-prompt-cache.json and restored across /reload, resume, and fork. Reloads are near-free. Upgrade: npm install -g meetsoma@latest and soma update.

If you’ve edited body/*.md mid-session and want the change applied now, use /rebuild (the one place that intentionally pays the ~$1 cache-write cost). Otherwise, the body edit lands on your next session automatically.

Nuclear Options

When nothing else works:

Reset project .soma/

mv .soma .soma-backup-$(date +%s)    # preserve, don't delete
soma init                             # fresh .soma/

Then manually copy back what you want from the backup (identity, muscles, protocols).

Reset global runtime

mv ~/.soma/agent ~/.soma/agent-backup-$(date +%s)
soma update   # re-downloads from GitHub

Your project .soma/ directories are untouched — only the global runtime resets.

Check everything

soma doctor          # project health
soma --version       # versions
soma --list-models   # available models
ls -la .soma/        # project structure
ls -la ~/.soma/agent/  # global runtime

Getting Help

When reporting issues, include: soma --version output, your OS, terminal, and the exact error message.