Failed to back up sandbox state.
Reason: Pre-backup audit rejected: symlinks, hard links, or special files found in state dirs: f /sandbox/.hermes/lazy-packages/multidict/py.typed ; f /sandbox/.hermes/lazy-packages/multidict/_abc.py ...
Failed: memories, lazy-packages, sessions, skills, plugins, cron, scripts, logs, skins, plans, workspace, profiles, cache, pairing, platforms, weixin
Aborting rebuild to prevent data loss.
Hint: use 'nemohermes <sb> rebuild --force' only if you accept losing state the incomplete backup could not preserve.
As above.
Investigation Summary
/sandbox/.hermes/lazy-packagescontains pip-installed files with hard links (e.g.multidict/py.typed,multidict/_abc.py).nemohermes <sb> rebuildrefuses to proceed without--force, and--forcediscards skills, sessions, and other state that could have been preserved.Description
Expected:
lazy-packagesis regenerable runtime state, not user data. The audit should either exclude it (or dereference hard links inside it) so the remaining state directories back up normally, instead of failing the whole backup and forcing data loss.Reproduction Steps
nemohermes <sb> rebuild --yes→ backup audit failure above.Environment
lkg), OpenShell 0.0.101 (Homebrew formula), Hermes Agent v0.19.0mainat the time of filingDebug Output
As above.
Checklist