G1.1.4.A

## Что это ## Резюме (RU) G1.1.4.A — Sidecar-crash → баннер ROX.ONE с восстановлением в 1 клик (Week 1-2 quick win) *Полный перевод тела — в работе. Английский оригинал ниже.* --- # Original (EN) ## Objective When the Rox Design sidecar crashes mid-session, the user sees a ROX.ONE-styled banner with a retry action. This is the highest-trust-payoff item for Goal 1 — small surface, immediately visible. ## Source Links * Design doc section: `docs/superpowers/specs/2026-05-20-rox-integration-vision-design.md` § 2 (Section 2 → 1.4.A) * Parent: PZD-76 * Audit context: `docs/audits/2026-05-20-pr268-release-readiness-audit.md` ## Tasks (a) Hook into existing IPC event `rox-design:sidecar-exited` (already emitted per upstream commit d1ea1854) (b) Render a banner component matching existing ROX.ONE error banner patterns (search codebase for similar) (c) Banner shows: 'Rox Design отключился неожиданно. Перезапустить?' (RU) / 'Rox Design disconnected unexpectedly. Reconnect?' (EN); use existing translation infrastructure (d) 'Retry' button calls `roxDesign.start()` and dismisses banner on success (e) Telemetry span: `rox-design.crash-recovery.{attempt,success,failure}` with reason tag (f) Playwright test: simulate sidecar exit (mock IPC event) → banner appears → click retry → banner dismisses (g) Manual smoke: kill node sidecar process via Activity Monitor / Task Manager → verify banner shows within 800ms ## 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.4.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: `К работе — Todo`. Метки: —. ## 🔗 Linear - [PZD-81](https://linear.app/kuhjie/issue/PZD-81/g114a-sidecar-crash-banner-roxone-s-vosstanovleniem-v-1-klik-week-1-2) — backing ticket - Parent epic: [PZD-116](https://linear.app/kuhjie/issue/PZD-116)

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
🌊

Frictionless UX

Date

About 15 hours ago

Author

agi

Subscribe to post

Get notified by email when there are changes.