[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DZAY5M4C2SFV8P6GTZWN85":3,"skill-same:01M6DZAY5M4C2SFV8P6GTZWN85":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":6,"updatedAt":43,"install":44,"resources":56},"01M6DZAY5M4C2SFV8P6GTZWN85","eforge-recover",null,"Inspect the recovery verdict for a failed PRD and apply the recommended action (retry, continue-repair, abandon, or manual)","eforge-build\u002Feforge","eforge-build","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F268386632?v=4","01M6DZ9WAH8M3XRV4J88WG5SB5","01M6DZ9WEVEC6BJ62ZX3RAVA02",71,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-recover\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000031","产品经理","PROFESSION","适用职业",[23,24,25,26,27,28],"eforge recover","prd","recovery","continue","repair","verdict","2026-11-10 10:12:30",false,"---\nname: eforge-recover\ndescription: Inspect the recovery verdict for a failed PRD and apply the recommended action (retry, continue-repair, abandon, or manual)\ndisable-model-invocation: true\n---\n\n# \u002Feforge:recover\n\nInspect the recovery analysis for a failed PRD and act on the verdict — retry from scratch, continue and repair from preserved compiled artifacts, archive the original, or stop for manual replanning.\n\n## Workflow\n\nCall `eforge_queue_list` to discover failed PRDs, read the recovery sidecar to surface the verdict and rationale, confirm the action with the user, and then call the matching tool. Use `eforge_apply_recovery` for `retry` and `abandon`. Use `eforge_continue_repair` for the `continue-repair` action when preserved artifacts are eligible. Manual use of this skill never auto-applies — always confirm. The only automation exception is daemon-owned recovery auto-resume when `recovery.autoResume.enabled: true`: it is disabled by default, may only auto-queue high-confidence `continue-repair` that passes compiled-resume artifact eligibility, consumes the configured bounded attempt budget, and emits visible audit\u002Fstop reasons before or after it decides. Manual confirmation controls remain available regardless of that policy.\n\n## Steps\n\n### Step 1: Identify the Failed PRD\n\nIf the user supplied a `\u003CprdId>` argument, use it directly and skip to Step 2.\n\nOtherwise, call `eforge_queue_list` (no parameters) and filter the response for items where `status === 'failed'`. Present the list to the user and ask which one to recover. If no failed PRDs are found, tell the user:\n\n> No failed PRDs found. Use `\u002Feforge:status` to check the current build state.\n\n**Stop here** if no failed PRDs exist.\n\n### Step 2: Read the Recovery Sidecar\n\nCall `eforge_read_recovery_sidecar` with `{ prdId }`.\n\n- If the tool returns a 404 or the response contains a `recoveryError` field, offer to run the recovery analysis:\n\n> No recovery analysis found for `{prdId}`. Would you like me to run the analysis now? (yes \u002F no)\n\n  If the user agrees, call `eforge_recover` with `{ setName, prdId }` — source `setName` from the top-level sidecar `setName` field in a prior sidecar if available, otherwise ask the user to supply it. Then loop back to Step 2.\n\n  If the user declines, stop here.\n\n- If the sidecar is present, continue to Step 3.\n\n### Step 3: Render the Verdict\n\nDisplay the recovery report to the user:\n\n**PRD**: `{prdId}`\n**Verdict**: `{verdict}` (`retry` \u002F `continue-repair` \u002F `abandon` \u002F `manual`)\n**Confidence**: `{confidence}` (`low` \u002F `medium` \u002F `high`)\n\n**Rationale**\n{rationale}\n\n**Completed work**\n{completedWork — bullet list}\n\n**Remaining work**\n{remainingWork — bullet list}\n\n**Risks**\n{risks — bullet list}\n\nInspect sidecar-provided continue-and-repair fields. If `continueRepairEligibility.eligible === true` or `recoveryOptions` contains a recommended continue-and-repair option such as `{ kind: \"continue-repair\", action: \"continue-repair\", recommended: true }`, present exactly one primary action:\n\n> This recovery sidecar recommends **Continue and repair build** from preserved compiled artifacts. Continue with `eforge_continue_repair`? (yes \u002F no)\n\nIf `continueRepairEligibility.eligible === false`, show the bounded reason and do not recommend continue-and-repair. The mutating `eforge_continue_repair` tool validates eligibility server-side if the user explicitly asks to try after reviewing the warning.\n\nIf `recoveryOptions` contains `kind: \"compile-scope-context\"`, treat it as non-mutating guidance: summarize its action, eligibility, source\u002Ffailure kind, reason, and any bounded decomposition evidence summary, but do not map it to `eforge_apply_recovery` or `eforge_continue_repair`.\n\nWhen a compile-scope-context option includes `decompositionEvidence`, render it as read-only context-managed planning evidence. Summarize only bounded fields such as failed unit ID, parent unit, depth, triggered limits, blockers, unresolved criteria counts, and split attempts. State that `decomposition-exhausted` is decomposition exhaustion, not a provider context-window rejection. Do not paste raw source, prompts, transcripts, or agent output, and do not infer an automated recovery action from the evidence.\n\nDo not author replacement PRD content from the recovery sidecar. If decomposition evidence suggests a smaller follow-up scope, tell the user to inspect the bounded evidence and deliberately write or enqueue any replacement PRD outside this recovery action. The engine does not auto-author or auto-enqueue successor PRDs. If the verdict is `manual`, render the full report and use the manual guidance below.\n\n### Step 4: Confirm the Action\n\nAsk the user to confirm the verdict-specific action:\n\n- `retry`: \"Retry PRD `{prdId}` from scratch? (yes \u002F no)\"\n- `continue-repair`: \"Continue and repair build `{prdId}` from preserved compiled artifacts with `eforge_continue_repair`? (yes \u002F no)\"\n- `abandon`: \"Archive the failed PRD `{prdId}` (this cannot be undone)? (yes \u002F no)\"\n- `manual`: Render the full markdown report and stop. Tell the user:\n\n> This verdict requires manual review \u002F manual replanning. Review the report above, decide the bounded repair plan outside of eforge, and enqueue any replacement work deliberately. No automated apply-recovery action is available for the `manual` verdict.\n\n**Stop here** for `manual`. Do not call `eforge_apply_recovery`; if it were called it would return `{ verdict: 'manual', noAction: true }` and no mutation would occur.\n\n### Step 5: Apply the Recovery\n\nOn confirmation, call the appropriate tool:\n\n- **retry**: Call `eforge_apply_recovery` with `{ prdId }`. Report: \"PRD `{prdId}` has been queued to retry from scratch.\"\n- **continue-repair**: Call `eforge_continue_repair` with `{ prdId }`, adding `setName` when the sidecar top-level `setName` differs from the PRD id and `profile` when the user requests a specific agent runtime profile. Report: \"Queued continue-and-repair build for PRD `{prdId}`. It will wait for scheduler dispatch under the current queue controls.\"\n- **abandon**: Call `eforge_apply_recovery` with `{ prdId }`. Report: \"PRD `{prdId}` has been archived.\"\n\nA dispatched continue-and-repair build preserves normal queue controls: parallelism, pause state, dependency gating, and profile routing. It returns queued metadata such as the PRD id, set name, branches, moved descendants, and optional profile; it does not return a session id or PID.\n\n## When to Choose Continue and Repair vs Retry from Scratch\n\n| Situation | Recommended action |\n|-----------|-------------------|\n| Sidecar recommends continue-and-repair from preserved compiled artifacts | Prefer `eforge_continue_repair` after confirmation |\n| PRD failed early before compiled artifacts were preserved | Use `retry` via `eforge_apply_recovery` |\n| Compiled artifacts are stale or the plan has changed significantly | Use `retry` via `eforge_apply_recovery` to start fresh |\n| The report cannot determine a safe automated action | Stop for manual review \u002F manual replanning |\n| User wants to archive the failed PRD without further attempts | Use `abandon` via `eforge_apply_recovery` |\n\n## Error Handling\n\n| Condition | Action |\n|-----------|--------|\n| `eforge_read_recovery_sidecar` returns 404 | Offer to call `eforge_recover` to generate the verdict (Step 2) |\n| Sidecar contains `recoveryError` | Offer to re-run `eforge_recover` to regenerate (Step 2) |\n| `eforge_apply_recovery` fails | Surface the daemon error message verbatim; do not retry automatically |\n| `eforge_continue_repair` fails | Surface the daemon error message verbatim; do not retry automatically |\n\u003C!-- parity-skip-start -->\n| Tool unavailable | Warn that eforge tools are not available; suggest checking the extension is loaded |\n\u003C!-- parity-skip-end -->\n\n## Related Skills\n\n| Skill | Command | When to suggest |\n|-------|---------|----------------|\n| Status | `eforge_queue_list` | Check which PRDs are failed before recovering |\n| Build | `eforge_build` | Enqueue new work after a successful recovery |\n| Planning entry | eforge-plan workstation \u002F contribution | Plan replacement work before queuing it |\n","# \u002Feforge:recover\n\nInspect the recovery analysis for a failed PRD and act on the verdict — retry from scratch, continue and repair from preserved compiled artifacts, archive the original, or stop for manual replanning.\n\n## Workflow\n\nCall `eforge_queue_list` to discover failed PRDs, read the recovery sidecar to surface the verdict and rationale, confirm the action with the user, and then call the matching tool. Use `eforge_apply_recovery` for `retry` and `abandon`. Use `eforge_continue_repair` for the `continue-repair` action when preserved artifacts are eligible. Manual use of this skill never auto-applies — always confirm. The only automation exception is daemon-owned recovery auto-resume when `recovery.autoResume.enabled: true`: it is disabled by default, may only auto-queue high-confidence `continue-repair` that passes compiled-resume artifact eligibility, consumes the configured bounded attempt budget, and emits visible audit\u002Fstop reasons before or after it decides. Manual confirmation controls remain available regardless of that policy.\n\n## Steps\n\n### Step 1: Identify the Failed PRD\n\nIf the user supplied a `\u003CprdId>` argument, use it directly and skip to Step 2.\n\nOtherwise, call `eforge_queue_list` (no parameters) and filter the response for items where `status === 'failed'`. Present the list to the user and ask which one to recover. If no failed PRDs are found, tell the user:\n\n> No failed PRDs found. Use `\u002Feforge:status` to check the current build state.\n\n**Stop here** if no failed PRDs exist.\n\n### Step 2: Read the Recovery Sidecar\n\nCall `eforge_read_recovery_sidecar` with `{ prdId }`.\n\n- If the tool returns a 404 or the response contains a `recoveryError` field, offer to run the recovery analysis:\n\n> No recovery analysis found for `{prdId}`. Would you like me to run the analysis now? (yes \u002F no)\n\n  If the user agrees, call `eforge_recover` with `{ setName, prdId }` — source `setName` from the top-level sidecar `setName` field in a prior sidecar if available, otherwise ask the user to supply it. Then loop back to Step 2.\n\n  If the user declines, stop here.\n\n- If the sidecar is present, continue to Step 3.\n\n### Step 3: Render the Verdict\n\nDisplay the recovery report to the user:\n\n**PRD**: `{prdId}`\n**Verdict**: `{verdict}` (`retry` \u002F `continue-repair` \u002F `abandon` \u002F `manual`)\n**Confidence**: `{confidence}` (`low` \u002F `medium` \u002F `high`)\n\n**Rationale**\n{rationale}\n\n**Completed work**\n{completedWork — bullet list}\n\n**Remaining work**\n{remainingWork — bullet list}\n\n**Risks**\n{risks — bullet list}\n\nInspect sidecar-provided continue-and-repair fields. If `continueRepairEligibility.eligible === true` or `recoveryOptions` contains a recommended continue-and-repair option such as `{ kind: \"continue-repair\", action: \"continue-repair\", recommended: true }`, present exactly one primary action:\n\n> This recovery sidecar recommends **Continue and repair build** from preserved compiled artifacts. Continue with `eforge_continue_repair`? (yes \u002F no)\n\nIf `continueRepairEligibility.eligible === false`, show the bounded reason and do not recommend continue-and-repair. The mutating `eforge_continue_repair` tool validates eligibility server-side if the user explicitly asks to try after reviewing the warning.\n\nIf `recoveryOptions` contains `kind: \"compile-scope-context\"`, treat it as non-mutating guidance: summarize its action, eligibility, source\u002Ffailure kind, reason, and any bounded decomposition evidence summary, but do not map it to `eforge_apply_recovery` or `eforge_continue_repair`.\n\nWhen a compile-scope-context option includes `decompositionEvidence`, render it as read-only context-managed planning evidence. Summarize only bounded fields such as failed unit ID, parent unit, depth, triggered limits, blockers, unresolved criteria counts, and split attempts. State that `decomposition-exhausted` is decomposition exhaustion, not a provider context-window rejection. Do not paste raw source, prompts, transcripts, or agent output, and do not infer an automated recovery action from the evidence.\n\nDo not author replacement PRD content from the recovery sidecar. If decomposition evidence suggests a smaller follow-up scope, tell the user to inspect the bounded evidence and deliberately write or enqueue any replacement PRD outside this recovery action. The engine does not auto-author or auto-enqueue successor PRDs. If the verdict is `manual`, render the full report and use the manual guidance below.\n\n### Step 4: Confirm the Action\n\nAsk the user to confirm the verdict-specific action:\n\n- `retry`: \"Retry PRD `{prdId}` from scratch? (yes \u002F no)\"\n- `continue-repair`: \"Continue and repair build `{prdId}` from preserved compiled artifacts with `eforge_continue_repair`? (yes \u002F no)\"\n- `abandon`: \"Archive the failed PRD `{prdId}` (this cannot be undone)? (yes \u002F no)\"\n- `manual`: Render the full markdown report and stop. Tell the user:\n\n> This verdict requires manual review \u002F manual replanning. Review the report above, decide the bounded repair plan outside of eforge, and enqueue any replacement work deliberately. No automated apply-recovery action is available for the `manual` verdict.\n\n**Stop here** for `manual`. Do not call `eforge_apply_recovery`; if it were called it would return `{ verdict: 'manual', noAction: true }` and no mutation would occur.\n\n### Step 5: Apply the Recovery\n\nOn confirmation, call the appropriate tool:\n\n- **retry**: Call `eforge_apply_recovery` with `{ prdId }`. Report: \"PRD `{prdId}` has been queued to retry from scratch.\"\n- **continue-repair**: Call `eforge_continue_repair` with `{ prdId }`, adding `setName` when the sidecar top-level `setName` differs from the PRD id and `profile` when the user requests a specific agent runtime profile. Report: \"Queued continue-and-repair build for PRD `{prdId}`. It will wait for scheduler dispatch under the current queue controls.\"\n- **abandon**: Call `eforge_apply_recovery` with `{ prdId }`. Report: \"PRD `{prdId}` has been archived.\"\n\nA dispatched continue-and-repair build preserves normal queue controls: parallelism, pause state, dependency gating, and profile routing. It returns queued metadata such as the PRD id, set name, branches, moved descendants, and optional profile; it does not return a session id or PID.\n\n## When to Choose Continue and Repair vs Retry from Scratch\n\n| Situation | Recommended action |\n|-----------|-------------------|\n| Sidecar recommends continue-and-repair from preserved compiled artifacts | Prefer `eforge_continue_repair` after confirmation |\n| PRD failed early before compiled artifacts were preserved | Use `retry` via `eforge_apply_recovery` |\n| Compiled artifacts are stale or the plan has changed significantly | Use `retry` via `eforge_apply_recovery` to start fresh |\n| The report cannot determine a safe automated action | Stop for manual review \u002F manual replanning |\n| User wants to archive the failed PRD without further attempts | Use `abandon` via `eforge_apply_recovery` |\n\n## Error Handling\n\n| Condition | Action |\n|-----------|--------|\n| `eforge_read_recovery_sidecar` returns 404 | Offer to call `eforge_recover` to generate the verdict (Step 2) |\n| Sidecar contains `recoveryError` | Offer to re-run `eforge_recover` to regenerate (Step 2) |\n| `eforge_apply_recovery` fails | Surface the daemon error message verbatim; do not retry automatically |\n| `eforge_continue_repair` fails | Surface the daemon error message verbatim; do not retry automatically |\n\u003C!-- parity-skip-start -->\n| Tool unavailable | Warn that eforge tools are not available; suggest checking the extension is loaded |\n\u003C!-- parity-skip-end -->\n\n## Related Skills\n\n| Skill | Command | When to suggest |\n|-------|---------|----------------|\n| Status | `eforge_queue_list` | Check which PRDs are failed before recovering |\n| Build | `eforge_build` | Enqueue new work after a successful recovery |\n| Planning entry | eforge-plan workstation \u002F contribution | Plan replacement work before queuing it |\n",{"name":5,"description":7,"disable-model-invocation":34},true,"main","499776fb979b8166258cdf9bb95b41de703de835","packages\u002Fpi-eforge\u002Fskills\u002Feforge-recover",4,"https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge","https:\u002F\u002Fwww.eforge.build","https:\u002F\u002Fgithub.com\u002Feforge-build","https:\u002F\u002Feforge.build","2026-07-14 04:45:40",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":34},[46,49,52],{"tool":47,"command":48},"npx","npx skills add eforge-build\u002Feforge --skill eforge-recover",{"tool":50,"command":51},"bunx","bunx skills add eforge-build\u002Feforge --skill eforge-recover",{"tool":53,"command":54},"pnpm","pnpm dlx skills add eforge-build\u002Feforge --skill eforge-recover","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-recover\u002FSKILL.md",[],[58,80,93,107,120,131],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":69,"publishedAt":29},"01M6DZBCECD12JJM3BZMWT3Y4N","eforge-workflow","Set up or reconfigure the eforge workflow preset — landing action, stacking, PR settings, and automatic stack sync","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-workflow\u002FSKILL.md",[64],{"categoryNo":65,"categoryName":66,"taxonomyType":67,"taxonomyTypeDesc":68},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[70,71,72,73,74,75,76,77,78,79],"eforge workflow","workflow","stack","SET","pr","preset","sync","settings","landing","up",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":29},"01M6DZB994EMFBB6NQY5K2M2FG","eforge-update","Check for eforge updates and guide through updating the CLI package and daemon","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-update\u002FSKILL.md",[],[87,88,89,90,91,92],"update","eforge update","guide","check","package","cli",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":29},"01M6DZB6MD3FP4X1DNMH2X5RVD","eforge-status","Check eforge run status and queue state via daemon tools","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-status\u002FSKILL.md",[],[100,101,102,103,104,105,90,106],"eforge status","status","state","via","run","Tools","queue",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":29},"01M6DZB420JCDQPGVBXCE7WWWV","eforge-stack","Synchronize the git-spice stack, preview with dry-run, interpret the sync report, and recover from manual sync conflicts","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-stack\u002FSKILL.md",[],[114,72,115,76,104,116,117,118,119],"eforge stack","git","report","conflicts","preview","dry",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":29},"01M6DZB15H8P4KR68PDDGA54E4","eforge-restart","Safely restart the eforge daemon, checking for active builds first","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-restart\u002FSKILL.md",[],[127,128,129,130],"eforge restart","restart","first","active",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":138,"publishedAt":29},"01M6DZAV6K145TV5MJ3DYK7ZPY","eforge-profile","List, inspect, and switch agent runtime profiles","https:\u002F\u002Fgithub.com\u002Feforge-build\u002Feforge\u002Fblob\u002Fmain\u002Fpackages\u002Fpi-eforge\u002Fskills\u002Feforge-profile\u002FSKILL.md",[137],{"categoryNo":65,"categoryName":66,"taxonomyType":67,"taxonomyTypeDesc":68},[139,140,141,142,143,144],"eforge profile","profile","list","switch","runtime","agent runtime"]