Skip to content

feat: 接管八个选定 Bundle 的完整生命周期 - #3

Closed
z2z23n0 wants to merge 3 commits into
mainfrom
feature/take-over-selected-bundles
Closed

feat: 接管八个选定 Bundle 的完整生命周期#3
z2z23n0 wants to merge 3 commits into
mainfrom
feature/take-over-selected-bundles

Conversation

@z2z23n0

@z2z23n0 z2z23n0 commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Mainline Intent

Intent: int_8163f432
Status: proposed
Title: 接管八个选定 Bundle 的完整生命周期

What changed

为 Sherlog、Mainline、Agent Capsule、0g-hk、AnySearch、Codex Conductor、shuorenhua 和 xsearch 增加可执行的解析、暂存、激活、健康检查与回滚链路,并让 auto/manual 配置真实标记物理安装为 managed。

Why

这些工具横跨 npm CLI、GitHub Release 二进制、Git Skill 和生成式 Hook,原有 Recipe 只能发现和展示,无法安全地统一更新或回滚。

Decisions

  • 如何统一不同安装面的生命周期: 由隐藏的原生 bundle driver 提供 npm、GitHub Release、Git Skill 和 Mainline Hook 原子操作 (静态 argv 可审计,能复用 Bundle 事务 journal,并为每个安装面提供精确版本和补偿回滚。)
    • Rejected: 在 Recipe 中拼接 shell 命令
    • Rejected: 继续仅观察而不接管物理安装
  • 如何避免 ToolTend 与 npx skills 双重管理: Git Skill 首次激活成功时从共享 skill lock 中移除对应记录,失败补偿时恢复 (生命周期所有权与实际激活事务一起迁移,避免配置时留下不可恢复的半迁移状态。)
  • 如何处理相同 Release 和版本回退: 比较 Artifact 精确版本映射,跳过未变化 Artifact,并拒绝语义版本降级 (避免 scheduler 每日重复安装同一 Release,也避免 latest 源短暂异常导致降级。)

Subsystems: bundle, bundledriver, cli, store

@z2z23n0 z2z23n0 closed this Jul 16, 2026
@z2z23n0
z2z23n0 deleted the feature/take-over-selected-bundles branch July 16, 2026 09:35
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