gsd-forensics

Diagnose failed GSD workflows by analyzing git history and planning artifacts.

4|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/lgwanai/openforce --skill gsd-forensics-lgwanai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-forensics
Source: https://github.com/lgwanai/openforce/tree/main/skills/gsd-forensics
Command: npx skills add https://github.com/lgwanai/openforce --skill gsd-forensics-lgwanai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you understand why a Generalized Shit Done (GSD) workflow failed or got stuck by reconstructing what happened from git history and local planning artifacts.

Core Features & Use Cases

  • Workflow evidence gathering: Collects signals from git log, git status/git diff, and .planning/ state files to ground findings in observable facts.
  • Anomaly-driven investigation: Checks common failure modes such as stuck loops, missing artifacts, abandoned work, and crash/interruption patterns.
  • Actionable forensic output: Generates a structured report saved under .planning/forensics/ and presents key findings inline, with optional issue-creation prompts.

Quick Start

Run gsd-forensics to investigate a failing GSD workflow using your provided problem description (or supply one when prompted) and generate an evidence-backed forensic report.

Frequently Asked Questions about gsd-forensics

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

FAQPage Schema
How do I diagnose why my git workflow got stuck or failed?

Diagnose a failed git workflow by analyzing git history, planning artifacts, and filesystem state to detect anomalies. The investigation reconstructs events from observable facts like git log diffs and state files to identify what went wrong.

What is workflow forensics and when do I need an incident report?

Workflow forensics is the investigation of failure patterns like stuck loops, missing artifacts, and abandoned work in multi-step executions. You need an incident report when a GSD workflow crashes or stops unexpectedly and requires evidence-based troubleshooting.

How do I generate a post-mortem report from git history and planning artifacts?

Generate a post-mortem report by running a forensics analysis that checks for crash patterns and missing artifacts across git history and `.planning/` state files. The process outputs a structured report written directly to the `.planning/forensics/` directory.

Can I investigate missing planning artifacts and abandoned work in a stuck execution?

Yes, you can investigate missing planning artifacts by checking the filesystem state and analyzing `.planning/STATE.md` along with phase directories. The anomaly-driven investigation detects abandoned work and outputs findings with optional issue-creation prompts.

What is the best way to find evidence of interruptions in multi-step workflow debugging?

The best way to find interruption evidence is to reconstruct the execution timeline from git log and session-level report files. This anomaly detection approach identifies crash patterns and abandoned work by grounding findings in observable repository facts.

Does forensic workflow analysis require any specific dependencies or environment setup?

Forensic workflow analysis requires no external dependencies, relying entirely on native git commands and local `.planning/` directory artifacts. It operates directly within your existing repository environment to gather evidence from unmodified state files.