# Studio IA Validation Matrix

Status: Active  
Scope: Validation evidence for `OST-00007` (Studio information architecture).

## Coverage Summary

- Integration: `apps/oshun/web/src/components/__tests__/StudioInformationArchitectureWorkspace.test.tsx`
- E2E (smoke spec): `apps/oshun/web/e2e/studio-ia-smoke.spec.ts`
- Accessibility checks:
  - native-button keyboard interaction validation in component tests
  - explicit status/message state assertions for failure and recovery
- Performance/SLO checks:
  - p95 latency indicator assertions in component tests
  - success-rate/run-count indicators validated after flow execution

## Required Scenarios

1. Studio route renders context and all core IA flow cards.
2. Optimistic flow transitions: `idle -> pending -> success`.
3. Failure transitions: `pending -> error` with recoverable retry.
4. Policy denial: unauthorized role blocked with explicit reason.
5. SLO panel updates after execution (runs, success rate, p95 latency).

## Execution Notes

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

## Acceptance Gate

`OST-00007` is considered complete when:

- the integration tests pass,
- the validation matrix exists and maps each scenario to test evidence,
- e2e smoke coverage for `/studio` is present in repository,
- accessibility and SLO assertions are codified (not manual-only).
