agentplane-task-closure-recovery

Diagnose and resolve Agentplane task synchronization failures with Git and PR states.

72|9|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/basilisk-labs/agentplane --skill agentplane-task-closure-recovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentplane-task-closure-recovery
Source: https://github.com/basilisk-labs/agentplane/tree/main/skills/agentplane-task-closure-recovery
Command: npx skills add https://github.com/basilisk-labs/agentplane --skill agentplane-task-closure-recovery

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves operational deadlocks where Agentplane tasks fail to close, PRs become desynchronized, or local artifacts conflict with remote repository states.

Core Features & Use Cases

  • State Diagnosis: Identifies discrepancies between local task status, Git branch states, and remote PR status.
  • Recovery Patterns: Provides structured paths to resolve remote branch collisions, obsolete closure PRs, and dirty base states.
  • Use Case: When a task is marked as done locally but the hosted closure PR fails to merge or remains open, this skill guides the user through the specific verification and cleanup commands to synchronize the state.

Quick Start

Run the agentplane task closure recovery skill to identify and fix the state of task ID 123 by following the incident advice provided by the CLI.

Frequently Asked Questions about agentplane-task-closure-recovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover a stalled AI agent task that fails to close in Git?

Task closure recovery requires diagnosing synchronization failures between local Agentplane task artifacts and remote Git PR states. The process verifies task metadata and reconciles branch history to resolve automation state divergence.

Why does my automated task closure PR fail to merge or stay open?

Automated task closure PRs fail to merge when local task status, Git branch states, and remote PR status become desynchronized. This state divergence creates operational deadlocks where hosted closure operations encounter dirty base states or remote branch collisions.

What's the best way to synchronize local Agentplane artifacts with remote Git branches?

Synchronizing local Agentplane artifacts with remote Git branches requires structured recovery patterns. You run the Agentplane CLI to identify state discrepancies, then execute verification and cleanup commands to reconcile the branch history.

Do I need the Agentplane CLI installed to diagnose task state divergence?

Yes, diagnosing task state divergence requires access to the local Agentplane CLI and Git environment. The CLI provides the incident advice and verification commands needed to identify discrepancies between local task metadata and remote repository states.

How do I fix a Git branch collision during automated PR integration?

Fixing a Git branch collision during automated PR integration involves applying structured recovery patterns. You use the Agentplane CLI to verify task metadata, identify obsolete closure PRs, and run cleanup commands to reconcile the conflicting branch history.