Module Index

docs / modules / README

← all docs

Module Index

One row per real package/component. Each links to its expandable box in architecture.html's Module Flow section, where the four-question schema (what happens / in-out / model routing / deterministic work) is answered in full — this index does not duplicate that content, it points to it.

Unlike VVAH's twelve separate per-module Markdown files, DCRH's much smaller codebase (35 files vs. VVAH's 226) is documented as <details> boxes directly inside architecture.html, generated from the same MODULES data structure in tools/gen_html.py that also feeds diagrams/module-graph.html. This avoids maintaining the same facts in two places. See Defending Code Harness Vault/DCRH/DCRH — Project Log.md for the reasoning.

Module Package Files LOC Layer
CLI (hub) harness/cli.py, dnr_harness/cli.py 2 1,942 1 · Entry
Agent Runner harness/agent.py 1 436 2 · Orchestration
Auth Resolution harness/auth.py 1 470 2 · Orchestration
Target Config harness/config.py 1 73 2 · Orchestration
Sandbox / Container Ops harness/docker_ops.py, sandbox.py, agent_image.py 3 384 3 · Isolation
Recon harness/recon.py 1 60 4 · Detect (S0 loop)
Find harness/find.py, asan.py 2 216 4 · Detect (S0 loop)
Grade harness/grade.py 1 109 4 · Detect (S0 loop)
Judge harness/judge.py 1 128 4 · Detect (S0 loop)
Report harness/report.py 1 181 4 · Detect (S0 loop)
Novelty harness/novelty.py 1 95 4 · Detect (S0 loop)
Dedup harness/dedup.py 1 87 4 · Detect (S0 loop)
Patch harness/patch.py, patch_grade.py 2 524 5 · Remediate
Artifacts / Prompts harness/artifacts.py, harness/prompts/ (9 files) 10 192+ 6 · Support
dnr-pipeline dnr_harness/cli.py, agent_image.py, prompts.py, system_prompt.py 4 780 7 · Detection & Response

Totals: 29 files / ~4,381 LOC in harness/, 6 files / ~876 LOC in dnr_harness/. Only cross-package import edge in the repo: dnr_harness → harness (6 references) — see tool-outputs/module_graph.json and the real Graphify/CodeGraph exports in tool-outputs/graphify/ and tool-outputs/codegraph/.

Related: ../design/HLD.md · ../design/LLD.md.