Plugin-scoped binary install dir (.bin-cache) replaces shared ~/bin#122
Closed
kiki830621 wants to merge 2 commits into
Closed
Plugin-scoped binary install dir (.bin-cache) replaces shared ~/bin#122kiki830621 wants to merge 2 commits into
kiki830621 wants to merge 2 commits into
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 was referenced Jul 2, 2026
2 tasks
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
Summary
.bin-cache(<marketplace>/<plugin>/.bin-cache)— 跨 marketplace/plugin 碰撞 by construction 不可能、跨 shell 版本持久(verify DA-1 修訂:version-scoped 會每次 bump 重下載)~/bin副本不刪 + stderr 註記;shells bump(3.20.2 / 0.1.2 ×2)+ CHANGELOG + marketplace 同步;.gitignore雙層規則Verification
6-AI ensemble(5× Opus 4.8 + Codex)PASS — 含 DA 對三個 sibling 結論的成功反駁與 post-ensemble 修訂 kill test。詳見 issue #117 Verify comment。
Checklist
🤖 Generated by /idd-all. Do NOT add a GitHub close trailer (Closes/Fixes/Resolves).