# T17 · Regenerate the board dashboard

## Legal notice and disclaimer

SEVEN-G and this tool are provided “as is” and for information purposes only. They do not constitute legal, regulatory, financial or professional advice, nor do they guarantee compliance with any regulation. The criteria, classifications and references to general regulation (EU AI Act, GDPR, DORA, NIS2…) or sector-specific regulation may be incomplete, may not apply to a specific case or may become outdated as a result of regulatory changes. Each organisation that uses the tool is solely responsible for identifying the regulation that applies to it, verifying that it is current and certifying its own regulatory compliance, with the appropriate qualified advice. The author accepts no liability whatsoever for the use of the tool or for decisions taken with it. The demo data is fictitious.

Everything the connector generates (full dashboard, mobile dashboard and recommendations log) carries this notice: in the notice band and footer of the full dashboard, before the footer of the mobile dashboard and in the footer of the log.

---

Converts the **full JSON** exported by the SEVEN-G **T01** use case register (schema `esquema_registro.schema.json`, versions `0.1` to `0.8`; 0.8 adds to each assessment maturity through three lenses —technology footprint, impact reach, minimum required and alerts—, which the maturity card shows in the "Maturity through three lenses" table and the mobile dashboard with one line per lens, D120; 0.7 adds to each assessment the summary of the NIST profiles, which the maturity card shows in its own table, D115; 0.4 adds risk fields and 0.5 the index evidence and board decisions, which the connector does not read; 0.6 the `madurez[]` list written by T15, which the connector takes to the optional `madurez` block of the dashboard: the "Company maturity (D1–D7)" card in "Portfolio and value" and a block in the mobile dashboard, D100) into the dashboard JSON (`motor/ESQUEMA.md`) and, using the dashboard engine included in `motor/`, generates:

- the **full dashboard** and the **mobile dashboard** (T17), in sync (same data fingerprint);
- the **dashboard JSON**, to inspect it or save it as a snapshot with `motor/snapshot.py`;
- the **recommendations log** (T18), if T01 contains recommendations.

Specification: document 03 (§5.4, T17 and T18; §2, principles) and document 60 (board package). Field names and on-screen texts are in Spanish, as in the engine.

## Pattern: from the register to the dashboard

```mermaid
flowchart LR
  A["T01 register<br>(one or several JSON files)"] --> C["t01_a_panel.py<br>(connector)"]
  B["config_panel.json<br>thresholds and lifecycle"] --> C
  C --> D["dashboard_data.json<br>(dashboard JSON)"]
  D --> E["motor/<br>build_dashboard.py"]
  E --> F["Full dashboard"]
  E --> G["Mobile dashboard"]
  D --> H["motor/snapshot.py<br>snapshot of each session"]
```

- **The T01 register is the single data entry point.** Each use case is entered in T01 like an opportunity in a CRM; the connector adds and estimates nothing.
- **`config_panel.json` is the general configuration** of the dashboard: traffic-light thresholds of the indicators (`umbrales_kpi`) and lifecycle rules (`ciclo_vida`: funnel stages, exits, day limits per stage and mapping to SEVEN-G phases 0–7). The connector copies it into `meta`; keys starting with `_` are comments.
- **Everything the dashboard shows comes from the dashboard JSON**; the HTML files are never edited by hand and can be rebuilt at any time from the register.
- **Why it matters.** The board sees the same data the AI Office manages: a use case that enters a phase, passes a gate or is stopped in T01 moves through the dashboard funnel with the real date of the event, with no double entry and no hand-written figures.

[Versión en español](README.md) · [Connector page](index.html)

## Files

| File | Content |
|---|---|
| `t01_a_panel.py` | The connector: T01 → dashboard schema mapping and generation with the engine. Standard library only. `--solo-json <file>` writes only the dashboard JSON. |
| `t01_a_panel.js` | The same mapping in JavaScript (D103): embedded in the generated dashboards (they regenerate themselves in the browser) and in the T01 register. |
| `conector_js.ps1` | Runs `t01_a_panel.js` with headless Edge: dashboard JSON without Python; used by the parity check in `verificar_coherencia.ps1`. |
| `config_panel.json` | General configuration of the dashboard: `navegacion` (no “Todo” page, initial page, cards expanded on entry, filters in a modal dialog with the applied query shown as pills and, for a dashboard hosted inside a site, `tema_sitio` —the `localStorage` key holding the site's general theme, which the full dashboard, the mobile one (theme button in its header) and the recommendations register (theme selector) follow and update— and `sitio` —links back to the site in the side menu of the full dashboard, in the header of the mobile one and in that of the recommendations register, with paths relative to the output folder (D141)— and `codigos` —path to the site's code index, `codigos.js`: with it, the codes written in the full dashboard, the mobile one and the recommendations register (document 40, T01, P12, G3.05…) become links to where they are explained, and their bar offers "Global search" and "Cited here" (D99, D105), with no visit measurement; a dashboard generated outside the site removes those keys—), `umbrales_kpi` and `ciclo_vida` (funnel, exits, day limits and the stage of each SEVEN-G phase). Starting values, to be calibrated by each organisation. `datos_t01`: path of the company copy's T01 register that the dashboard converts in the browser (D103). `ayuda_tarjetas` (D122): with `true`, each indicator and card of the full dashboard, and each section of the mobile one, carries a “?” next to its title that opens, **in Spanish or English** (selector in the window itself; the choice is remembered in the browser), what it shows, how to read it, **what each of its columns or figures means**, why it matters and the SEVEN-G document that explains it; in addition, **every table header and box label** in the dashboard, including the records, shows what it means as a tooltip. The texts live in `motor/ayuda_textos.py` (cards and column dictionary, ES/EN) and are used by `motor/ayuda_tarjetas.py`; the top-level `ayuda_tarjetas` key (outside `navegacion`) can replace a card's title or texts (`{"es": {…}, "en": {…}}`), or remove its help with `false`. Without the key there is no “?” and no tooltips. A new dashboard column or card needs its entry in `ayuda_textos.py` in both languages (`python motor/ayuda_tarjetas.py` checks it, as does `verificar_coherencia.ps1`, section 27). The rest of the dashboard is in Spanish. |
| `motor/` | The dashboard engine, **version 8** (funnel and lifecycle, configurable thresholds): `build_dashboard.py` (full dashboard), `panel_movil.py`, `panel_core.py` (shared JavaScript core), `ayuda_tarjetas.py` and `ayuda_textos.py` (“?” button, ES/EN texts of each card and explanation of each column, D122), `economia.py`, `glosario.py`, `snapshot.py`, `ESQUEMA.md` (JSON schema) and `demo_lib.py` (recommendations log template). Copy maintained in AI_CONSULTING; origin: `AI_en_el_consejo/motor` (MIT, same author). |
| `publicacion_panel.py` | Legal notice, authorship footer, insertion of the notice into the mobile dashboard and the recommendations log page. Imported by the connector from this folder. |
| `index.html` | Connector page (ES/EN, no server, no external resources) with links to the demo and the legal notice. |
| `ejemplo/salida/` | Demo generated from the T01 fictitious data. Generated HTML files are never edited by hand: they are regenerated with the connector. |
| `PROPUESTA_MOTOR.md` | Working document (Spanish): proposed changes to the dashboard engine so that it reads SEVEN-G data. For the engine's source project; not applied to the public copy. |
| `README.md` · `README_en.md` | This document, in Spanish and English. |

## Without Python: the dashboard regenerates itself in the browser (D103)

Both dashboards embed the connector in JavaScript, `t01_a_panel.js` (the same mapping as `t01_a_panel.py`; `verificar_coherencia.ps1` checks that both produce the same JSON with the demo data). When opened, the dashboard: (1) if that browser holds an own T01 register (same site; T01's `localStorage` key with an origin other than "sample"), converts and shows it; (2) otherwise, served over http, reads `navegacion.datos_t01` from `config_panel.json` (default `../../../datos/T01_registro.json`, the data folder of the company copy) and shows it; (3) "Cargar JSON" also accepts the full T01 JSON. A band under the header says where the data come from. The no-JavaScript view and the fingerprint remain those of the data embedded at generation time. `conector_js.ps1 -T01 <register> -Salida <dashboard_data.json>` produces the dashboard JSON with Edge, without Python. The T01 register embeds the same connector ("Download the dashboard JSON").

## Requirements (only to generate the dashboards as static files)

- **Python 3.11 or later** with [`uv`](https://docs.astral.sh/uv/). Standard library only; no packages are installed. Optional: without Python, the dashboard regenerates itself in the browser (previous section).
- Nothing else: the **dashboard engine is included** in `motor/` and no other repository is needed. The connector adds this folder and `./motor` to `sys.path`.
- Optional: `--panel <path>` uses another engine, pointing to a checkout of the [AI en el Consejo](https://github.com/Seachad-TEAM/AI_en_el_consejo) repository (`<path>/motor` and `<path>/demos/fuente`). If anything is missing, the connector stops with a clear message.

## Usage

From this folder:

```bash
uv run python t01_a_panel.py --t01 export_t01.json --salida folder [--sigla CA] [--organizacion "Name"] [--prefijo t01_] [--panel path] [--indice t14.json]
```

| Option | What it does |
|---|---|
| `--t01` | Full JSON exported from T01 (**Datos → Exportar JSON completo**). The CSV is not a valid input. Default: `../T01_registro_iniciativas/datos_demo.json` (fictitious data). |
| `--salida` | Output folder. Created if missing. Default: `./ejemplo/salida`. |
| `--sigla` | Advisory board acronym used in the texts. Default: "consejo asesor". |
| `--organizacion` | Organisation name. Default: T01 `meta.organizacion`. |
| `--prefijo` | File prefix. Default: `t01_`. |
| --panel | Optional: use another engine, pointing to a checkout of the *AI en el Consejo* repository. Default: ./motor. |
| --indice | Optional: JSON exported by the transformation index calculator (T14). Adds the "Company transformation index" card to "Portfolio and value" (profile, baseline conditions, signals, trend against the previous calculation, alerts and what would move the profile). The connector does not recalculate the index: it takes the most recent calculation with a result. In the example, ./ejemplo/t14_indice.json, generated from the same T01 data with `pwsh -File ../T14_indice_transformacion/build_indice.ps1 -DesdeT01 ../T01_registro_iniciativas/datos_demo.json -Exportar ejemplo/t14_indice.json`. |

Output files: `<prefix>Dashboard_Casos_Uso_IA_v8.html`, `<prefix>Dashboard_Movil_IA_v8.html`, `<prefix>dashboard_data.json` and, if there are recommendations, `<prefix>Registro_Recomendaciones.html`.

If T01 `meta.datos_ilustrativos` is `true`, the texts state that the data are fictitious; otherwise they carry a legal notice for own data.

The connector does not write `__pycache__` (`sys.dont_write_bytecode`).

## Demo

`uv run python t01_a_panel.py` with no arguments converts `../T01_registro_iniciativas/datos_demo.json` (fictitious company, people and suppliers) into `ejemplo/salida/` and links the footers to `index.html` and to the T01 register. It is the example dashboard opened from the use case register (header and “example use cases” banner) and from the connector page. If the demo data or `config_panel.json` change, it is regenerated. Generated HTML files are never edited by hand.

## Gallery of examples by sector (D136)

`uv run python galeria.py` generates, for each example register in `../T01_registro_iniciativas/ejemplos/<sector>/datos_demo.json` (banking, insurance, manufacturing and public sector; fictitious companies), the full dashboard, the mobile one, their JSON and the recommendations log in `galeria/<sector>/`, with this same connector and engine, and writes the page `galeria/index.html` (ES/EN). Gallery dashboards carry `navegacion.solo_datos_incrustados`: they always show their example, even if the visitor has their own T01 register in the browser, and they do not read the company's data copy; "Cargar JSON" still works. For every sector that has a file in `galeria/_fuentes/mercado/` (the page counts come from those files; it includes an optional "SMEs, professional firms and local businesses" block grouping the sectors listed in `PYMES` in `galeria.py`; its first file, `comun.json`, is the common block "Use cases that fit almost any business", which does not count as a sector and whose cases the local-business files do not repeat, D198), the page explains where AI use cases are heading (established, being adopted and emerging 2027-2028) with primary sources from the reference register (`SEVEN-G/build/referencias/g6_estudios_mercado.json`); its texts are in `galeria/_fuentes/mercado/<sector>.json`. If an example register, the connector or the engine changes, run `galeria.py` again; `verificar_coherencia.ps1` (section 34) checks that everything is up to date.

**AI security (D159).** The gallery page also includes a cross-cutting block with companies and solutions by AI security capability (guardrails and gateways, test bench, observability, detection and response, application security, shadow AI, identity and synthetic voice). It is generated from `galeria/_fuentes/seguridad_ia.json`; each entry cites an official page registered and verified in `SEVEN-G/build/referencias/g6_estudios_mercado.json` (ids `MER-SIA-NN`). It is a market reading, not a recommendation; the methodology documents do not name companies.

**Cases as cards (D201).** On the page, each use case is a collapsible card with three tags: technology, SPHERES sphere and ambition level (optimise, augment, transform or enablement). Opening it shows the description, the usual techniques for that technology and the sources for the case. "Where it is heading" and "Figures" are cards too, before the cases; opening one closes the others in the sector. Sphere and level are indicative: `galeria.py` derives them from the function and the lever of the case. To set them by hand, add to the case in its file (`galeria/_fuentes/mercado/<sector>.json`) the optional fields `esfera` ("01" to "09"), `ambicion` (`optimizar`, `aumentar`, `transformar` or `habilitacion`), `tecnicas_es` and `tecnicas_en`, and regenerate.

## Mapping principles

1. **"No data" is not zero.** Anything T01 does not record is `null` (or an empty list) and the dashboard shows "sin dato" (document 03 §2, principle 7).
2. **The connector does not modify the engine.** Its legacy keys are used: `estimado_cati` for estimated amounts and `acciones_estimadas_cati` (set to `null`). Funnel stages, day limits and thresholds are adapted to SEVEN-G through `config_panel.json`, without touching the engine. Pending internal changes (renaming keys, reading `seveng`, native legal notice) are proposed in `PROPUESTA_MOTOR.md`.
3. **Single source and single mapping.** Everything comes from the T01 JSON; no estimates are added (document 03 §2, principle 1). The register does not build the dashboard JSON in the browser: the only T01 → dashboard mapping is this connector's.
4. **Time is never estimated.** The lifecycle of each case (`historial_estados`) is built from the dates of the T01 events.

## Dashboard status

The status of each case is a funnel stage or an exit, both defined in `config_panel.json` (`ciclo_vida`). Each SEVEN-G phase maps to a stage (`ciclo_vida.fases_seven_g`):

| T01 phase | Funnel stage | Why |
|---|---|---|
| 0 Context and constraints · 1 Discovery | `Propuesto` | The idea is registered and being explored; there is no value hypothesis yet. |
| 2 Value hypothesis | `Hipótesis de valor` | G1 passed: the hypothesis is formulated and approved (G2). |
| 3 Feasibility and risk | `POC` | G2 passed: feasibility (data, technology, risk) is checked before building. |
| 4 Solution design · 5 Delivery and validation | `En desarrollo` | G3 passed: being designed, built and validated. |
| 6 Operation and governance · 7 Evolution or retirement | `En uso` | G5 passed: in operation. It is the “won” stage of the funnel. |

A closed use case (status `parada` or `retirada`, or with `cierre`) moves to the exit defined for the stage it was in:

| Closure in T01 | Dashboard exit |
|---|---|
| Stopped in phases 0–1 | `No aprobado` |
| Stopped in phases 2–5 | `Descartado` |
| Retired (or stopped) in phases 6–7 | `Desenganchado` |

**Lifecycle as in a CRM (`reporte_compania.historial_estados`).** The connector generates one status change each time the use case enters a stage: registration (registration date), every T01 `entrada_fase` event —including steps back after a pivot or an iteration, which the dashboard flags— and, if it is closed, the closure date. Consecutive entries into the same stage are grouped (phases 0 and 1, 4 and 5, 6 and 7). From that history the dashboard computes the time in each stage (mean, median and deviation of each case), conversion to production, stuck cases against `ciclo_vida.dias_limite`, and entries, won and lost cases per quarter. The last status in the history always matches the status of the case.

Original phase and status are kept in `casos[].seveng`.

## A dashboard that helps decide: what holds back scaling, where the impact is and clickable figures (D126–D128)

- **What holds back scaling · where to act first** (card `frenos`, first under «Portfolio and value»; mobile section). It answers «what is stopping us from scaling AI today?» with the rules of document 60 §10.4: six barriers FE-1 to FE-6 (value, progress, risk and compliance, adoption, data and technology, direction and governance), each with its case signals (on the filtered cases), its patterns (stops and withdrawals in the last year for a reason that is a symptom of the barrier) and its company signals (maturity D1–D7 and transformation index, which do not depend on the filters). It ranks first what blocks a gate (G5, G7 · Scale) or caps overall maturity, then the annual value at stake (potential efficiencies and return of the affected cases: declared, not validated) and the affected cases, and shows the three to start with, with what to do, who and where it is explained; clicking a barrier shows its signals and cases. What cannot be read from the data is stated. The calculation is in `motor/panel_core.py` (`frenosEscalado`), shared by both dashboards. Optional configuration in `config_panel.json`, key `frenos_escalado`: `umbral_madurez` (default 2), `meses_patron` (12), `motivos` (stop reason → barrier) and `textos` (name, action and owner of a barrier); without the key, the values of document 60.
- **Where the impact is (T16)** (card `impacto`; mobile section). The heat map of document 10 §8: value spheres in rows (or business units, with the selector), Optimise, Augment and Transform in columns, enablement band (08 and 09) separately; in each cell, cases, in use, investment and cost, annual net (or, if it does not produce yet, the potential) and validated value; colour by share of spending; gap, off-thesis, no-evidence and secondary marks. It reads `tags.funcion`, `tags.ambicion` and, if present, the `casos[].seveng` block written by the connector (phase, secondary sphere and whether the ambition is only proposed). Configuration in `config_panel.json`, key `mapa_impacto`: `filas`, `habilitacion`, `objetivo_c2` (C2 target ambition per sphere, only for a dashboard not fed from T01: if the register carries the approved thesis with `decisiones_consejo[].ambicion_objetivo`, the connector uses it and records in `objetivo_fuente` which decision it comes from, D131; in the example it comes from the illustrative thesis DEC-2025-001), `umbrales` and `meses_retiradas`. Without sphere data, the card is offered by business unit. The «Sphere (impact map)» filter appears if the cases carry `tags.funcion`.
- **Every header figure is clickable** (D128). Under «Portfolio and value», the economic indicators open their breakdown and the others —selected cases, validated value, classified and controls— a summary with their cases. Under «Funnel and lifecycle», the six indicators open their cases. In the detail of a stage or an exit, and in those lists, **the money comes first**: annual net, efficiencies, return, annual cost and investment of each case («prev.» if still expected), with the stage total; then the times.

## Cost of governance itself (D148)

With hours declared in T01's *gate* decisions (`decisiones_gate[].horas_gobierno`, optional) and the C2 cost per hour and targets (`meta.configuracion.coste_hora_gobierno` and `objetivo_coste_gobierno_pct`), the connector passes `casos[].seveng.gobierno` and `meta.gobierno`, and the **Cost of governance** card in "Portfolio and value" shows, by intensity (Express, Lite, Enterprise), hours per case, the cost of governance over the investment against the target and the share of evidence that is referenced (41 IND-COS-12 to 14). Hours are never estimated: without declared hours, the card is not drawn.

## Three perspectives of the use case (D150)

With T01's `iniciativas[].resultado_operativo` (physical indicators from document 41 with baseline, target and current value) and its open risks, incidents and nonconformities, the connector passes `casos[].seveng.perspectivas` and each use case record opens with **Three perspectives of the use case** (so does the mobile dashboard record; and the inventory, as cards and as a table, shows each use case's operational outcome and risk exposure alongside its value): economic value, operational outcome and risk exposure in three parallel columns that are never merged (document 40 §11.1, rule 11). Without an operational indicator, the column says so; it is never zero.

## Mapping table

### `meta`

| Dashboard | T01 source | Note |
|---|---|---|
| `organizacion`, `compania_principal` | `--organizacion` or `meta.organizacion` | |
| `consejo_sigla` | `--sigla`; else `meta.panel.consejo_sigla` | Default "consejo asesor". |
| `navegacion`, `umbrales_kpi`, `ciclo_vida` | `config_panel.json` | General configuration of the dashboard, copied as is (without the `_…` comment keys). `ciclo_vida.fases_seven_g` is used by the connector; the engine ignores it. |
| `generado`, `ejercicio_valor`, `periodo` | `meta.fecha_referencia` (or `meta.generado`) | Label "Registro de casos de uso T01 · corte dd-mm-yyyy"; quarter derived from the date. `periodo.anterior`: no data. |
| `prefijo_ficheros` | `--prefijo` | |
| `demo` | `meta.datos_ilustrativos` | |
| `textos` | Generated by the connector | Legal notice, value notice, footer with authorship, "no data" texts and sector-neutral labels for the efficiency and return lines. |
| `glosario_extra` | Generated by the connector | SEVEN-G, T01, G3, G5, R6, ambition and the mapping between funnel stages and phases. |
| `origen` | `version_esquema` and connector version | Own block; not read by the dashboard. |

### `casos[]` (one per use case)

| Dashboard | T01 source | Note |
|---|---|---|
| `id`, `nombre` | `id`, `nombre` | |
| `que_es` | `descripcion` | |
| `area`, `unidad` | `area` | |
| `compania` | organisation | T01 has no group of companies. |
| `estado` | `ciclo.fase` and `ciclo.estado` | Table above. |
| `descripcion` | `panel.observaciones_consejo` | Advisory board remarks; no data if not provided. |
| `inicio_estimado` | — | No data. Technical exception: `""` for cases in use or closed without a production date, so that the engine does not print "null (año estimado)". |
| `tags.tecnologia` | `clasificacion.tecnologia` | One label for filtering: `agente` if present; otherwise `ia_generativa`; otherwise the first one. Dashboard vocabulary (`Agéntico`, `GenAI`, `ML predictivo`, `NLP / IDP`, `Visión artificial`, `Optimización`, `IA de tercero`, `Reglas (no es IA)`), which the engine uses to detect agents. |
| `tags.naturaleza` | Derived from the main technology | |
| `tags.exposicion` | `clasificacion.exposicion` | `interna` → Interno · `empleados` → Empleado · `clientes_indirecta` → Cliente (indirecta) · `clientes_directa` → Cliente / persona externa (directa). |
| `tags.riesgo`, `detalle.aiact` | `clasificacion.regulatoria` | Prohibido · Alto riesgo · Transparencia (art. 50) · Riesgo mínimo · Fuera de ámbito · Por confirmar (`pendiente`). **It is the register's classification**, not an independent advisory board estimate, although the dashboard labels it that way. |
| `tags.funcion` | `clasificacion.esfera_principal` | "04 Operaciones", etc. |
| `tags.ambicion` | `ambicion_real`, else `ambicion_confirmada`, else `ambicion_propuesta` | Optimizar · Aumentar · Transformar. |
| `tags.prioridad` | `panel.prioridad` | Alta · Media · Baja; no data if not provided. |
| `tags.alcance`, `alcance` | `alcance` (schema 0.3) | Only for cross-unit use cases (`Transversal`) and platforms (`Plataforma habilitadora`); single-unit use cases carry neither the tag nor the block. `alcance.unidades` carries, per business unit, the roll-out and adoption from `alcance.reparto` and the cost, realised value (and how much of it is validated) and released capacity from the amounts with that `area` (the most recent per type and line); a row without a unit holds what is shared. For a cross-unit use case, `unidad` becomes “Varias unidades (transversal)”. |
| `detalle.tipo` | `clasificacion.tecnologia` (all) | |
| `detalle.proveedores` | `clasificacion.proveedores` → `proveedores[].nombre` | |
| `detalle.valor_tipo` | `clasificacion.tipo_valor` | |
| `detalle.es_ia` | Nature of the main technology | |
| `detalle.decision`, `datos`, `acciones_estimadas_cati` | — | No data. |
| `valor` (legacy block) | — | All no data except `medido` (some realised amount exists) and `fuente`. |
| `seveng` | `ciclo`, `clasificacion`, pending decisions | Own block (phase, status, iteration, hold, pending gate, intensity, spheres, ambitions, autonomy, tags, systems). Not read by the current dashboard. |

### `casos[].economia`

Each amount in `valores` becomes an *item* with `importe`, `formula`, `estado`, `fuente` and `fecha`; `atribucion` and `hipotesis` are left empty. If there are several amounts for the same moment and type, the most recent one is used; if they carry a business unit (`area`, schema 0.3), the most recent one per unit, added up with the most prudent status among them and a formula that lists the units. Status: `validado` and `declarado` unchanged; `estimado` → `estimado_cati` (engine legacy key; in T01 the use case team estimates it, not the advisory board, and the dashboard notice says so).

| Dashboard | T01 source | Note |
|---|---|---|
| `inversion.construccion` | Realised `inversion` value; else sheet `inversion.realizada` (declared); else expected `inversion` value | |
| `inversion.recurrente_anual` | Realised `coste_recurrente` value | |
| `inversion.recurrente_potencial` | Expected `coste_recurrente` value | |
| `inversion.adicional_potencial` | Sheet `inversion.pendiente` (declared) | |
| `inversion.desglose_recurrente` | — | No data: T01 does not break down cost. |
| `eficiencias[]`, one line per concept | `eficiencias` values (realised → `actual`, expected → `potencial`) grouped by `concepto`: `personas`, `herramientas`, `siniestros` (fraud, recoveries and overcharges), `operativo`, `penalizaciones` | Without `concepto` (or in 0.1 registers), everything goes to `operativo`. |
| `eficiencias[]` concept `capacidad_liberada` | `capacidad_liberada` values | Not added to net value. |
| `retorno[]`, one line per concept | `retorno` values grouped by `concepto`: `venta_nueva`, `venta_cruzada`, `retencion`, `precio_margen`, `cobros`, `otros` | Without `concepto`, everything goes to `otros`. |
| `hipotesis_potencial` | Formulas of expected values | |
| `nota_caso` | T01 phase and status; `riesgo_evitado` and `cumplimiento` amounts | Reported as text: not added to net value (T01 rule). |
| `moneda` | `meta.moneda` | |
| `plazo_potencial` | `panel.plazo_potencial` (`YYYY-MM`) | No data if not provided or if the use case is closed. |
| `clave_reparto` | `alcance.tipo` | Cross-unit: cost by each unit's licences and shared governance without a unit. Platform: its value is allocated to the cases that use it and `comparte_valor_con` carries `alcance.habilita`. Otherwise, no data and `comparte_valor_con` empty. |

For **closed** use cases (stopped or retired) only construction is kept; their other amounts are quoted in `nota_caso` and not added in the dashboard.

### `casos[].reporte_compania`

| Dashboard | T01 source | Note |
|---|---|---|
| `propietario_negocio`, `responsable_tecnico` | `responsables.patrocinador`, `responsables.tecnico` → person name | |
| `empresa_grupo` | organisation | |
| `fechas.idea` | `fecha_registro` | |
| `fechas.aprobacion` | First **G3** decision with result Continue or Continue with conditions | |
| `fechas.inicio` | First entry into phase 4 | Solution design starts. |
| `fechas.piloto` | First entry into phase 5 | Delivery and validation. |
| `fechas.produccion` | First **G5** decision that continues; if none, first entry into phase 6 | |
| `fechas.ultima_revision` | Last R6 decision | |
| `fechas.retirada` | `cierre.fecha` | Stop or retirement date. |
| `retirada` | `cierre`: type, gate, coded reason and comment; `organo`; `sustituto`; `lecciones` | The funnel shows, in the card of each lost or disengaged case, **why** it left and **what was learned**; if the reason is missing, it says so. |
| `historial_estados` | `fecha_registro`, `entrada_fase` events and `cierre.fecha` | See "Dashboard status". Source of each change: "Registro de iniciativas T01"; the note states the phase or the closure. Each change carries `cifras` (`previsto` and `actual`: investment, recurring cost, efficiencies and return) taken from `eventos[].cifras`. The funnel shows, in each stage and card, the figures of its cases —current ones and, if the case does not produce yet, the expected ones, marked "prev."—, also in the table opened by clicking a stage and in the lifecycle of the case record. |
| `complejidad` | `panel.complejidad` | `baja` · `media` · `alta`; with no data the `sin_dato` limit of `ciclo_vida.dias_limite` applies. |
| `tier_riesgo` | `riesgo_residual_principal` | `critico` → `alto`. |
| `clasificacion_ria` | `clasificacion.regulatoria` | `riesgo_minimo` → `minimo` · `fuera_ambito` → `no_es_ia` · `pendiente` → no data. |
| `controles.RIA` | `clasificacion.regulatoria` | `pendiente` → pending; anything else → done. |
| `controles.FRIA` | `evaluaciones_impacto` type `eidf` | done · pending · not applicable. |
| `controles.DPIA` | `evaluaciones_impacto` type `eipd` | Same. |
| `controles.seguridad`, `MUC`, `IA_ofensiva` | `panel.controles.seguridad`, `muc`, `ia_ofensiva` | `hecho` · `pendiente` · `no_aplica`; no data if not provided. |
| `valor_validado.actual`, `metodo_atribucion`, `validado_por`, `fecha_validacion` | Validated realised efficiency and return values (all lines) | |
| `valor_validado.objetivo` | Sum of expected efficiencies and return | |
| `valor_validado.base`, `recurrente`; `coste_real` | — | No data. |
| `operacion`, `agente`, `proveedor_dora` | — | No data. |

### `seguimiento`

| Dashboard | T01 source | Note |
|---|---|---|
| `movimientos[]` type `alta` | `alta` events | Decision maker = event author. |
| `movimientos[]` type `retirada` | `parada` and `retirada` events | Reason starts with "Parada en G3" or "Retirada en G7": the dashboard only counts additions, retirements and re-assessments. Decision maker = closing body; substitute from the closure. |
| `movimientos[]` type `reevaluacion` | `cambio_clasificacion` events and **R6** decisions | |
| `incidentes[]` | `incidentes` | `tipo` = "Severidad S1–S4"; `horas_detectar`, `horas_contener`, description, notifications and status. `resolucion_horas`, `rto_horas`, `origen`, `vector`, breach, affected people and notification deadlines: no data. |
| `adopcion`, `agilidad`, `ia_ofensiva`, `cdm_compania` | — | No data. Idea → approval → production agility is computed by the dashboard from each case's dates. |

Movements include the **whole register history**, not only the last period.

### `historico[]`

Empty: T01 does not store dashboard snapshots. At the end of each session, from this folder: `uv run python motor/snapshot.py --datos <prefix>dashboard_data.json --etiqueta "Session N"`.

### Recommendations log (T18)

| Log | T01 source | Note |
|---|---|---|
| `id`, `texto`, `destinatario` | `recomendaciones[]` | Linked use cases are appended to the text. |
| `estado` | `estado` | `abierta` → pending · `en_curso` → in progress · `cerrada` → fulfilled · `descartada` → discarded. |
| Session | `fecha` | One session per distinct date. |
| Scope | Main sphere of the linked use cases | "General" if none. |
| Evidence | `evidencia` | |
| Link to the dashboard | Inventory, if there are linked use cases | |
| Committed date, advisory board assessment | — | No data. |

## What in T01 does not reach the dashboard

Gate decisions and criteria, conditions, evidence, iterations, holds, deadlines and stalled use cases, T04 and T05, funnel metrics (conversion, decision time, weighted value, cohorts), risks, non-conformities, suppliers (except their name), systems (except their code in `seveng`) and people (except the names of owners and decision makers). The engine has nowhere to show them. Nor holds: the dashboard counts the time in each stage without deducting them, whereas the T01 analysis does deduct them. Phase, status, intensity, spheres and ambition travel in `casos[].seveng` (`PROPUESTA_MOTOR.md`).

## Known limitations

- **Inherited engine.** `motor/` is the copy of version 8 of the *AI en el Consejo* engine (17-09-2026; data version 6) and is maintained here independently of that repository. It keeps keys and labels designed for the advisory board (`estimado_cati`, the VNB and fraud magnitudes, left here with no data); `PROPUESTA_MOTOR.md` (Spanish) lists what is pending.
- **Day limits by complexity, not by intensity.** The dashboard sets the limit of the "En desarrollo" stage by the complexity of the case; the T01 reference time limits go by phase and intensity (Lite or Enterprise). The values in `config_panel.json` start from the sum of the T01 Enterprise limits and are yet to be calibrated.
- **Legal notice on mobile.** The engine does not show `meta.textos` in the mobile dashboard. `publicacion_panel.py` adds the notice to the generated HTML, before the footer, without changing data or fingerprint. In the full dashboard the notice is in the header notice band (`aviso_previo`) and, in short form, in the footer.
- **`tags.riesgo`.** The dashboard labels it as the advisory board estimate; here it is the classification recorded in T01.
- **"Estimated" status.** The dashboard attributes it to the advisory board; in T01 the team estimates it. The value notice clarifies this.
- **One technology per case** in filters; the full list is in the case sheet (`detalle.tipo`).
- **Texts in Spanish**, as in the engine; the connector page and the READMEs are in Spanish and English.

## Licence

Code under the **MIT** licence, including the engine in `motor/` (derived from [AI en el Consejo](https://github.com/Seachad-TEAM/AI_en_el_consejo), MIT, same author). Contents (documentation, connector page and sample data) under **CC BY 4.0**.

© 2026 Fernando García Varela · SEVEN-G methodology
