Skip to content

Plugin-scoped binary install dir (.bin-cache) replaces shared ~/bin#122

Closed
kiki830621 wants to merge 2 commits into
idd/116-version-decouplingfrom
idd/117-plugin-scoped-install
Closed

Plugin-scoped binary install dir (.bin-cache) replaces shared ~/bin#122
kiki830621 wants to merge 2 commits into
idd/116-version-decouplingfrom
idd/117-plugin-scoped-install

Conversation

@kiki830621

Copy link
Copy Markdown
Collaborator

Refs #117

Stacked PR:base = idd/116-version-decoupling(PR #121)。#121 merge 後 GitHub 自動 retarget 本 PR 到 main。

Summary

  • wrapper ×3:INSTALL_DIR → plugin 層級 .bin-cache<marketplace>/<plugin>/.bin-cache)— 跨 marketplace/plugin 碰撞 by construction 不可能、跨 shell 版本持久(verify DA-1 修訂:version-scoped 會每次 bump 重下載)
  • legacy ~/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

  • Diagnose
  • Implement (2 commits)
  • Verify PASS(6-AI + DA-1 修訂複驗)
  • Verify-gated: ready to merge → after merge, run /idd-close to finalize (manual gate; no auto-close trailer)

🤖 Generated by /idd-all. Do NOT add a GitHub close trailer (Closes/Fixes/Resolves).

…/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant