The 8MB size check caused models to fall back to cat which reads the
entire file without truncation. Now uses itertools.islice to read only
the requested segment without loading the whole file into memory.
Also: sandbox config additions (pcfs, ~/img).
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>
- 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)
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>
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>
- 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>