- Never amend commits - always create new commits for fixes
- Let the user handle branch management - don't create, switch, or manage branches
- Use conventional commit messages
- Run tests before committing when applicable
agent_session_viewer/- Python FastAPI backendtauri-app/- Native Rust/Tauri desktop appsrc/- Frontend (static HTML/JS)src-tauri/- Rust backend
uv sync
uv run agent-session-viewercd tauri-app
npm install
npm run tauri devAll new features and bug fixes must include unit tests. Run tests before committing:
uv run pytest -vFor Tauri Rust tests:
cd tauri-app/src-tauri
cargo test- Add tests for new parser/sync functionality in
tests/test_sync.py - Add tests for database operations in
tests/test_db.py - Use
tmp_pathfixture for temporary files - Use
unittest.mock.patchto mock module-level constants (e.g.,CLAUDE_PROJECTS_DIR)