La gobernanza en AI-LAB no solo observa el runtime: usa topología del codebase como señal para priorizar riesgos.
Qué aporta GitNexus (topología)
Section titled “Qué aporta GitNexus (topología)”- Hotspots: módulos con fan-in / fan-out elevados.
- Blast radius: severidad estimada por dependencia/transitividad.
- Gravity centers: módulos centrales (alta centralidad) que condicionan el resto.
- Correlaciones: relación entre topología y señales (SLO, triage, alerting).
Contrato del framework (bounded)
Section titled “Contrato del framework (bounded)”- Máximos (hard cap): hotspots 20, gravity centers 10, blast radius 20, findings 20, correlations 20.
- TTL cache bounded.
- Read-only: no muta runtime.
Endpoints runtime
Section titled “Endpoints runtime”GET /runtime/graph/summaryGET /runtime/graph/hotspotsGET /runtime/graph/blast-radiusGET /runtime/graph/governanceGET /runtime/graph/correlationsGET /runtime/graph/metricsMétricas Prometheus
Section titled “Métricas Prometheus”ailab_graph_hotspots_totalailab_graph_governance_findings_totalailab_graph_gravity_centers_totalailab_graph_high_blast_radius_total
Diagrama: señal topológica → gobernanza
Section titled “Diagrama: señal topológica → gobernanza”flowchart TD GN[GitNexus topology (imports)] --> GR[Graph Reasoning bounded engine] P[Prometheus authority] --> GR T[Autonomous Triage signals] --> GR GR --> GOV[Governance prioritization] GR --> OPS[Operational reporting (evidence-bound)]