# team-vernonix-sih-project/demo-repository architecture

> Architecture diagram of the GitHub repository team-vernonix-sih-project/demo-repository, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/team-vernonix-sih-project/demo-repository
- Repository: https://github.com/team-vernonix-sih-project/demo-repository

## Overview

PlnEX is presented as a prototype for linking project schedules to field execution. Its documented workflow imports and structures a schedule, turns field reports into execution events, matches them to activities, routes uncertain matches for review, and uses verified progress for schedule, risk, evidence, and dashboard views. The repository tree exposes no implementation source beyond index.html, which was not sampled; the graph therefore represents README-documented capabilities, not verified runtime wiring.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_schedule["Schedule Planning"]
  node_schedule_import["Schedule Import"]
  node_activity_tree["L1–L6 Activities"]
end

subgraph group_execution["Field Execution"]
  node_field_inputs["Field Inputs"]
  node_report_ingestion["Report Ingestion"]
  node_ai_extraction["AI Extraction"]
  node_execution_event["Execution Event"]
  node_activity_matching["Activity Matching"]
  node_confidence_routing["Confidence Routing"]
  node_human_review["Human Review"]
end

subgraph group_oversight["Progress Oversight"]
  node_verified_progress["Verified Progress"]
  node_schedule_twin["Plan vs Actual"]
  node_evidence_audit["Evidence &amp; Audit"]
  node_dashboard["Dashboard"]
end

subgraph group_insights["Project Insights"]
  node_risk_analysis["Risk Analysis"]
  node_schedule_health["Schedule Health"]
  node_data_quality["Data Quality"]
  node_what_if["What-if Simulator"]
  node_project_memory[("Project Memory")]
  node_granularity_bridge["Granularity Bridge"]
end

node_planner(("Planner"))
node_field_team(("Field Team"))

node_planner -->|"imports schedule"| node_schedule_import
node_schedule_import -->|"structures activities"| node_activity_tree
node_field_team -->|"provides updates"| node_field_inputs
node_field_inputs -->|"submits reports"| node_report_ingestion
node_report_ingestion -->|"extracts information"| node_ai_extraction
node_ai_extraction -->|"creates event"| node_execution_event
node_execution_event -->|"matches activity"| node_activity_matching
node_activity_tree -->|"provides activities"| node_activity_matching
node_activity_matching -->|"scores match"| node_confidence_routing
node_confidence_routing -->|"routes uncertain"| node_human_review
node_planner -->|"reviews matches"| node_human_review
node_human_review -->|"verifies progress"| node_verified_progress
node_confidence_routing -->|"auto approves"| node_verified_progress
node_verified_progress -->|"compares actuals"| node_schedule_twin
node_verified_progress -->|"analyzes execution"| node_risk_analysis
node_verified_progress -->|"links source evidence"| node_evidence_audit
node_schedule_twin -->|"shows variance"| node_dashboard
node_risk_analysis -->|"shows risks"| node_dashboard
node_evidence_audit -->|"supports review"| node_dashboard
node_verified_progress -->|"informs health"| node_schedule_health
node_verified_progress -->|"monitors data"| node_data_quality
node_activity_tree -->|"simulates changes"| node_what_if
node_activity_tree -->|"maps execution detail"| node_granularity_bridge
node_verified_progress -->|"preserves history"| node_project_memory

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_schedule_import,node_activity_tree toneBlue
class node_field_inputs,node_report_ingestion,node_ai_extraction,node_execution_event,node_activity_matching,node_confidence_routing,node_human_review toneAmber
class node_verified_progress,node_schedule_twin,node_evidence_audit,node_dashboard toneMint
class node_risk_analysis,node_schedule_health,node_data_quality,node_what_if,node_project_memory,node_granularity_bridge toneRose
class node_planner,node_field_team toneIndigo
```

## Components

### Schedule Planning

- **Schedule Import**
- **L1–L6 Activities**

### Field Execution

- **Field Inputs**
- **Report Ingestion**
- **AI Extraction**
- **Execution Event**
- **Activity Matching**
- **Confidence Routing**
- **Human Review**

### Progress Oversight

- **Verified Progress**
- **Plan vs Actual**
- **Evidence & Audit**
- **Dashboard**

### Project Insights

- **Risk Analysis**
- **Schedule Health**
- **Data Quality**
- **What-if Simulator**
- **Project Memory**
- **Granularity Bridge**

### Other components

- **Planner**
- **Field Team**

## Connections

- Planner → Schedule Import: imports schedule (evidence: `README.md`)
- Schedule Import → L1–L6 Activities: structures activities (evidence: `README.md`)
- Field Team → Field Inputs: provides updates (evidence: `README.md`)
- Field Inputs → Report Ingestion: submits reports (evidence: `README.md`)
- Report Ingestion → AI Extraction: extracts information (evidence: `README.md`)
- AI Extraction → Execution Event: creates event (evidence: `README.md`)
- Execution Event → Activity Matching: matches activity (evidence: `README.md`)
- L1–L6 Activities → Activity Matching: provides activities (evidence: `README.md`)
- Activity Matching → Confidence Routing: scores match (evidence: `README.md`)
- Confidence Routing → Human Review: routes uncertain (evidence: `README.md`)
- Planner → Human Review: reviews matches (evidence: `README.md`)
- Human Review → Verified Progress: verifies progress (evidence: `README.md`)
- Confidence Routing → Verified Progress: auto approves (evidence: `README.md`)
- Verified Progress → Plan vs Actual: compares actuals (evidence: `README.md`)
- Verified Progress → Risk Analysis: analyzes execution (evidence: `README.md`)
- Verified Progress → Evidence & Audit: links source evidence (evidence: `README.md`)
- Plan vs Actual → Dashboard: shows variance (evidence: `README.md`)
- Risk Analysis → Dashboard: shows risks (evidence: `README.md`)
- Evidence & Audit → Dashboard: supports review (evidence: `README.md`)
- Verified Progress → Schedule Health: informs health (evidence: `README.md`)
- Verified Progress → Data Quality: monitors data (evidence: `README.md`)
- L1–L6 Activities → What-if Simulator: simulates changes (evidence: `README.md`)
- L1–L6 Activities → Granularity Bridge: maps execution detail (evidence: `README.md`)
- Verified Progress → Project Memory: preserves history (evidence: `README.md`)
