SkillLoop 0.2.0 upgrades the local SQLite store from schema v1 to schema v2. This is a one-time, automatic upgrade.
- Added a
content_hashcolumn used to deduplicate and verify raw traces. - Added new indexes to support bulk insert/query paths and a busy-timeout.
- The migration runs inside a transaction, so it is atomic: either it fully applies or the store is left unchanged. No data loss occurs on success or failure.
-
Back up your state directory (contains the SQLite DB and any exported datasets):
cp -R ~/.skillloop ~/.skillloop.bak-$(date +%Y%m%d)
-
Run the pre-flight diagnostic to confirm the environment is healthy:
skillloop doctor # or python -m skillloop doctordoctorchecks Python version, install integrity, and store reachability before you touch any data.
The v1 → v2 migration happens automatically the first time 0.2.0 opens the store. You do not need to run a separate command. If you start from a fresh install there is nothing to migrate.
pipx install git+https://github.com/lamenting-hawthorn/skillloop.git@v0.2.0Or upgrade an existing install:
pipx upgrade skillloopIf you need to revert, restore your pre-upgrade backup and reinstall the previous version. The v2 store is not readable by v1, so the backup is the safe path.