mirror of
https://github.com/robcholz/vibebox.git
synced 2026-04-01 00:10:15 +02:00
1.0 KiB
1.0 KiB
Tasks
- Confirm requirements and scope from
implementations.md. - Define
SessionManagerresponsibilities and public API (create, load, list, update, delete, bump last_active, refcount handling, cleanup orphaned index entries). - Choose 3rd-party crates for UUIDv7, TOML persistence, and error handling (e.g.,
uuidwith v7,serde+toml,thiserror). - Write user journeys and unit test cases first (happy paths + error paths) for session lifecycle and index persistence.
- Implement
SessionManagerand supporting types withResult-based errors, filesystem IO, and atomic writes. - Add tests for edge cases (missing index, invalid TOML, duplicate sessions, refcount transitions, cleanup on missing instance dir).
- Run tests and coverage; target >=80% line/branch coverage using a Rust coverage tool (e.g.,
cargo llvm-cov). - Refactor for clarity and reliability while keeping tests green.
- Add TUI interface.
- Integrate VM and SessionManager together.