# princeghoti07-sys/before-it-breaks-2026 architecture

> Architecture diagram of the GitHub repository princeghoti07-sys/before-it-breaks-2026, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/princeghoti07-sys/before-it-breaks-2026
- Repository: https://github.com/princeghoti07-sys/before-it-breaks-2026

## Overview

Before It Breaks is a browser-native change-impact and blast-radius simulator. Users upload topology, dependency, telemetry, and change workbooks; the app parses them, simulates directional impact with contract filtering, risk classification, and cycle safety, then presents graphs, mitigations, telemetry health, and batch-evaluation exports. The README documents the single-file implementation and its SheetJS and Cytoscape.js integrations. No source excerpts were available, so the graph uses only README-supported relationships; internal implementation boundaries are conceptual, not independently verified.

Main entry points: [`index.html`](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html) (Workbook parser)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingestion["Workbook ingestion"]
  node_parser["Workbook parser<br/>[index.html]"]
end

subgraph group_simulation["Impact simulation"]
  node_impact["Impact propagation<br/>[index.html]"]
  node_risk["Risk and cycle rules<br/>[index.html]"]
end

subgraph group_analysis["Results and analysis"]
  node_telemetry["Telemetry cross-check<br/>[index.html]"]
  node_shadow["Shadow dependencies<br/>[index.html]"]
  node_simulator["Live simulator<br/>[index.html]"]
  node_batch["Jury batch evaluation<br/>[index.html]"]
  node_linkhealth["Link health<br/>[index.html]"]
end

node_engineer(("Engineer"))
node_workbooks["Input workbooks"]
node_sheetjs["SheetJS"]
node_cytoscape["Cytoscape.js"]
node_csv["Benchmark CSV"]

node_engineer -->|"provides"| node_workbooks
node_workbooks -->|"uploads"| node_parser
node_parser -->|"parses with"| node_sheetjs
node_parser -->|"supplies inputs"| node_impact
node_impact -->|"classifies paths"| node_risk
node_risk -->|"provides exposure"| node_simulator
node_engineer -->|"uses"| node_simulator
node_simulator -->|"visualizes with"| node_cytoscape
node_parser -->|"supplies logs"| node_telemetry
node_telemetry -->|"flags undocumented calls"| node_shadow
node_telemetry -->|"reports evidence"| node_linkhealth
node_engineer -->|"uploads test files"| node_batch
node_batch -->|"exports"| node_csv

click node_parser "https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html"
click node_impact "https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html"
click node_risk "https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html"
click node_telemetry "https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html"
click node_shadow "https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html"
click node_simulator "https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html"
click node_batch "https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html"
click node_linkhealth "https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html"

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_parser toneBlue
class node_impact,node_risk toneAmber
class node_telemetry,node_shadow,node_simulator,node_batch,node_linkhealth toneMint
class node_engineer,node_workbooks,node_sheetjs,node_cytoscape,node_csv toneIndigo
```

## Components

### Workbook ingestion

- [Workbook parser](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html): `index.html`

### Impact simulation

- [Impact propagation](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html): `index.html`
- [Risk and cycle rules](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html): `index.html`

### Results and analysis

- [Telemetry cross-check](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html): `index.html`
- [Shadow dependencies](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html): `index.html`
- [Live simulator](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html): `index.html`
- [Jury batch evaluation](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html): `index.html`
- [Link health](https://github.com/princeghoti07-sys/before-it-breaks-2026/blob/main/index.html): `index.html`

### Other components

- **Engineer**
- **Input workbooks**
- **SheetJS**
- **Cytoscape.js**
- **Benchmark CSV**

## Connections

- Engineer → Input workbooks: provides (evidence: `README.md`)
- Input workbooks → Workbook parser: uploads (evidence: `README.md`)
- Workbook parser → SheetJS: parses with (evidence: `README.md`)
- Workbook parser → Impact propagation: supplies inputs (evidence: `README.md`)
- Impact propagation → Risk and cycle rules: classifies paths (evidence: `README.md`)
- Risk and cycle rules → Live simulator: provides exposure (evidence: `README.md`)
- Engineer → Live simulator: uses (evidence: `README.md`)
- Live simulator → Cytoscape.js: visualizes with (evidence: `README.md`)
- Workbook parser → Telemetry cross-check: supplies logs (evidence: `README.md`)
- Telemetry cross-check → Shadow dependencies: flags undocumented calls (evidence: `README.md`)
- Telemetry cross-check → Link health: reports evidence (evidence: `README.md`)
- Engineer → Jury batch evaluation: uploads test files (evidence: `README.md`)
- Jury batch evaluation → Benchmark CSV: exports (evidence: `README.md`)
