side-quest 2.6.0: /side-quest:reset command + synced, confirmed reset-ledger #5
Loading…
Reference in a new issue
No description provided.
Delete branch "side-quest-reset-command"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
/side-quest:reset(commands/reset.md) — wrapsxp.sh reset-ledger, always shows current total + target and gets an explicit yes from the user first.reset-ledgernow requires--yes. Without it: prints a pool-wide-impact warning and exits 1 without changing anything (dry run). Behaviour change from 2.5.0.resetis now a synced event kind.reset-ledgerpublishes aresetevent onsidequest/xp/events(online machines adopt within seconds) plus the retainedsidequest/xp/statesnapshot (offline/new machines on next sync).apply_event->_apply_reset_eventadopts the carried total up OR down only when the eventepochis newer than local; idempotent, no-op on stale epoch. Previously reset-ledger only touched retained state.119 tests pass, ruff clean. Commit
bbc7fa7is unsigned (1Password agent unreachable in-session).