How rama-l7/hackwithhyderabad-3 works
This is an implemented Engineering Debugging Agent, despite the README’s older pre-planning status statement. Its principal workflow takes an engineer’s issue, normalizes it, recalls and classifies past cases, gathers current evidence, proposes hypotheses, obtains engineer verification and a resolution, then retains an eligible case. The README also documents interactive and JSON/YAML inputs, Hindsight and offline memory, LLM-backed reasoning, seed loading, and session inspection. Source excerpts and the index support the main stage boundaries; unsampled integrations are shown only where documented or wired by indexed references.
Main entry points: investigate.py Investigation · memory_adapter.py Memory Adapter · cli.py CLI · hindsight_store.py Hindsight Store
Components 29
Investigation Workflow
- Issue Input
src/debugagent/pipeline/ingest.py - Investigation
src/debugagent/pipeline/investigate.py - Normalization
src/debugagent/pipeline/normalize.py - Pipeline Types
src/debugagent/pipeline/types.py - Session Trace
src/debugagent/cli.py
Memory System
- Memory Schemas
src/debugagent/schemas.py - Recall Matching
src/debugagent/pipeline/recall_match.py - Memory Port
src/debugagent/pipeline/memory_port.py - Memory Adapter
src/debugagent/pipeline/memory_adapter.py - Relevance Matching
src/debugagent/memory/matching.py - Memory Store Interface
src/debugagent/memory/store.py - Hindsight Store
src/debugagent/memory/hindsight_store.py - Offline Memory
src/debugagent/memory/store.py - Hindsight Service
- Seed Loader
src/debugagent/seeds/loader.py - Seed Cases
src/debugagent/seeds/cases.json
Reasoning and Evidence
- Evidence Gathering
src/debugagent/pipeline/evidence.py - Hypothesis Generation
src/debugagent/pipeline/hypothesize.py - Engineer Verification
src/debugagent/pipeline/verify.py - Result Rendering
src/debugagent/pipeline/render.py
User and Providers
- CLI
src/debugagent/cli.py - LLM Router
src/debugagent/llm/router.py - LLM Provider
- Agent Configuration
src/debugagent/config.py
M0 Probes
- Probe Configuration
m0/config.py - Hindsight Probe
m0/hindsight_probe.py - LLM Probe
m0/llm_probe.py - Probe Results
m0/results_recorder.py
Other components
- Engineer
Connections 36
- Engineer → CLI: starts session
README.md - CLI → Issue Input: loads issue
README.md - CLI → Investigation: runs investigation
src/debugagent/cli.py - CLI → Session Trace: reads trace
src/debugagent/cli.py - Investigation → Normalization: normalizes
src/debugagent/pipeline/investigate.py - Investigation → Recall Matching: recalls cases
src/debugagent/pipeline/investigate.py - Investigation → Evidence Gathering: builds evidence
src/debugagent/pipeline/investigate.py - Investigation → Hypothesis Generation: generates proposals
src/debugagent/pipeline/investigate.py - Investigation → Engineer Verification: collects decisions
src/debugagent/pipeline/investigate.py - Investigation → Engineer: requests decisions
src/debugagent/pipeline/investigate.py - Investigation → Result Rendering: renders results
src/debugagent/pipeline/investigate.py - Investigation → Memory Port: retains case
src/debugagent/pipeline/investigate.py - Issue Input → Pipeline Types: creates input
src/debugagent/pipeline/ingest.py - Normalization → Pipeline Types: produces case
src/debugagent/pipeline/normalize.py - Recall Matching → Memory Port: requests recall
src/debugagent/pipeline/recall_match.py - Memory Port → Memory Adapter: implemented by
src/debugagent/pipeline/memory_adapter.py - Memory Adapter → Memory Store Interface: uses interface
src/debugagent/pipeline/memory_adapter.py - Memory Adapter → Relevance Matching: classifies results
src/debugagent/pipeline/memory_adapter.py - Memory Adapter → Hindsight Store: selects backend
src/debugagent/pipeline/memory_adapter.py - Memory Adapter → Offline Memory: selects backend
README.md - Hindsight Store → Memory Store Interface: implements contract
src/debugagent/memory/hindsight_store.py - Hindsight Store → Memory Schemas: validates cases
src/debugagent/memory/hindsight_store.py - Hindsight Store → Hindsight Service: calls service
- Relevance Matching → Memory Schemas: classifies recalls
src/debugagent/memory/matching.py - Seed Loader → Seed Cases: loads cases
src/debugagent/seeds/loader.py - Seed Loader → Memory Store Interface: retains seeds
src/debugagent/seeds/loader.py - Engineer Verification → Pipeline Types: uses types
src/debugagent/pipeline/verify.py - Evidence Gathering → Pipeline Types: builds evidence
src/debugagent/pipeline/evidence.py - Hypothesis Generation → Recall Matching: uses recall
src/debugagent/pipeline/hypothesize.py - Hypothesis Generation → LLM Router: requests reasoning
- LLM Router → LLM Provider: calls provider
- CLI → Agent Configuration: loads settings
README.md - Hindsight Probe → Probe Configuration: uses settings
m0/hindsight_probe.py - LLM Probe → Probe Configuration: uses settings
m0/llm_probe.py - Hindsight Probe → Probe Results: records results
m0/hindsight_probe.py - LLM Probe → Probe Results: records results
m0/llm_probe.py