Back to the catalog

contracts — index

OKF index — 2 concepts, 0 subfolders

Open source Repository Open in the app JSON README (API)

About

<!-- okf:generated -->

# contracts — index

_Read this first. Lists every concept + subfolder here so an agent loads only what it needs (OKF / LLM-Wiki pattern)._

## Concepts

- [[claims-integration-v2.schema]] — Claims Integration Export v2 JSON Schema — **the live contract**; versioned insurer/adjuster handoff payload; zod source of truth in `lib/export/claims-contract.ts`, regenerate via `pnpm exec tsx scripts/generate-claims-schema.ts`, drift-gated by `lib/export/__tests__/claims-contract.test.ts`
- [[claims-integration-v1.schema]] — Claims Integration Export v1 JSON Schema — **retired and frozen**; v2 widened `report.photoManifest.photos[].latitude/longitude` to `number | null` so a photo with no GPS fix is no longer published as `0, 0`. Not regenerated; kept unchanged so anything bound to v1 still has a stable document describing what v1 was.

Details

Kind
OKF bundles
Topic
AI, RAG & memory
Publisher
cleanexpo
Origin
okf_github
Category
dados
Version
0.1
Stars
1
Forks
1
Last push
2026-09-07T15:12:39Z
Repository state
ativo
Language
TypeScript
Added
2026-09-08 16:05:40
Updated
2026-09-08 16:05:40
Origin id
CleanExpo/RestoreAssist:docs/contracts/index.md

README

# RestoreAssist

TypeScript / Next.js 15 App Router compliance platform for Australian water damage restoration.

## Layout

```
app/           Next.js App Router
components/    UI
lib/           Domain / server logic
prisma/        Schema + migrations (deploy SSOT)
public/        Static assets
scripts/       Build / ops
config/        ESLint, Vitest, Playwright, Lighthouse
docs/          Long-form docs
e2e/           Playwright end-to-end specs
data/content/  Help, training, video scripts (runtime)
tools/         Remotion video pipeline + local render output
packages/      Workspace packages (pilot-tester)
ops/           Release ops (fastlane metadata)
mobile/        Expo
ios/ android/  Capacitor shells
```

Playwright e2e lives under `e2e/` at the repo root.

Env template: `.env.example`.

## Commands

```bash
npm ci
npm run dev
npm run type-check   # authoritative
npm run lint
npm run test:unit
npm run test:smoke
npm run build
```

## Docs

- Release gate: `docs/RELEASE_GATE.md`
- Root cleanup: `docs/ROOT_CLEANUP_REPORT.md`

More