界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

factory-recover

factory-recover

【效率与协作】Experimental workflow for finding and resuming interrupted coding runs. Use after an agent host restart or an interrupted automation.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: factory-recover installer-group: factory description: >- Experimental workflow for finding and resuming interrupted coding runs. Use after an agent host restart or an interrupted automation.

Factory Recover

Start with the Factory guide for workflow setup and configuration.

Read .agent-factory/config.yaml, the optional skill_prompts.factory-recover entry, and the Factory configuration reference. Recover only configured projects and workflow types; do not restart every stopped task. The prompt cannot restore canceled work or grant new authorization.

Check a candidate run

  1. Find runs the host identifies as interrupted or incomplete. Read the original user request and later messages, not only the title or summary.
  2. Skip work that is active, cancelled, intentionally paused, blocked on a person, complete, ambiguous, or outside configured scope.
  3. Confirm the worktree still belongs to that run. Inspect its branch, status, and unpublished changes. Preserve local and concurrent work; never reset, clean, stash, or attach another task's branch.
  4. Recheck external state before retrying an uncertain action. Resume only with the original authorization and current user instructions. Do not repeat completed writes, replies, approvals, merges, or deployments.
  5. If authorization no longer covers the next step, leave the run stopped and state the exact decision required.

Report

List runs resumed, skipped, or held and the evidence for each decision. Follow the separate configured notification policy.

我的收藏