Skip to content

[DOCS] Document the /reset shortcut #688

Closed

Description

Summary

The CLI added a built-in /reset chat shortcut (PR: inference-gateway/cli#1237, resolving inference-gateway/cli#1234). It wipes all local runtime state - conversations, plans, scratch dirs, artifacts, history, backups, exports and logs - after a y/N confirmation, then starts a fresh session. Configuration (config.yaml, custom shortcuts, skills, projects.json) is preserved, and remote conversation stores (postgres, redis, d1) are skipped with a notice instead of an error.

The CLI repo docs were updated directly in that PR (README.md and docs/shortcuts-guide.md bullet in the built-in shortcuts list). This ticket tracks mirroring the change in the user-facing docs site.

Acceptance Criteria

  • The docs site documents /reset [confirm] wherever slash commands are listed (mirroring docs/shortcuts-guide.md in the cli repo)
  • The description states what is deleted and what is preserved (config, custom shortcuts, skills, projects.json)
  • The remote-store skip behavior (postgres, redis, d1) is mentioned
  • The entry links back to the implementing PR: feat(shortcuts): add built-in /reset shortcut to wipe local runtime state cli#1237

Activity

  1. added
    documentation
    on Sep 18, 2026
  2. added theissue type on Sep 18, 2026
  3. edenreich commented on Sep 18, 2026

    @edenreich
    Contributor

    @claude Can you document this? please also check the recent /reset insights command. use /ponytail:ponytail

  4. inference-gateway-maintainer commented on Sep 18, 2026

    @inference-gateway-maintainer
    ContributorAuthor

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


    Documenting /reset

    • Read the issue and repo conventions
    • Check the CLI repo for the real /reset + /reset insights behavior (docs/shortcuts-guide.md and internal/presentation/shortcuts/reset.go on main)
    • Add the docs to cli.md
    • bun run lint:md, bun run format, bun run build - all pass
    • Commit + open PR

    PR: #690

    What changed

    One file, cli.md:

    • Two new rows in the built-in shortcuts table: /reset [arg] and /insights [since] (the latter because /reset insights leans on it).
    • A new Reset Shortcut section: preview-then-confirm flow, what is deleted, what is preserved, remote-store skip, /reset insights, and a link to cli#1237.

    Heads-up: the issue text is stale in three places

    I documented what the code actually does:

    Issue says Code on main
    "y/N confirmation" Preview first; /reset confirm only deletes if a preview ran in the same session within 5 minutes - a cold /reset confirm previews instead
    implied project scope Machine-wide: clears runtime dirs of every project under ~/.infer/projects/
    projects.json preserved projects.yaml

    /reset insights runs the insights analysis before the preview and saves the report to ~/.infer/insights/, which survives the wipe; if storage is disabled or no model is configured it prints a notice and still previews. Remote stores (postgres, redis, d1) are skipped with a notice, as described.

    Not done: /new, /clear, /compact, /conversations and friends are still undocumented on the site - out of scope here, worth its own ticket if you want the session shortcuts fully mirrored.
    | Branch

  5. moved this from Todo to In progress in 2026on Sep 18, 2026
  6. moved this from In progress to QA in 2026on Sep 18, 2026
  7. moved this from QA to Done in 2026on Sep 18, 2026
  8. 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