You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Own everything that makes the agent actually think well: the model serving layer, every prompt template (PLAN/IMPLEMENT/REFLECT/strategy-shift), the Tree-sitter AST parser that powers graph-aware retrieval, and — in later phases — the live dashboard's frontend components. Also owns the final SWE-bench Lite benchmark run and honest public documentation of what does and doesn't work.
📅 Timeline (6 Months)
gantt
title Node B — Y. Jangra — 6 Month Roadmap
dateFormat YYYY-MM-DD
axisFormat %b
section Phase I - Single Node
Ollama Serving + Prompt Templates :p1, 2026-07-06, 21d
section Phase II - Reaper Protocol
Reflection + Strategy-Shift Prompts :p2, after p1, 21d
section Phase III - AST Retrieval
Tree-sitter Parser + Call Graph Extract:p3, after p2, 21d
section Phase IV - Three-Node Mesh
gRPC InferenceService Worker :p4, after p3, 21d
section Phase V - War Room Dashboard
Next.js Frontend Components :p5, after p4, 21d
section Phase VI - Benchmark & Ship
SWE-bench Lite Run + Docs :p6, after p5, 21d
Loading
🧭 Definition of Done (Epic-level)
All 6 phase demo milestones below are recorded and linked in this issue
Model runs stably at 4-bit quantization within 8GB VRAM budget across all phases
AST graph retrieval demonstrably outperforms flat embeddings on the 20-bug eval set
SWE-bench Lite 50-issue benchmark published with honest pass/fail numbers, including failures
🟦 PHASE I — Single-Node Agent Loop
Demo Milestone: Document exact VRAM and latency numbers from the run.
01. Set up Ollama serving Qwen2.5-Coder-7B-Instruct (4-bit AWQ) on Node B, confirm start under 4.5GB VRAM
Acceptance: nvidia-smi snapshot at idle and under load both attached to this task
02. Benchmark tokens/sec + max usable context at 4-bit on 8GB — write the numbers down
Acceptance: numbers recorded in /docs/model-selection.md with exact prompt lengths tested
03. InferenceClient wrapper — POST to Ollama, stream tokens, timeout after N seconds
Acceptance: timeout is configurable via hydra.config.json; timed-out request cleans up server-side generation
04. PLAN prompt — given issue + repo structure, output a numbered step list as JSON
Acceptance: prompt versioned as plan_v1.md, tested against 5 varied issue descriptions with valid JSON output every time
05. IMPLEMENT prompt — given step N + file contents, output a unified diff
Acceptance: output diff is directly git apply-able without post-processing in 90%+ of test cases
06. REFLECT prompt — given test failure output, identify the most likely root cause
Acceptance: usable/legible at 1920x1080 and on a 13" laptop screen
08. MobileResponsiveness — dashboard readable on a phone screen for checking a run remotely
Acceptance: tested on an actual mobile viewport, not just browser devtools resize
09. Playwright end-to-end tests — connect to a mock WebSocket, feed scripted event stream, assert UI state
Acceptance: tests run in CI headless, cover at least genealogy tree update and Reaper toast appearance
10. Phase V demo — show the ConvergenceGauge going red and the REAPER_FIRED toast appearing
Acceptance: recorded clip, linked in this issue
🟧 PHASE VI — Benchmark, Harden, Ship
Demo Milestone: Publish the raw benchmark report alongside the release.
01. Select representative 50-issue slice from SWE-bench Lite — document selection methodology
Acceptance: methodology explains why these 50 (not cherry-picked for easy wins), committed to /benchmarks/
02. Run HydraNet against all 50 issues — record pass/fail/reaper-fired/timeout for each
Acceptance: raw per-issue log retained, not just aggregate numbers
03. Publish raw benchmark data — /benchmarks/results.json: issue ID, outcome, attempts, tokens used
Acceptance: file is machine-readable and matches a documented schema
04. Fair comparison table — HydraNet vs. Aider vs. OpenHands vs. Cline on the same 50 issues, using their published numbers where available
Acceptance: every comparison number is sourced with a link; no invented numbers for competitors
05. Architecture deep-dive doc — /docs/architecture.md, every decision + reasoning, including wrong paths taken
Acceptance: doc includes at least 2 documented "we tried X, it didn't work, here's why" sections — honesty over polish
06. Model selection guide — what fits in 6GB, what fits in 8GB, what to do with less
Acceptance: guide gives concrete model+quantization recommendations per VRAM tier, not vague advice
07. Getting Started in 30 minutes tutorial — assumes three laptops + a WiFi router, nothing else
Acceptance: tested by having someone unfamiliar with the project follow it cold and time it
08. Prompt engineering guide — how to get better results from HydraNet via better issue descriptions
Acceptance: includes concrete before/after issue description examples
09. Failure analysis doc — which bugs HydraNet consistently fails on, and known limitations
Acceptance: at least 5 concrete documented failure categories, not a vague disclaimer
10. Ship — post the benchmark report alongside the release
Acceptance: report linked from the v0.1.0 GitHub release notes
🔗 Dependencies
Phase III AST retrieval feeds directly into M. Yadav's RetrievalAPI (Node A) — schema must be agreed before Phase III task 02
Phase IV gRPC InferenceService must conform exactly to the .proto contract owned by M. Yadav's track
Phase VI benchmark numbers block M. Yadav's Phase VI task 01 (ship) — this track's task 03 is a hard dependency for release
⚠️ Risks
7B model at 4-bit on 8GB leaves limited headroom for long-context retrieval-augmented prompts — watch context budget closely in Phase III
SWE-bench Lite numbers may be underwhelming vs. cloud frontier models — commit now to publishing honestly (README already states this is not a 70%+ SWE-bench tool)
Owner: Y. Jangra · Core Contributor / Inference Lead
Hardware: RTX 4060 · 8GB VRAM (Qwen2.5-Coder-7B 4-bit AWQ + BAAI/bge-large embeddings)
Scope: Model serving, prompt engineering, AST parsing, code retrieval, frontend dashboard components, benchmarking
Duration: 6 Phases / ~26 weeks
Labels:
node-b,inference,epic,ast-retrieval,frontend🎯 Epic Goal
Own everything that makes the agent actually think well: the model serving layer, every prompt template (PLAN/IMPLEMENT/REFLECT/strategy-shift), the Tree-sitter AST parser that powers graph-aware retrieval, and — in later phases — the live dashboard's frontend components. Also owns the final SWE-bench Lite benchmark run and honest public documentation of what does and doesn't work.
📅 Timeline (6 Months)
gantt title Node B — Y. Jangra — 6 Month Roadmap dateFormat YYYY-MM-DD axisFormat %b section Phase I - Single Node Ollama Serving + Prompt Templates :p1, 2026-07-06, 21d section Phase II - Reaper Protocol Reflection + Strategy-Shift Prompts :p2, after p1, 21d section Phase III - AST Retrieval Tree-sitter Parser + Call Graph Extract:p3, after p2, 21d section Phase IV - Three-Node Mesh gRPC InferenceService Worker :p4, after p3, 21d section Phase V - War Room Dashboard Next.js Frontend Components :p5, after p4, 21d section Phase VI - Benchmark & Ship SWE-bench Lite Run + Docs :p6, after p5, 21d🧭 Definition of Done (Epic-level)
🟦 PHASE I — Single-Node Agent Loop
Demo Milestone: Document exact VRAM and latency numbers from the run.
nvidia-smisnapshot at idle and under load both attached to this task/docs/model-selection.mdwith exact prompt lengths testedhydra.config.json; timed-out request cleans up server-side generationplan_v1.md, tested against 5 varied issue descriptions with valid JSON output every timegit apply-able without post-processing in 90%+ of test cases.mdtemplate, no hardcoded strings in Python🟥 PHASE II — The Reaper Protocol
Demo Milestone: Show the PostMortemReport output for the demo bug.
(attempt_n, strategy, result, error_signature)injected into every subsequent prompt🟩 PHASE III — AST Graph Retrieval
Demo Milestone: Show
hydra ast-graphoutput for the demo repo.FunctionDef,ClassDef,Importnode listast)import/from...import, record source-target file edge__init__.pyre-exports correctly.tsfilehydra ast-graph --repo PATH --file auth.py, pretty-print the call graph as ASCIIhydra ast-graphoutput for the demo repo🟨 PHASE IV — Three-Node Mesh
Demo Milestone: Show the cluster status CLI output during the run.
.protocontract defined by M. Yadav's track exactly, no ad-hoc extensionsUNAVAILABLEif context is nearly fullSIGTERMduring active generation completes the current response before exitingNODE_LOSTand pauses cleanlyResourceMatrixwithout a translation layer🟪 PHASE V — War Room Dashboard
Demo Milestone: Show the ConvergenceGauge going red and the REAPER_FIRED toast appearing.
react-diff-viewer-continued)🟧 PHASE VI — Benchmark, Harden, Ship
Demo Milestone: Publish the raw benchmark report alongside the release.
/benchmarks//benchmarks/results.json: issue ID, outcome, attempts, tokens used/docs/architecture.md, every decision + reasoning, including wrong paths takenv0.1.0GitHub release notes🔗 Dependencies
RetrievalAPI(Node A) — schema must be agreed before Phase III task 02InferenceServicemust conform exactly to the.protocontract owned by M. Yadav's track