onsails / onsails/right-agent

Design Turso cloud configuration model

Open
#74 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 not be implemented until right-db owns the database driver boundary and the workspace no longer exposes raw rusqlite types.

Scope

  • Define where Turso database URL, auth token reference, and mode selection live.
  • Keep credentials outside agent sandboxes.
  • Decide how bot-managed operational settings relate to agent.yaml and CLI config.
  • Preserve local-only behavior as the default for existing agents.

Acceptance Criteria

  • Configuration supports local-only mode without new required fields.
  • Turso credentials are not written into sandbox-owned files.
  • right agent config or Telegram bot control-plane behavior is documented according to project rules.
  • Architecture docs describe the resulting config contract.

Out Of Scope

  • Embedded replica implementation.
  • Backup/restore UX.
  • Sync health checks.

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 confirm the prerequisite right-db driver boundary. Review how agent.yaml, CLI configuration, and Telegram bot control-plane behavior are currently defined. Done means documenting an architecture-level configuration contract that preserves local-only defaults and keeps Turso credentials outside sandbox-owned files.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sqlite
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.