Prompt file imported from Cataldir/governed-second-brain (
.github/prompts/tech-lead-investigate.prompt.md). Copyright stays with the author.
Investigate the reported issue:
- Symptom Analysis — Restate the problem. Identify affected components and user impact severity.
- Hypothesis Formation — List the 3 most likely root causes ranked by probability.
- Evidence Gathering — For each hypothesis, invoke the appropriate specialist agent via
#runSubagentto gather evidence:PythonDeveloper— for Python stack traces, async bugs, type errorsRustDeveloper— for Rust panics, ownership issues, linker failuresTypeScriptDeveloper— for TypeScript type errors, React rendering, bundle issuesPlatformEngineer— for CI/CD failures, infrastructure, dependency problemsSystemArchitect— for cross-service integration failures, architectural mismatches
- Root Cause Isolation — Narrow to the confirmed cause. Document the causal chain.
- Fix Planning — Decompose the fix into agent-assignable tasks. Invoke each specialist via
#runSubagentto implement their portion. - Prevention — Delegate to
PlatformEngineerto recommend test/monitoring additions to prevent recurrence.
Deliver an investigation report with root cause, fix plan, and prevention recommendations.