← ClaudeAtlas

thrunt-debuglisted

Systematic debugging with persistent state across context resets
3dcom2711/thrunt-god · ★ 0 · Code & Development · score 75
Install: claude install-skill 3dcom2711/thrunt-god
<objective> Debug issues using scientific method with subagent isolation. **Orchestrator role:** Gather symptoms, spawn thrunt-incident-debugger agent, handle checkpoints, spawn continuations. **Why subagent:** Investigation burns context fast (reading files, forming hypotheses, testing). Fresh 200k context per investigation. Main context stays lean for user interaction. </objective> <available_agent_types> Valid THRUNT subagent types (use exact names — do not fall back to 'general-purpose'): - thrunt-incident-debugger — Diagnoses and fixes issues </available_agent_types> <context> User's issue: $ARGUMENTS Check for active sessions: ```bash ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5 ``` </context> <process> ## 0. Initialize Context ```bash INIT=$(node ".github/thrunt-god/bin/thrunt-tools.cjs" state load) if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi ``` Extract `commit_docs` from init JSON. Resolve debugger model: ```bash debugger_model=$(node ".github/thrunt-god/bin/thrunt-tools.cjs" resolve-model thrunt-incident-debugger --raw) ``` ## 1. Check Active Sessions If active sessions exist AND no $ARGUMENTS: - List sessions with status, hypothesis, next action - User picks number to resume OR describes new issue If $ARGUMENTS provided OR user describes new issue: - Continue to symptom gathering ## 2. Gather Symptoms (if new issue) Use AskUserQuestion for each: 1. **Expected behavior** - What should happen? 2. **Actual beha