Back to HARP

The system is split by responsibility.

HARP owns evidence, Nero-Camp owns workflow state, OpenRAG owns semantic retrieval, MCP owns agent access, LiteLLM owns model routing, and n8n owns workflow glue.

01

Signal

Prometheus, Alertmanager, Uptime Kuma, n8n webhook, or human question.

02

Normalize

Payload becomes a query, alert context, or task input.

03

Retrieve

HARP searches BM25 and optional OpenRAG semantic index.

04

Ground

RRF merge produces cited sources, snippets, confidence, and gaps.

05

Coordinate

Nero-Camp receives task/evidence state and asks for human review.

06

Learn

Outcome becomes RCA, runbook, or session log for future retrieval.

What each component does and does not do.

HARP

Evidence engine

Indexes runbooks, RCAs, session logs, monitoring docs, and generated evidence packs. Exposes FastAPI endpoints and read-only MCP tools.

Owns: Search, evidence packs, evals, policy labels, MCP surface.

Does not own: Task approval, live mutation, autonomous remediation.

OpenRAG

Semantic retrieval

Stores synchronized HARP knowledge documents in a semantic/vector backend to improve symptom-language discovery beyond exact keywords.

Owns: Vector search, embeddings, semantic ranking.

Does not own: HARP policy, Nero workflow state, final decisions.

MCP

Agent interface

Lets AI clients ask HARP for tools, resources, and prompt templates through a standard interface.

Owns: The read-only access contract for AI clients.

Does not own: Shell, Git writes, kubectl mutation, remediation.

Nero-Camp

Control plane

Consumes HARP evidence as citations and advisory metadata. Keeps source records, timelines, approvals, and human decisions.

Owns: Task state, approval, audit timeline, operator decision.

Does not own: Assuming HARP advice is executable action.

LiteLLM

Model gateway

Provides an OpenAI-compatible gateway for local or cloud models, including a gated AWS Bedrock path when policy allows. Useful for classification and summaries, not control.

Owns: Model routing and provider abstraction.

Does not own: Retrieval, approvals, task state, source citations.

n8n

Workflow glue

Connects events around the core reliability flow without becoming the source of operational truth.

Owns: Webhook fan-out, schedules, notification routing, low-risk event glue.

Does not own: Evidence scoring, policy, approval state.

The read-only line is the architecture.

Layer Allowed Blocked Reason
MCP Search, hybrid search, source preview, triage rendering. Shell, Git write, kubectl mutation, evidence writes. Agents need context, not production power.
HARP Evidence rendering, citation ranking, policy labels, evals. Autonomous remediation and source-of-truth task decisions. HARP is memory and evidence, not the operator.
Nero-Camp Task state, source records, timeline, approval, closeout. Treating HARP output as executable authority. Nero records the human decision.
OpenRAG Semantic indexing and retrieval. Direct agent access that bypasses HARP policy. HARP mediates retrieval and fallback behavior.
LiteLLM Classification and summarization when policy allows. Replacing citations or final decisions. Model output must remain grounded and governed.