2 Commits

Author SHA1 Message Date
HAL9000 e2d302dcaf fix(tui): resolve format, AmbiguousStep, and coverage gaps in session persistence
- Apply ruff format to store.py (split multi-arg conn.execute calls) and
  steps file (collapse single-arg execute to one line)
- Fix AmbiguousStep: add literal quotes to @given/@then patterns so
  'a session with id "{session_id}"' is unambiguous vs the
  'in the database' variant; update all dependent then-steps consistently
- Mark if TYPE_CHECKING block with # pragma: no cover (never executed)
- Add scenario + step for default db_path to cover store.py lines 32-34
  (uses unittest.mock.patch on Path.home to avoid touching real homedir)

ISSUES CLOSED: #10648
2026-06-13 14:07:02 -04:00
HAL9000 5d479c4924 feat(tui): implement SQLite session persistence at ~/.local/state/cleveragents/tui.db 2026-06-13 14:07:02 -04:00