## Что это
## Резюме (RU)
G1.1.6.A — Телеметрия производительности: измерение first-click → visible (Week 1-2 quick win)
*Полный перевод тела — в работе. Английский оригинал ниже.*
---
# Original (EN)
## Objective
Measure cold-start, warm-open, and INP for Rox Design. Without telemetry we can't claim ≤1500ms P95 cold-start or ≤300ms warm-open. Measure first, optimize next quarter.
## Source Links
* Design doc section: `docs/superpowers/specs/2026-05-20-rox-integration-vision-design.md` § 2 (Section 2 → 1.6.A)
* Parent: PZD-76
* Audit context: `docs/audits/2026-05-20-pr268-release-readiness-audit.md`
## Tasks
(a) Add timing span `rox-design:first-show:duration` from TopBar click → `did-finish-load` event
(b) Distinguish phases: spawn-sidecar, attach-view, load-url, first-paint, first-interactive
(c) Per-platform breakdown (mac arm64 / linux / win)
(d) web-vitals INP tracker inside the design panel (via injected bootstrap script)
(e) Send metrics to existing ROX.ONE telemetry pipeline (or stub if not wired)
(f) Ops dashboard panel showing P50/P95/P99 cold-start and warm-open
(g) Unit tests for the timing instrumentation (mock timers)
## Acceptance Criteria
Implementation passes typecheck + lint + targeted unit tests + relevant audit gates. PR backlinks to this Linear issue.
## Implementation Plan
1. Read design doc section 2 (Section 2 → 1.6.A) for full context.
2. Implement tasks above on a feature branch off current main + my 3 PR #268 audit commits (`0d8bf3d2`, `a8f90784`, `4d223078`) or current main if those land first.
3. Atomic commits per task; PR when complete.
4. Update this issue with verification evidence.
## Status / Priority / Estimate
Status: **Todo** (Week 1-2)
Priority: **High**
Estimate: **S** (\~1-3 dev-days)
Workstream: КОД
## Update Log
* **2026-05-20** Sub-issue created during integration-vision brainstorm. Dispatched to autonomous agent.
## Статус
Это задача из текущего backlog'а ROX.ONE (Linear). Текущий статус в Linear: `В работе — In Progress`. Метки: —.
## 🔗 Linear
- [PZD-83](https://linear.app/kuhjie/issue/PZD-83/g116a-telemetriya-proizvoditelnosti-izmerenie-first-click-visible-week) — backing ticket
- Parent epic: [PZD-116](https://linear.app/kuhjie/issue/PZD-116)