From GSD Core
Investigates failed or stuck GSD workflows by analyzing git history and planning artifacts, producing a structured forensic report with anomalies and recommendations.
How this command is triggered — by the user, by Claude, or both
Slash command
/gsd-core:forensics [problem description]gsd/This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
<objective> Investigate what went wrong during a GSD workflow execution. Analyzes git history, `.planning/` artifacts, and file system state to detect anomalies and generate a structured diagnostic report. Purpose: Diagnose failed or stuck workflows so the user can understand root cause and take corrective action. Output: Forensic report saved to `.planning/forensics/`, presented inline, with optional issue creation. </objective> <execution_context> @~/.claude/gsd-core/workflows/forensics.md </execution_context> <context> **Data sources:** - `git log` (recent commits, patterns, time gaps...
Purpose: Diagnose failed or stuck workflows so the user can understand root cause and take corrective action.
Output: Forensic report saved to .planning/forensics/, presented inline, with optional issue creation.
<execution_context> @~/.claude/gsd-core/workflows/forensics.md </execution_context>
**Data sources:** - `git log` (recent commits, patterns, time gaps) - `git status` / `git diff` (uncommitted work, conflicts) - `.planning/STATE.md` (current position, session history) - `.planning/ROADMAP.md` (phase scope and progress) - `.planning/phases/*/` (PLAN.md, SUMMARY.md, VERIFICATION.md, CONTEXT.md) - `.planning/reports/SESSION_REPORT.md` (last session outcomes)User input:
<success_criteria>
.planning/forensics/report-{timestamp}.md<critical_rules>
npx claudepluginhub open-gsd/gsd-core/forensicsDiagnoses failed or stuck workflows by analyzing git history, planning artifacts, phase logs, and project state. Accepts optional problem description.
/auditTraces pipeline failures or production incidents through GitHub issues, PRs, reviews, and pipeline comments to identify root cause, then files an evidence-backed improvement issue to the Forge repo.
/investigatePerforms systematic root-cause investigation on error descriptions, stack traces, or symptoms using git context, producing a debug report.
/forensicsPerforms post-mortem investigation for failed or stuck workflows, producing a read-only diagnostic report based on problem description.
/debugDiagnoses root cause of bugs, errors, or test failures using adaptive multi-perspective investigation with parallel subagents.
/fire-debugDebugs issues using scientific method with subagent isolation, persistent state recovery, and skills library integration. Supports --diagnose-only and --verbose flags.