Guru重新激活任务
castbox2026-10-25查看 1760复制 951
重新激活一个正常完成的已归档任务,同时保留其身份并路由新的工作。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md2533 chars
--- name: guru-reactivate-task description: Reactivate one normally finished archived task while preserving its identity and routing the fresh work. --- # Guru Reactivate Task Reactivate owns one normally finished archived TaskLifecycleKey, never Finish recovery or implementation activation. The AI reviews the fresh archive, source relation, target base and shared checkout acquisition disposition. Entry requires the archived generation's sealed Finish result, or the exact completed manual Cleanup receipt after Finish returned `manual_cleanup_required`, and no unfinished visible Finish transaction, not merely `status=completed`. A reviewed SourceCorrectionReadyDTO is applied to the archived task with a private recoverable receipt before routing to the source owner; it never advances the generation. A ready correction accompanying acquisition is also applied in the Reactivate transaction and bound to its recovery receipt, including when the selected checkout predates the separate archive correction. Confirm source correction or acquisition side effects in the current dialogue. Archives with retired personnel fields are never Reactivate candidates. They may be located only by an exact TaskId or strictly matched Issue clue to return the `unsupported_legacy_task` read-only diagnostic; no generation, source correction, Finish residue, or summary index can restore them. Only an archive that already satisfies the current task schema and current Finish/Cleanup contract may enter Reactivate. The executor keeps TaskId, moves the archived artifact into the active locator, increments the generation and enters planning. It composes the shared checkout, branch binding and common-dir resource ledger; it never creates task/workspace mappings or turns historical Finish/Cleanup results into new authority. A resolved old-generation binding may be released for branch reuse, but any unresolved prior local resource responsibility blocks that reuse. A session needing repair routes to Bind; session binding failure never rolls back an established incarnation. The package-local transaction identifies the exact acquisition and branch successor without a persisted checkout path. Same-transaction recovery reads live Git, task and ledger facts without repeating mutations. Partial or stale states block; no direct requirements, implementation or evidence-refresh route is part of this package. The active #434 workflow router consumes its typed result without transferring Reactivate's package-local recovery ownership.