# admin-monitor fragment

**ID:** `fvcms.fragment.admin-monitor.001`

## What it is

The **Monitor** admin panel. Shows runtime health: regions, modules, drift detections (I1-I5), errors caught, events emitted. Updates every 5s.

## Public API

```js
import { openAdminMonitor, renderAdminMonitor } from 'app-fragments/admin-monitor/index.js';
const panel = openAdminMonitor();
```

## Recipe (10-item, abbreviated)

1. **purpose** — runtime health + drift display
2. **inputs** — `window.__fvcmsAnnotation`, `window.__fvcmsDriftCount`, `window.__fvcmsErrorCount`, `window.__fvcmsEventCount`
3. **outputs** — a 2-column grid of stats, updated every 5s
4. **state machine** — same as other panels
5. **event bus** — none for v0.1 (read-only)
6. **dependencies** — `app-pact/anti-drift.md` (I1-I5)
7. **constitutional refs** — app-pact §12.5, §12.13
8. **tier** — T2
9. **canonical home** — `app-fragments/admin-monitor/`
10. **recipe** — this file
