Skip to content

fix: deduplicate bundle installations - #2

Merged
z2z23n0 merged 1 commit into
mainfrom
fix/bundle-discovery-dedup
Jul 15, 2026
Merged

fix: deduplicate bundle installations#2
z2z23n0 merged 1 commit into
mainfrom
fix/bundle-discovery-dedup

Conversation

@z2z23n0

@z2z23n0 z2z23n0 commented Jul 15, 2026

Copy link
Copy Markdown
Owner

变更

  • 将同一路径的 command/path probe 合并到真实 Binding 证据,避免重复物理 Installation。
  • 从 npm probe 的最近 package.json 读取精确包名和已安装版本。
  • 只清理未配置 Bundle 中本轮未见的陈旧 Installation。
  • 修正 Mainline 派生 Hook 与 Sherlog CLI 的 recipe selector,避免 Skill 错误归属。

验证

  • go test ./internal/bundle ./internal/store ./internal/cli ./internal/reconcile
  • go vet ./...
  • go build ./...
  • 全仓 gofmt 与 git diff --check
  • 在本机状态数据库隔离副本上扫描:mainline=2 installations/4 consumers,agent-capsule=2/2,sherlog=2/1

@z2z23n0
z2z23n0 marked this pull request as ready for review July 15, 2026 11:21
@z2z23n0
z2z23n0 merged commit 58715c0 into main Jul 15, 2026
2 checks passed
@z2z23n0
z2z23n0 deleted the fix/bundle-discovery-dedup branch July 15, 2026 11:22
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