# Oscar Platform — Sovereignty Pact

**This is the constitutional document that defines Oscar's sovereignty.**

## 1. No FreshVibe Studio integration

Oscar does not import from FVS. The following import patterns are **forbidden** in any Oscar file:

```ts
// ❌ FORBIDDEN
import { ... } from 'freshvibe-studio';
import { ... } from '@fvs/...';
import { ... } from '../../../modules/.../...';
import { ... } from '../../../../recon/freshvibestudio/studio/...';
```

## 2. No workspace selector

Oscar is the app. There is no workspace concept. The 5 views (Home / Surveys / Notes / Reports / Settings) are **first-class views**, not workspaces.

## 3. No FVS Pact promotion

Oscar's fragment_ids use the `oscar-` prefix. They never appear in FVS's `pact/platform/` directory.

## 4. Sovereign identity

Oscar has its own:
- Repo: `avidtech6/oscar-platform`
- Brand: forest green + Cormorant Garamond (per `branding/palette.ts`)
- Domain: `oscar.freshvibe.studio` (operator wires DNS)
- Cloudflare Pages project: `oscar-platform`
- Storage: dedicated IndexedDB `oscar-platform`
- localStorage prefix: `oscar:`

## 5. Permitted imports

Oscar files may import only from:
- Other Oscar files (`./`, `../`, `@shell/*`, `@views/*`, etc.)
- npm packages (React, Mantine, idb, pdfmake, etc.)
- Public assets (`/logo.svg`, etc.)

Nothing else.

## 6. Verification

This sovereignty is enforced by:
1. **Static checks** — `audit/check-sovereignty.ts` greps for forbidden patterns
2. **Build-time checks** — `vite build` fails if any forbidden import resolves
3. **CI gate** — `.github/workflows/ci.yml` runs all checks

A single violation = sovereignty breach = build failure.