Skip to content

Installer profiles, package manager install, update guidance, and sandbox permissions #902

Not planned

Description

@backnotprop

Provenance stamp: This issue was triaged on June 13, 2026 as part of the older-than-two-month GitHub issue triage exercise.

Source issues: #25, #140, #466

Summary

The installation story needs to be easier to understand, easier to update, easier to uninstall, and safer to use in restricted environments. These issues all point to the same gap: users need clear install profiles and a documented operating model for the binary, plugins, skills, daemon, package managers, and sandboxes.

What the source issues requested

Triage determination

These should be handled together because they are all install lifecycle questions. If package-manager support lands without clear profiles, or sandbox docs land without explaining what the installer writes, users will still see the same confusion from a different angle.

Acceptance criteria

  • Installation docs explain the current responsibilities of the binary, plugin, skills, daemon, and per-runtime command entry points.
  • Users can choose or understand profiles such as binary-only, Claude, OpenCode, Pi, Codex, skills-only, and all-in install.
  • Update guidance explains what must be updated after a release and what is intentionally version-independent.
  • Package-manager installation is supported or explicitly deferred with the remaining blockers listed.
  • Uninstall behavior is documented, including files under user config and data directories.
  • Sandbox requirements are documented, including filesystem access, local network binding, browser or open command behavior, data directory access, and localhost versus 127.0.0.1.
  • The old source issues can be closed after this replacement issue carries their install and sandbox requirements.

Activity

  1. added
    triage
    on Jun 13, 2026
  2. dubbl-a commented on Oct 9, 2026

    @dubbl-a

    Adding a current data point for the binary/plugin update part of this issue (carried over from #25).

    Observed (macOS, Claude Code, 2026-10-09): /plugin reported plannotator is already at the latest version (0.28.9), but plannotator --version printed 0.27.16. The plugin update never touches ~/.local/bin/plannotator, and nothing told me the binary was behind. I found it only by checking both by hand. Re-running install.sh fixed it.

    Why this may matter more than it did in #25: the reply there said a mismatch is harmless because the plugin only holds plugin.json and hooks/hooks.json and just runs plannotator. In 0.28.9 the plugin cache also ships code (hooks/mod/register.ts, hooks/mod/plan.ts, server/*.ts). The hooks still call the bare plannotator on PATH, so plugin-side code at one version can now run against a binary at another. I did not test whether 0.28.9 plugin + 0.27.16 binary actually misbehaves; I only saw that the two drifted silently.

    Suggestions, in rough order of effort:

    1. A version check: the plugin (for example in a SessionStart hook or improve-context) compares its own version with plannotator --version and prints the exact update command when they differ.
    2. Update guidance at the point of use: when /plugin updates Plannotator, nothing points to install.sh. Even one line in the plugin's update path would help.
    3. Plugin-managed binary (option 3 from Feature Request: Unified update command (binary + plugin) #25): the plugin installs or pins the binary that matches its version.

    Workaround in use, in case it helps others: a user-level SessionStart hook that reads the plugin version from ~/.claude/plugins/installed_plugins.json, compares it with plannotator --version, and on mismatch runs install.sh --version v<plugin version> --non-interactive in the background. It works, but each user has to write it themselves, which is the gap this issue describes.

  3. zane668 commented on Oct 27, 2026

    @zane668

    A concrete Pi update-guidance observation from an official 0.28.31 → 0.28.32 update:

    plannotator update completed successfully and the binary and Claude Code plugin were on 0.28.32. Its Pi step printed:

    Updating Pi extension...
    Installing npm:@plannotator/pi-extension...
    up to date in 573ms
    Installed npm:@plannotator/pi-extension
    Pi extension updated.
    

    But reading the installed @plannotator/pi-extension/package.json still showed 0.28.31. This was the package on disk, not just an extension already loaded into an existing Pi session.

    Running the explicit native command afterwards:

    pi update npm:@plannotator/pi-extension

    installed 0.28.32. The installer's final guidance had instead said “Install or update the extension: pi install npm:@plannotator/pi-extension”.

    Expected: distinguish first installation from updating an existing Pi package, and do not report “updated” merely because an install command exited 0. At minimum, document the explicit Pi package-update command and verify the installed package version before claiming a successful update.

    Scope/limitations: one observed existing installation, not a clean-install or all-environments reproduction. macOS Apple silicon; Pi is 1.4.0 when checked for this report (its exact version at upgrade time was not separately recorded); npm registry https://registry.npmmirror.com was unchanged between the two commands. The explicit update succeeded immediately afterwards with that same registry, but I have not isolated the role of registry/cache state.

  4. backnotprop commented on Nov 13, 2026

    @backnotprop
    OwnerAuthor

    Part of this shipped in v0.28.61 and v0.28.62: an update now finds claude in ~/.local/bin and ~/.claude/local and updates the Claude Code plugin with the app, a broken download resumes, and the installer tells you when open Claude Code sessions need /reload-plugins. Package-manager install, a clean uninstall and the sandbox permissions are still open here.

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

    triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions