Skip to content

Automatically update installed releases on invocation and request restart #82

Description

@mostlydev

Requested behavior

For an installed production copy of Talking Stick, check for an available update on invocation. When a newer version is available, run the existing self-update flow automatically, then tell the operator to restart the command to load the new version.

Development copies must not auto-update. This includes npm-linked working checkouts and direct repository builds.

Acceptance criteria

  • An installed release checks for a newer version and installs it using the supported installation manager.
  • Successful installation displays the installed version and a clear restart instruction; the currently running process does not pretend it has loaded the update.
  • Development and linked checkouts are detected and skipped without changing their files or Git state.
  • Concurrent CLI invocations do not start competing installations.
  • Offline/update failures leave the existing command usable and provide an actionable diagnostic when appropriate.
  • JSON command output remains valid; update notifications do not pollute stdout.
  • Tests cover update available, already current, development/link detection, failed update, and concurrent invocation behavior.

Requested by the operator during chat dogfooding on 2026-09-16. This is a separate follow-up from native event delivery (#81) and the chat layout work.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions