Skip to content

[DOCS] Update conversation storage docs for home-dir, per-project layout #599

Closed

Description

Summary

inference-gateway/cli#1128 reworks where conversation history is stored by default. Conversations no longer live in the project directory; they now live in the user's home directory, grouped per project:

  • jsonl (default): ~/.infer/projects/<project-slug>/conversations/<id>.jsonl, where <project-slug> is the absolute project path with separators replaced (Claude Code scheme, e.g. /home/alice/repo becomes -home-alice-repo).
  • sqlite: one shared database at ~/.infer/conversations.db, grouped by a new project metadata column.
  • Listings are scoped to the current project by default in the TUI conversation picker and in infer conversations list; the new --all-projects flag lists every project.
  • Nothing conversation-related is written to the project directory anymore, and the generated .infer/.gitignore no longer ignores conversations / conversations.db*.
  • No migration: existing project-dir stores are orphaned by design; users delete them manually.

The CLI repository's own docs (conversation-storage.md, directory-structure.md, configuration-reference.md, commands-reference.md, browser-extension-protocol.md) were updated in PR inference-gateway/cli#1128. The user-facing docs in this repository should be brought in line with the new layout.

Reference: inference-gateway/cli#1128, issue inference-gateway/cli#1122.

Acceptance Criteria

  • Docs describing conversation storage locations show the new defaults (~/.infer/projects/<project-slug>/conversations/ for jsonl, ~/.infer/conversations.db for sqlite) and no longer present the per-project .infer/conversations / .infer/conversations.db defaults.
  • Docs describe per-project listing scoping, including the infer conversations list --all-projects flag and how the TUI conversation picker behaves.
  • Docs mention that no migration is provided: old project-dir stores are orphaned and can be deleted manually, and explicit storage.jsonl.path / storage.sqlite.path values always override the new defaults.
  • Any quickstart / upgrade notes that copy files under .infer/ no longer list conversation stores as project-dir artifacts.

Activity

  1. added
    documentation
    on Aug 30, 2026
  2. added theissue type on Aug 30, 2026
  3. moved this to Todo in 2026on Aug 30, 2026
  4. edenreich commented on Aug 30, 2026

    @edenreich
    Contributor

    @claude Can you work on this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Aug 30, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 2m 14s —— View job • docs/issue-599-20260830-1344 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-599-20260830-1344?quick_pull=1&title=Issue%20%23599%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23599%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done - PR #601 opened

    • Gather context (found conversation-storage mentions in cli.md, desktop.md, opentask.md)
    • Update storage paths to the new home-dir layout
    • Document per-project scoping + infer conversations list --all-projects
    • Note no-migration + explicit storage.*.path override
    • Validate (bun run lint:md, bun run format:check, bun run build - all pass)
    • Commit + open PR

    Changes

    cli.md (Conversation Management)

    • JSONL is now the documented default: ~/.infer/projects/<project-slug>/conversations/<id>.jsonl; SQLite is one shared ~/.infer/conversations.db. The old .infer/conversations.db / .infer/conversations/ defaults are gone.
    • New "Where conversations live" block: per-project slug scheme (/home/alice/repo -> -home-alice-repo), project column for sqlite and the project metadata field for postgres/redis/d1, listings scoped to the current project in the /conversations TUI picker and infer conversations list, plus the --all-projects flag.
    • Explicit storage.jsonl.path / storage.sqlite.path always override the defaults and only ever list themselves.
    • No-migration callout: old project-dir stores are orphaned by design and deleted manually; the generated .infer/.gitignore no longer ignores conversations / conversations.db*.
    • list subcommand description and the example command block updated.

    desktop.md - sidebar storage location now shows the home-dir defaults and per-project scoping instead of "default SQLite backend ... .infer relative to working directory".

    opentask.md - browser-extension list_conversations path updated from .infer/conversations to the new per-project location.

    Nothing else in the repo listed conversation stores as project-dir artifacts, so no quickstart/upgrade edits were needed.

  6. moved this from Todo to In progress in 2026on Aug 30, 2026
  7. moved this from In progress to QA in 2026on Aug 30, 2026
  8. moved this from QA to Done in 2026on Aug 30, 2026
  9. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions