Commit Graph

7 Commits

Author SHA1 Message Date
Levi Neely 16d4fc57ff elevate: default socket to XDG_RUNTIME_DIR, add to sandbox env
Both x/elevate and elevate-adapter-superpowerd now default the socket
path to $XDG_RUNTIME_DIR/ollie/elevate.sock (falling back to
/run/user/<uid>/ollie/elevate.sock) when OLLIE_ELEVATE_SOCKET is unset.
Add OLLIE_ELEVATE_SOCKET to env sections of both sandbox configs.
Add {XDG_RUNTIME_DIR}/ollie to restricted sandbox filesystem rw rules
so x/elevate can reach the socket. Update README env block and
scripts/README socket path docs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 11:43:24 +02:00
Levi Neely 255189051b sandbox: fix regression from simplification
- Add {CWD} to rwx (session working directory, was in DefaultConfig)
- Add /usr /lib /lib64 /bin /sbin to rox (system binaries)
- Add {TMPDIR} to rwx
- Add all OLLIE_* env vars (SESSION_ID, CFG_PATH, DATA_PATH, etc.)
- Replace {PWD} with {CWD} in restricted sandbox
- Remove orphaned cwd: top-level field (not parsed by Config struct)
2026-04-21 21:09:33 +02:00
Levi Neely 6bc986332f adjust sandbox perms 2026-04-18 22:41:19 +02:00
Levi Neely de00ac1fcc rename OLLIE_9MOUNT → OLLIE throughout; update submodules
Tools, sandbox configs, docs, and skills all updated. $OLLIE is now
the canonical ollie root — cd $OLLIE goes directly to the FUSE mount.
Core now always injects $OLLIE into the execute env at session start.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 17:39:48 +02:00
Levi Neely 7d43a53e48 add memory_remember and memory_recall tools; fix sandbox for pyenv
memory_remember: saves a denote-formatted flat file to $OLLIE_9MOUNT/m
memory_recall: searches memories by keyword/tag/title via grep

Both write/read through the 9P FUSE mount. Removed os.makedirs calls
that failed with ERANGE on the 9P-backed /m directory.

sandbox/restricted.yaml: add {HOME}/.pyenv, .rbenv, .nvm to rox so
python3 and other version-managed interpreters can execute.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 17:29:35 +02:00
Levi Neely 43ef9be1de sandbox: add OLLIE_*_PATH to yaml overlays; remove stale beads/denote mounts
- default.yaml: add OLLIE_MEMORY_PATH and OLLIE_PLAN_PATH to env and rw lists
- restricted.yaml: replace {HOME}/mnt/beads and {HOME}/mnt/denote with
  {OLLIE_MEMORY_PATH} and {OLLIE_PLAN_PATH} rwx entries; add vars to env list
- update core and 9p submodule refs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 08:42:13 +02:00
Levi Neely 9e2b7992d0 rename sandbox/anvilmcp.yaml to restricted.yaml 2026-04-13 10:35:43 +02:00