Interactive Technical Walkthrough

HARP โ€” Reliability Intelligence

Step through the architecture, data flow, safety model, and roadmap. Click "Next" to reveal each section.

Source-Grounded Reliability Intelligence

HARP indexes your Git-tracked operational docs (runbooks, RCAs, configs) and provides citation-required search and evidence packs when alerts fire. Every answer traces to a file path.

๐Ÿ“‹ Citation-Required

Every answer must cite a source file. Uncited claims are rejected โ€” never fabricated.

๐Ÿ‘ค Human-Approved

HARP diagnoses but never fixes. Risky actions require human approval via Git commit.

๐Ÿ“ก Outage-Mode Ready

CLI tools work offline โ€” no API, no network, no database. Works from a local Git clone.

๐Ÿ”“ Content-Agnostic

Indexes any Git repo. Platform is separate from content. Fork and point at your docs.

Live Components (VM .61)

Core Stage B services deployed and smoke-tested on a self-hosted Proxmox VM. Formal eval harness is Stage C.

Live

๐Ÿ” BM25 Search Engine

Zero-dependency full-text search. Indexes Markdown, YAML, shell scripts, text.

harp/core/search.py
Live

โšก FastAPI Server

6 endpoints: health, stats, search, evidence-pack, audit, reindex. Async.

:8100
Live

๐Ÿ“ฆ Evidence Generator

Alert payload โ†’ cited Markdown with action tiers and approval enforcement.

harp/evidence/generator.py
Live

๐Ÿ“Š Metadata Audit

Scans docs for YAML frontmatter compliance. Reports full/partial/none/exempt.

harp/cli/harp_audit.py
Live

๐Ÿ“ˆ Coverage Checker

Maps Prometheus alert rules to runbooks. Gaps explicitly surfaced.

harp/cli/harp_coverage.py
Live

๐Ÿ—„๏ธ SQLite Manifest

Chunk-level content manifest for drift detection and stable citation IDs.

harp/cli/harp_manifest.py

Alert โ†’ Evidence Pack Pipeline

When a Prometheus alert fires, HARP searches, assembles evidence, classifies actions, and generates a cited pack โ€” all in under 1 second.

๐Ÿšจ
Alert Fires
Prometheus
โ†’
๐Ÿ“ก
Webhook
POST /evidence-pack
โ†’
๐Ÿ”
BM25 Search
Top-10 citations
โ†’
โš–๏ธ
Tier Classify
R / P / X / C-X / C-F / D
โ†’
๐Ÿ“„
Evidence Pack
Cited Markdown
โ†’
๐Ÿ‘ค
Human Review
Approve via Git

Action Tier Classification

Every suggested action is classified by risk. Tier R is auto-safe. Tier P+ requires human approval. Tier D is forbidden.

๐ŸŸข
R โ€” Read
kubectl get, describe, logs
๐ŸŸก
P โ€” Patch
Rollout restart, delete pod
๐ŸŸ 
X โ€” Mutate
kubectl apply, scale, helm
๐Ÿ”ด
C-X โ€” Cloud
Cloud resource mutation
๐Ÿ”ด
C-F โ€” Finance
Cost-impacting changes
โ›”
D โ€” Destroy
Forbidden by policy

6 Endpoints (Live)

MethodPathPurposeAuth
GET/healthLiveness probeNone
GET/statsIndex statisticsNone
POST/searchCitation-first BM25 searchNone (read-only)
POST/evidence-packAlert โ†’ evidence packLocalhost; bearer in B+
POST/audit/metadataCompliance auditLocalhost; bearer in B+
POST/reindexRebuild BM25 indexLocalhost; bearer in B+

What Powers HARP

LayerTechnologyStatus
SearchBM25 (pure Python)โœ… Live
APIFastAPI + Uvicornโœ… Live
SchemasPydantic 2 + JSON Schemaโœ… Live
StorageGit + Markdown + SQLiteโœ… Live
MonitoringPrometheus HA + AlertManagerโœ… Live
RuntimePython 3.12โœ… Live
EmbeddingsOllama (planned)๐Ÿ”ฎ Stage F
MCP ServerModel Context Protocol๐Ÿ”ฎ Stage H

Hardening Applied

๐Ÿ›ก๏ธ Path Traversal Prevention

Alert names slugified to [a-z0-9-]. Path containment verified before write.

๐Ÿ”’ No Path Leaks

API returns repo-relative paths only. Server layout never exposed.

โšก Async Isolation

Blocking ops in asyncio.to_thread(). /health never freezes during audits.

๐Ÿ”‘ CORS Restricted

Localhost-only defaults. No credentials. GET/POST only.

๐Ÿ†” Request ID Tracing

UUID-based X-Request-ID on every request for audit trail.

๐Ÿšซ Error Sanitization

500s return "Check server logs" โ€” never raw exception strings.

Stages A โ†’ I

Each stage has exit criteria, not deadlines. No stage ships until the previous is verified.

A
Foundations
โœ…
B
Search API
โœ…
C
Eval Harness
Next
D
Ingestion
โ€”
E
Notifications
โ€”
F
Local LLM
โ€”
G
Hybrid RAG
โ€”
H
MCP Server
โ€”
I
Multi-Cluster
โ€”

Stage B implemented. Formal eval harness pending (Stage C). 74/74 tests passing.

6 JSON Schemas

HARP indexes a CONTENT DIRECTORY โ€” any Git repo. The platform is separate from the content.

๐Ÿ“‹ Runbook

Operational procedures with symptoms, components, resolution steps.

runbook.schema.json

๐Ÿ”ฌ RCA

Root cause analysis with severity, root_cause, timeline.

rca.schema.json

๐Ÿšจ Incident

Incident records with alert, affected_service, resolution.

incident.schema.json

๐Ÿ“ฆ Evidence Pack

Generated: trigger, citations, diagnostics, approval status.

evidence-pack.schema.json

๐Ÿ›ก๏ธ Guardrail

Policy docs with scope, enforcement, compliance requirements.

guardrail.schema.json

๐Ÿ“ Review

Multi-agent review records with findings and scope.

review.schema.json

HARP is real, tested, and staged

74
Tests Passing
6
API Endpoints
6
JSON Schemas
21
Alert Rules Mapped

โ† View Business Version ยท HARP Project Hub ยท climacs.net

ยฉ 2026 Climacs IT Consulting

Step 0 / 10 โ€” Click Start