# ISIS v2 WS11-003: Domain-Specific Creative Workflow Layouts

## Scope

`WS11-003` replaces generic operations-console page framing with workflow-native
creative workspace layouts across the primary ISIS creation and review surfaces.

## Research and Existing Implementation Alignment

Implementation aligns to:

- `WS11-001` visual direction:
  `docs/domains/isis/remediation-v2/ISIS_V2_PREMIUM_CREATIVE_SUITE_DESIGN_VISION.md`
- `WS11-002` token/theming layer: `apps/isis/web/src/design-system/tokens.ts`,
  `apps/isis/web/src/design-system/theme.ts`
- current primary user journeys: `apps/isis/web/src/pages/DashboardPage.tsx`,
  `apps/isis/web/src/pages/WorkflowsPage.tsx`,
  `apps/isis/web/src/pages/JobsPage.tsx`,
  `apps/isis/web/src/pages/OutputsPage.tsx`

## Deliverables

1. Added reusable creative-workflow shell component:

- `apps/isis/web/src/components/CreativeWorkflowFrame.tsx`
- `apps/isis/web/src/components/CreativeWorkflowFrame.spec.tsx`

Capabilities:

- mode-specific workspace framing (`create`, `review`, `operate`),
- stage-lane model (`ready`, `active`, `blocked`, `complete`),
- metric strips for workflow KPIs,
- contextual action rail.

2. Added creative-workspace styling primitives to shell CSS:

- `apps/isis/web/src/components/AppLayout.css`

Includes:

- creative header composition,
- metric cards,
- stage lanes with state styling,
- responsive behavior for lane collapse on tablet/mobile.

3. Migrated primary ISIS pages from generic headers to creative workflow frames:

- `DashboardPage`: service-health workflow stages for
  intake/orchestration/delivery.
- `WorkflowsPage`: discovery/compose/validate/publish framing with catalog KPIs.
- `JobsPage`: submit/execute/recover/close execution cockpit framing.
- `OutputsPage`: locate/review/govern/distribute review/distribution framing.

## Verification Commands

```bash
pnpm --filter @isis/web exec vitest run src/components/CreativeWorkflowFrame.spec.tsx src/components/AppLayout.spec.tsx --reporter=dot
pnpm --filter @isis/web exec vitest run src/pages/JobsPage.spec.tsx src/pages/OutputsPage.spec.tsx --reporter=dot
pnpm --filter @isis/web run typecheck
```

## Verification Notes

- `CreativeWorkflowFrame` and `AppLayout` tests pass.
- Page-level tests for `JobsPage` and `OutputsPage` still fail from an existing
  workspace package-resolution issue (`@isis/client` entry resolution) that is
  unrelated to WS11-003 layout changes.
- Workspace typecheck remains red due pre-existing cross-package/rootDir and
  unrelated typing issues outside WS11-003 scope.
