Skip to content

Guided memware setup walkthrough (release 0.2.5) - #6

Merged
ericwalisko merged 1 commit into
mainfrom
ericwalisko/setup-walkthrough
Sep 4, 2026
Merged

Guided memware setup walkthrough (release 0.2.5)#6
ericwalisko merged 1 commit into
mainfrom
ericwalisko/setup-walkthrough

Conversation

@ericwalisko

Copy link
Copy Markdown
Owner

Why

You asked for a config walkthrough so net-new users and pre-2.0 → post-2.0 upgraders can set up backups (and the rest) without hunting through docs. memware setup existed but only asked two backup-dest questions, and nothing surfaced it — a pre-0.2 upgrade (which predates backups entirely) would never know to run it.

What

memware setup is now a guided one-time walkthrough:

  1. Reports whether the store is empty or already populated.
  2. New install — offers to index the transcripts already on disk (backfill), so recall works over past work immediately.
  3. Helps pick a storage-agnostic backup destination (Dropbox / iCloud / Drive / external disk / network mount), with a plain-language explanation of the rolling 1/3/7/14-day snapshots and the separate transcript mirror.
  4. Offers transcript mirroring, then takes a first backup right away.
  5. Prints the operating guidance: automatic session-end backups via the plugin (no cron, sleep-proof), how to schedule on an always-on machine without the plugin, MEMWARE_NO_CAPTURE for sensitive sessions, and the wipe trap (restore --latest, never wipe-and-re-backfill).

memware setup --yes runs it non-interactively; a closed stdin keeps every current value.

Discovery

A one-line stderr hint points anyone who has never configured backups at memware setup — shown from init / stats / backfill, silent from hooks and in --json mode. It stops the moment setup has run or a destination is set, so pre-0.2 upgraders find backups once and are never nagged again.

Tests

  • test_setup_yes_backfills_and_makes_first_backup — end-to-end --yes: indexes on-disk sessions, marks setup done, takes a snapshot, mirrors transcripts.
  • test_setup_hint_shows_until_backups_configured — hint appears when unconfigured, never in --json, and disappears once a destination exists.

Release

Bumps to 0.2.5 across the package and both plugin manifests (the drift-guard test from #5 enforces the manifest bump). Full suite, ruff, format, mypy green locally.

🤖 Generated with Claude Code

`memware setup` was a two-question backup-dest prompt. Broaden it into a guided
one-time walkthrough aimed at both audiences that need it: a fresh install and an
upgrade from a pre-backup (pre-0.2) version.

It now: reports whether the store is empty; offers to index the transcripts
already on disk (backfill) on a new install; helps pick a storage-agnostic
backup destination; offers transcript mirroring; takes a first backup; and
prints the operating guidance (automatic session-end backups, scheduling on an
always-on machine, MEMWARE_NO_CAPTURE, and the wipe trap / restore-don't-rebackfill
rule). `--yes` runs it non-interactively, and it stays safe on a closed stdin.

A one-line stderr hint points anyone who has never configured backups at
`memware setup` (from init/stats/backfill; silent from hooks and --json), and
stops once setup has run or a destination is set — so pre-0.2 upgraders discover
backups without any nagging afterward.

Bumps to 0.2.5 (package + both plugin manifests, per the guard test) so the work
machine can pick it up. README and docs/backup.md updated.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NnaQwZUSDRbVUNh8fsdksD
@ericwalisko
ericwalisko merged commit 23a0ecc into main Sep 4, 2026
6 checks passed
@ericwalisko
ericwalisko deleted the ericwalisko/setup-walkthrough branch September 4, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant