# Studio Knowledge Graph

The Studio Knowledge Graph describes relationships across the whole studio: governance, recipes, work orders, assets, documentation, systems, QA, architecture, dashboards, validators, and projects.

StudioOS does not hardcode game logic. Streetline Heroes contributes graph nodes and edges as data.

## Structure

- `registry/node-types.yaml` defines allowed node types.
- `registry/edge-types.yaml` defines allowed edge types.
- `schemas/` contains JSON schemas for nodes, edges, and graph index output.
- `nodes/` contains Studio Knowledge Graph nodes grouped by domain.
- `edges/` contains relationships grouped by edge type.
- `tools/graph/` validates, indexes, and reports graph health.

## Commands

```bash
pnpm graph:validate
pnpm graph:index
pnpm graph:report
```

The generated status report is written to `production/status/graph-status.json`.
