Plugin-scoped binary install dir (.bin-cache) replaces shared ~/bin#126
Merged
Conversation
…/bin (#117) - wrappers x3: INSTALL_DIR = $PLUGIN_ROOT/.bin-cache — cross-marketplace same-name collisions impossible by construction; plugin updates recycle the cache (re-download passes the full verification chain) - legacy ~/bin/<Binary> copy left untouched (may be a manual install); one-line stderr note on first spawn - shells bumped (word 3.20.2, pdf/pptx 0.1.2) via #116 decoupling; CHANGELOG + marketplace.json synced; .gitignore rule for .bin-cache E2E: fresh install into .bin-cache + legacy note; fast path; dual- marketplace simulation (two PLUGIN_ROOTs coexist, no interference). Refs #117
…117) Verify DA-1 (refuting three sibling reviews with cache-layout evidence): a version-scoped .bin-cache re-downloads the byte-identical binary on EVERY shell-only version bump (new version dir = fresh gitignored cache), nullifying #116's sidecar short-circuit and multiplying disk per retained version dir. INSTALL_DIR is now dirname(PLUGIN_ROOT)/.bin-cache — <marketplace>/<plugin>/.bin-cache — keeping cross-marketplace/cross-plugin isolation (both in path) while binary + sidecar persist across shell bumps. Dev-checkout context degrades to plugins/.bin-cache with BINARY_NAME scoping. Also: wrapper header sidecar-path comment fixed x3 (logic LOW-2), pdf/pptx README install-path wording (logic LOW-3, own files). E2E: two-version marketplace simulation — v0.1.2 installs, v0.1.3 shell bump fast-paths with ZERO re-download; cross-marketplace dual .bin-cache coexistence; dev-checkout install + gitignore clean tree. Refs #117
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #117
Checklist
🤖 Generated by /idd-all. Do NOT add a GitHub close trailer.