Skip to content

fix: worklog v1.1 missing-db UX hardening - #2

Draft
WaynezProg wants to merge 1 commit into
mainfrom
cursor/worklog-v1-1-ux-hardening
Draft

fix: worklog v1.1 missing-db UX hardening#2
WaynezProg wants to merge 1 commit into
mainfrom
cursor/worklog-v1-1-ux-hardening

Conversation

@WaynezProg

Copy link
Copy Markdown
Owner

Summary

  • Freeze worklog spec as v1 and add v1.1 UX hardening for missing session2memory.db
  • Document that worklog reads the state DB and requires --state-db when the database is not under --output
  • When lookup fails, print the checked path, nearby databases, and a suggested command

Test plan

  • uv run pytest tests/test_worklog.py -q (13 passed)
  • uv run ruff check src/session2memory/worklog.py src/session2memory/cli.py tests/test_worklog.py
  • uv run mypy src/session2memory/worklog.py
  • Manual smoke: uv run session2memory worklog yesterday --output ./out/session-memory shows nearby DB suggestions

Made with Cursor

When session2memory.db is not under --output, the CLI now shows the lookup
path, nearby databases, and a suggested command instead of a bare error.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant