# Studio Design Language Validation Matrix

Status: Active  
Scope: Validation evidence for `OST-00015` (Design language and visual identity).

## Coverage Summary

- Integration:
  - `apps/oshun/web/src/components/__tests__/StudioDesignLanguageWorkspace.test.tsx`
- E2E (smoke spec):
  - `apps/oshun/web/e2e/studio-design-language-smoke.spec.ts`
- Accessibility checks:
  - native-button keyboard interactions in component tests
  - explicit context-incomplete and policy-denied assertions
- Performance/SLO checks:
  - run count, success-rate, and p95 indicator assertions

## Required Scenarios

1. Route `/studio/design-language` renders context and all governance flow cards.
2. Optimistic transitions (`idle -> pending -> success`) are validated.
3. Failure transitions (`pending -> error`) and retry recovery are validated.
4. Unauthorized role execution is blocked with explicit denial reason.
5. SLO indicators update after flow completion.

## Execution Notes

- Unit/integration command:
  - `pnpm nx run @oshun/web:test`
- E2E command wiring for `@oshun/web:e2e` remains scaffolded in project
  configuration; smoke coverage is committed and ready once Playwright target
  wiring is enabled.

## Acceptance Gate

`OST-00015` is complete when:

- integration test coverage exists for optimistic/error/denial/recovery behavior,
- e2e smoke coverage for `/studio/design-language` is committed,
- accessibility and SLO assertions are codified,
- validation matrix maps scenarios to concrete evidence paths.
