# Deep Triage Automations Intelligent, LLM-assisted workflows for issue refinement and prioritization. ## Scripts | Script | Source | Purpose | Frequency | |--------|--------|---------|-----------| | `deep_triage.sh` | `../../scripts/deep_triage.sh` | LLM-driven issue refinement | Every 20 cycles | | `deep_triage_prompt.md` | `../../scripts/deep_triage_prompt.md` | Prompt template for deep triage | — | | `loop_introspect.py` | `../../scripts/loop_introspect.py` | Self-improvement analysis | Every 20 cycles | ## Deep Triage Protocol 1. **Mechanical scoring** runs first (`triage_score.py`) 2. **Introspection** analyzes trends (`loop_introspect.py`) 3. **Deep triage** consults Hermes + Timmy for refinement 4. **Queue updated** with refined, prioritized issues ## Running ```bash # Full deep triage (includes introspection) bash scripts/deep_triage.sh # Introspection only python3 scripts/loop_introspect.py ``` ## Output - `.loop/queue.json` — Updated work queue - `.loop/retro/deep-triage.jsonl` — Deep triage history - `.loop/retro/insights.json` — Introspection recommendations