onsails / onsails/right-agent

Design cloud backup and restore UX

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
35
Forks
4
Avg merge
17h 19m
Merged PRs (30d)
8

Description

Context

Future work from docs/superpowers/specs/2026-05-24-local-libsql-migration-design.md.

The local libsql migration is a prerequisite. This issue should be designed after the cloud configuration model is settled, because backup UX depends on storage mode and credential ownership.

Scope

  • Define user-facing backup and restore commands or bot flows.
  • Decide how local data.db, Turso databases, and existing restore behavior interact.
  • Preserve rebuildable-excludes and no-secrets-in-context constraints.
  • Define failure and rollback behavior for partial restores.

Acceptance Criteria

  • Backup and restore flows are explicit about local-only, cloud-backed, and mixed states.
  • Restore never requires deleting sandboxes or recreating agents.
  • Credential handling stays outside agent sandboxes.
  • Documentation explains operator-visible recovery behavior.

Out Of Scope

  • Implementing embedded replica sync.
  • Doctor health checks for sync lag.
  • Low-level libsql driver migration.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading docs/superpowers/specs/2026-05-24-local-libsql-migration-design.md and confirming the cloud configuration model it depends on. Define the user-facing backup and restore flows for local-only, cloud-backed, and mixed states, including partial-restore failure behavior and credential boundaries. Done means the design covers the acceptance criteria and documents operator-visible recovery behavior without implementing libsql sync.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cloud, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.