How kushal08-04/reforge works
REFORGE is an IoT semantic-validation product: observations enter through the API, are structurally checked and contextually scored, then classified; suspicious or invalid records can be reviewed, repaired, and audited. The graph shows the documented validation stages, the sampled server orchestrator and its dependencies, and the frontend’s investigation and operations surfaces. README capabilities such as dataset generation and evaluation are retained, but their internal links are limited where source excerpts do not establish the calls.
Main entry points: validationPipeline.js Validation Orchestrator · endpoints.js API Client · App.jsx Frontend Routes · index.js Observation and Workflow Store
Components 25
Ingestion and Validation
- Express API
server/src/app.js - Ingest Route
server/src/routes/ingest.routes.js - Ingest Handler
server/src/controllers/ingest.controller.js - Validation Orchestrator
server/src/services/validationPipeline.js - Schema Validation
server/src/services/schemaValidator.js - Feature Construction
server/src/services/featureBuilder.js - Semantic Rules
server/src/services/ruleEngine.js - Risk Scoring
server/src/services/scoringEngine.js - Hybrid Decision
server/src/services/hybridDecisionEngine.js
Review and Data Operations
- Quarantine Review
server/src/controllers/quarantine.controller.js - Repair Lifecycle
server/src/controllers/repair.controller.js - Audit Trail
server/src/services/auditService.js - Observation and Workflow Store
server/src/models/index.js - Reports and Exports
server/src/controllers/export.controller.js
Operator Interface
- Frontend Routes
frontend/src/App.jsx - API Client
frontend/src/api/endpoints.js - Monitoring and Analytics
frontend/src/pages/AnalyticsPage.jsx - Anomaly Investigation
frontend/src/pages/AnomalyExplorerPage.jsx - Repair Operations
frontend/src/pages/RepairOperationsPage.jsx - Audit Logs
frontend/src/pages/AuditLogsPage.jsx
ML and Evaluation
- ML Service Client
server/src/services/mlClient.js - ML Inference API
ml-service/app/main.py - ML Features and Models
ml-service/app/features.py - Dataset and Evaluation
ml-service/app/dataset_pipeline.py
Other components
- Sensor or Dataset
Connections 28
- Sensor or Dataset → API Client: submits observations
- Frontend Routes → Monitoring and Analytics: routes to
frontend/src/App.jsx - Frontend Routes → Anomaly Investigation: routes to
frontend/src/App.jsx - Frontend Routes → Repair Operations: routes to
frontend/src/App.jsx - Frontend Routes → Audit Logs: routes to
frontend/src/App.jsx - API Client → Express API: requests API
frontend/src/api/endpoints.js - Express API → Ingest Route: mounts route
server/src/app.js - Ingest Route → Ingest Handler: dispatches
server/src/routes/ingest.routes.js - Ingest Handler → Validation Orchestrator: runs pipeline
server/src/controllers/ingest.controller.js - Validation Orchestrator → Observation and Workflow Store: reads and writes
server/src/services/validationPipeline.js - Validation Orchestrator → Schema Validation: validates structure
server/src/services/validationPipeline.js - Validation Orchestrator → Feature Construction: builds features
server/src/services/validationPipeline.js - Validation Orchestrator → Semantic Rules: evaluates rules
server/src/services/validationPipeline.js - Validation Orchestrator → Risk Scoring: scores evidence
server/src/services/validationPipeline.js - Validation Orchestrator → ML Service Client: requests inference
server/src/services/validationPipeline.js - Validation Orchestrator → Hybrid Decision: combines decisions
server/src/services/validationPipeline.js - Validation Orchestrator → Audit Trail: records decisions
server/src/services/validationPipeline.js - Validation Orchestrator → Quarantine Review: creates records
- ML Service Client → ML Inference API: requests prediction
- ML Inference API → ML Features and Models: uses features and models
ml-service/app/main.py - Quarantine Review → Observation and Workflow Store: manages records
- Repair Lifecycle → Observation and Workflow Store: manages proposals
- Reports and Exports → Observation and Workflow Store: reads records
server/src/controllers/export.controller.js - Dataset and Evaluation → ML Inference API: prepares model data
- Anomaly Investigation → API Client: fetches evidence
frontend/src/pages/AnomalyExplorerPage.jsx - Repair Operations → API Client: requests repairs
frontend/src/api/endpoints.js - Audit Logs → API Client: fetches audit data
frontend/src/pages/AuditLogsPage.jsx - Monitoring and Analytics → API Client: fetches metrics
frontend/src/pages/AnalyticsPage.jsx