V1 Web PWA · Surface walkthrough

Isis Client SDK

A per-surface walkthrough of the V1 Web PWA studio surface: layout, states, interactions, data, and cross-references.

walked
8sections2 minread

On this page

Context. surface studio · domain isis · route /studio/isis/client-sdk · auth signed-in + studio entitlement (segment not in AAA_ONLY_STUDIO_ROUTES — renders as-is) · source apps/oshun/web/src/app/studio/isis/client-sdk/page.tsx

Last walked. 2026-05-29 automated runtime walk (Playwright headless) — render, /v1 data (2xx), console/page-errors, expected content, screenshot verified; live screen-reader, touch, offline, and telemetry-delivery checks pending a manual AT pass. Evidence: WALKTHROUGH/results/runtime-sweep-2026-05-29.md; body re-derived 2026-06-03 from current source (lane-console architecture)

Purpose#

Admin lane console for the Isis client SDK's retry/backoff policy: the embedded backoff lane is wired to the real retry/backoff schedule planner via /v1/admin/isis/client-sdk, computing the exponential-backoff retry schedule (base · multiplier^attempt, capped at maxDelayMs, full-jitter bounds) an SDK client uses on request failure. It is admin-scoped and fails closed.

Entry points#

  • Sibling quick-action from /studio/isis/cli-surface
  • Studio index (/studio)
  • Direct URL / bookmark

Layout regions#

page.tsx mounts <ShellLayout active="studio"> (no breadcrumb panel) and three panels: the workspace, the Route Map, and sibling quick-actions.

  • Header: shell header
  • Workspace panel (data-isis-client-sdk-workspace):
    • <h1> (WorkspaceHeading) "Isis Client SDK Workspace"
    • Summary paragraph (data-isis-client-sdk-summary)
    • Embedded backoff lane with its own <h2> (data-rbl-heading) "Live Retry Backoff Planner" — backoff-policy form + plan result
  • Route Map panel (data-isis-client-sdk-route-map): <h2>Route Map</h2> over STUDIO_ISIS_CLIENT_SDK_ROUTE_MAP (5 entries)
  • Sibling quick-actions panel: /studio/isis/cli-surface, /studio

States#

  • Loadingoutcome === null; data-rbl-loading "Loading backoff planner…"
  • Unauthorized — 401/403 admin-scope fail-closed; data-rbl-unauthorized
  • Error — non-OK or malformed catalog; data-rbl-error
  • Ready (form) — catalog present; data-rbl-form renders the backoff-policy JSON textarea
  • Result — after a plan POST, data-rbl-result; invalid JSON or a planner rejection surfaces in data-rbl-plan-error ("Payload must be valid JSON." / planner detail)

Interactions#

Retry Backoff Planner (data-rbl-form)#

  • Backoff policy payload (data-rbl-payload, <textarea>, aria-label="backoff policy json")
  • Plan backoff (data-rbl-submit, submit) — POST /v1/admin/isis/client-sdk/plan-backoff

Route Map#

  • Route-map articles ×5

Sibling quick-actions#

  • Open Isis CLI Surface workspace/studio/isis/cli-surface
  • Back to Studio workspace index/studio

Data & contracts#

  • Reads: GET /v1/admin/isis/client-sdk (planner catalog)
  • Writes: POST /v1/admin/isis/client-sdk/plan-backoff (returns the computed retry-backoff schedule)
  • Realtime: none
  • Caching: client fetch on mount, cache: 'no-store', buildBffAuthHeaders()
  • Auth/role check: admin-scoped (Isis scope), fail-closed (401/403); route gated on signed-in + studio entitlement
  • Component sources:
    • apps/oshun/web/src/components/studio/StudioIsisClientSdkWorkspace.tsx
    • apps/oshun/web/src/components/studio/StudioIsisClientSdkRouteMap.ts

Cross-references#

Open questions / known gaps#

  • No breadcrumb on this route — navigation is via sibling quick-actions
  • The backoff policy is a free-form JSON textarea rather than typed fields; confirm whether structured inputs are planned