On Arch Linux, venvs can be created without pip seeded in.
Detect the missing module before attempting pip install and
recover with `python -m ensurepip --upgrade`.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- backup.sh — backs up home/ (persona data, memory, tasks, crons) to a
local restic repo; auto-generates password on first run, prunes to
7d/4w/6m retention; excludes sessions/ and session_data/
- install.py — setup_backup_timer() installs cortex-backup.service +
cortex-backup.timer (daily 03:00, Persistent=true); skips gracefully
if restic is not installed
Password lives at ~/.config/cortex/restic-password (chmod 600, not in git).
Repo defaults to ~/backups/cortex-home-restic; override via RESTIC_REPOSITORY.
Per-user encrypted backup is a noted future feature.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- install.py — idempotent setup script (venv, systemd service, linger,
auth checks); supports --check for read-only status inspection
- .stignore — exclude .venv and runtime dirs from Syncthing so each
host maintains its own machine-local venv
- Cortex_and_Inara.code-workspace — VS Code workspace (service, personas,
docs folders; launch config for uvicorn --reload)
- dev-restart.sh — SSH wrapper to restart Cortex on the gaming laptop
and tail logs; supports restart / logs / status subcommands
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>