Engineering-grade governance shell for deterministic document review
hermes-review-agent is not just a wrapper; it is a Governed Control Plane.
Its mission is to provide a deterministic, fail-closed orchestrator around the NousResearch/hermes-agent kernel. We separate the "Thinking" (Kernel) from the "Governing" (Shell) to ensure that every review result is grounded in explicit evidence, standard registries, and formal acceptance rules.
- Smart Owner, Dumb Tools: This repo owns the Planet/Policy, while adapters and kernels own the Execution.
- Fail-Closed by Design: If evidence is missing or the kernel degrades, the shell refuses to emit a formal report.
- DeepSeek Primary: Optimized for DeepSeek's specific reasoning patterns for high-recall issue detection.
The repository operates as a Governance Shell protecting the Upstream Kernel.
[ External Caller / Web UI ]
|
v
+-------------------------------------------------------+
| hermes-review-agent (Local Shell / Control Plane) |
| |
| - Task Governance & Basis Selection |
| - Evidence Synthesis & Result Assembly |
| - Fail-Closed Safety Gates |
| |
| +-------------------------------------------------+ |
| | external/hermes-agent (Upstream Kernel) | |
| | - Judgment Engine & Reasoning | |
| +-------------------------------------------------+ |
| |
+-------------------------------------------------------+
All formal reviews follow this strict, audited execution chain:
graph LR
A[TaskCompiler] --> B[ProfileResolver]
B --> C[BasisPackResolver]
C --> D[SupportPacketBuilder]
D --> E[Hermes Main Review]
E --> F[FinalReportAssembler]
style F fill:#f96,stroke:#333,stroke-width:4px
- TaskCompiler: Normalizes raw inputs into a strict
ReviewBrief. - ProfileResolver: Determines the system classification and governance profile.
- BasisPackResolver: Assembles laws, standards, and rule sets based on the profile.
- SupportPacketBuilder: Prepares the visibility gaps and evidence pointers.
- Hermes Main Review: Executes the judgment using the reasoning kernel.
- FinalReportAssembler: The ONLY official exit point for synthesized reports.
make bootstrapmake devmake eval-reviewThe Source of Truth for all governance and design resides in the docs/ hierarchy.
| Layer | Content | Focus |
|---|---|---|
| 00-Product | Landscape & Strategy | "What & Why" |
| 10-Governance | Capability Boundaries & Spec | "Rules & Gates" |
| 20-Design | Architecture & Modules | "How it works" |
| 30-Quality | Testing & Limitations | "Validation" |
| 40-Operations | Runbooks & Deployment | "Maintenance" |
For a detailed layer-by-layer definition including frozen and legacy code paths, see docs/20-design/layer-governance.md.
This project follows the Harness Engineering governance model. All technical decisions and execution rules are codified in:
[[AGENTS.md]]: The local execution contract for AI agents and human contributors.[[REPO_CATALOG.md]]: System-level repository mapping.
MIT © 2026 watsonctl
Publish the framework, govern the memory, trust the evidence.