<< All versions
Skill v1.0.0
currentAutomated scan100/100shiyuan17/vibe-harness/vb-linear-worktree-develop
──Details
PublishedNovember 6, 2026 at 07:47 PM
Content Hashsha256:c655f1d316a3e813...
Git SHA1d676231bef9
──Files
Files (1 file, 2.7 KB)
SKILL.md2.7 KBactive
SKILL.md · 23 lines · 2.7 KB
name: vb-linear-worktree-develop description: Use only when explicitly requested as Vb Linear Worktree Develop or legacy lwflow to execute the current authorized plan through isolated worktrees into local develop. metadata: version: "1.0.0"
Vb Linear Worktree Develop
调用标识:vb-linear-worktree-develop / $vb-linear-worktree-develop;显示名 Vb Linear Worktree Develop。旧触发词 lwflow / $lwflow 指向同一入口。
常驻合同见 docs/rules/linear-workflow.md 与 docs/rules/git-rules.md;修改须同步。只处理当前授权计划,不扫描或认领队列外任务,同一 Issue 不允许重复并行执行。
Linear MCP 不可用时回退到用户提供的 Issue 上下文,并明确标记未同步;不伪造写入结果。
- 核对授权、canonicalCwd、allowedWriteRoots、Issue 和必要原生依赖;缺授权只暂停对应动作。跨边界效果需要真实 hostContext(source=host、process=isolated、observedAt),Agent 不得自造;旧 v1 Envelope 仅作 contract-only/degraded 兼容。
- 只执行本轮已确认 ID 的封闭集合,计划内可按依赖接续。显式执行不要求 Claim 或 Start/Terminal Receipt;历史活动记录仍参与冲突检查。
- 普通 write 优先接收宿主创建的隔离树,并用
--task <ISSUE-ID>:<branch>精确归因;没有可用树时用worktree bootstrap建立仓库外 worktree。普通单 Agent 不创建 DAG 或墙钟估算,普通 Issue 不要求 Parent;已有 Linear DAG 必须遵循。 - local-land 先运行
worktree stage:从本地 develop 快照 no-ff 合并任务提交、验证并持久化为local_staged,此阶段不 fetch、不移动主检出。准备发布时运行worktree publish --batch <id>,重新对齐唯一实际origin/develop;远端前进则重建并重验,随后精确推送并重读 SHA。 - 推送确认后标记 Done / succeeded;主检出脏、位于其它分支或本地领先时只记录
localRefSync为deferred/diverged,不修改用户改动。清理失败记录integrated_cleanup_pending,不阻塞后继但保留资源占用,重试只清理。Linear 尚未尝试写入且上下文充分时可继续并标记未同步;写入结果不明时停止受影响节点。没有既有 DAG 时保持 single,需要拆分能力不可用时也退化 single。
--target-mode primary 只保留在旧 worktree land 兼容路径,新 stage/publish 不需要;--target-mode remote 已退役。不创建 PR/MR、不改默认 delivery、不操作 main,不 force push 或重放已确认的合并与推送。普通 PR/MR 继续保留 In Review 与 closing 合并证据;独立审查可选,项目明确门禁继续生效。