# PRE-REALITY

Venture intelligence. Emotionally adjusted.

A complete, registration-free editorial satire of startup theater. The interface is deliberately institutional. A dedicated landing page explains the purpose before introducing the instruments; model explanations live in expandable methodology notes. The project celebrates useful products, reliability, retention and sustainable businesses.

## Run locally

Requires Node.js 22.13+ (verified with Node 24.22.1).

```sh
npm ci
npm run prepare:content
npm run dev
```

Open the development server URL. The root selects a saved language, defaulting to English. The landing page uses `/{locale}/`; tools use `/{locale}/{section}/`. Brand links return to the landing page.

```sh
npm run typecheck
npm run lint
npm test
npm run build
```

`npm run build` validates all glossary catalogs, prepares glossary JSON and bundles local fonts, creates a Next.js static export in `out/`, and writes locale-specific HTML `lang`/`dir` attributes. The application needs no database, API key, external model or authentication service. Next.js 16.4.5, React 19.2.6 and Three.js are pinned or lockfile-resolved. Visuals use a custom CSS design system rather than a generic component template.

## Experiences

- **Landing:** localized introduction, purpose statement, three guided starting points, expandable instrument directory and a reflection on customer value. The Three.js capital network has a Canvas fallback and pause control.
- **Terminal:** four default indicators expandable to twelve, a scenario-range chart with keyboard-inspectable points, editorial dispatches and expandable methodology. The global ticker and redundant promotional panels have been removed.
- **Valuation lab:** 13 positioning upgrades, explicit fictional formula, stable real revenue, generated pitch, share links and PNG certificates.
- **Investor translator:** 12 investor statements, 8 reverse translations, direct result links and PNG exports.
- **Pitch deck studio:** six inputs, eight coherent parody slides, presentation controls, editable standalone HTML download, browser print-to-PDF and share cards. User-entered revenue is identified; fictional traction is not asserted as fact.
- **Founder simulator:** persistent local progress, eight decision stages, compounding dilution, burn, customer value, morale, traction and credibility. Seven endings are reachable and automatically tested. Starting runway is six months; funding and spending decisions change survival time.
- **Networking:** an interactive introduction network, gross-profit-based conference ROI, randomized reproducible bingo, printable bingo and PNG exports.
- **Dictionary:** 160 terms across four categories, six fields per entry including accurate definition and clearly separated satire, full translated text, filtering, forgiving search and related links.
- **Museum:** eight overlapping narrative eras, each separating useful technology from marketing theater.
- **Founder diagnostic:** six questions and nine reachable satirical archetypes; no psychological validity is claimed.
- **Confessional:** twelve curated fictional stories. Live submissions are deliberately unavailable and no endpoint exists.
- **Reality check:** an original essay and comparison of startup theater with actual company building.
- **Sources and policy:** primary-source notebook, privacy practices, research cutoff and editorial distinctions.

## Localization

English, Turkish, Spanish, Brazilian Portuguese, French, German, Simplified Mandarin Chinese, Hindi, Arabic, Japanese, Korean, Indonesian, Vietnamese and Russian are implemented. Every interface catalog has the same keys, arrays and interpolation placeholders. The glossary contains all 160 entries in each edition. Arabic uses RTL document and layout direction; exported cards and bingo accommodate RTL. Technical acronyms and proper names remain recognizable.

All editions remain subject to independent native-speaker editorial review. Automated parity and layout checks do not establish linguistic perfection. Turkish has a bespoke editorial pass, localized long-form glossary headings, and tolerant dotted/dotless-I search.

`src/content/en.json` defines the interface schema. Add a locale to `src/lib/config.ts`, provide its full interface and glossary catalogs, and update the build/test locale lists. The build fails if glossary fields or files are missing. No silent English glossary fallback is used.

## Data, privacy and safety

All dashboard data is synthetic. Fictional valuations are intentionally absurd and never financial estimates. The conference calculator states its assumptions, uses gross profit, and shows undefined results for zero denominators. Investor statements are invented, unattributed possible interpretations.

No tracking SDK, advertising pixel, cookies, login or live community database is included. Language preference and game choices use local storage; both can be cleared on the policy page. Inputs and card generation stay on the device. Share destinations open only after a visitor explicitly chooses them. User inputs are escaped in HTML deck downloads; ordinary page content uses React escaping. Inputs have bounds and length limits. Numeric fields retain an empty editing state until blur, monetary inputs accept cents, and count inputs normalize to whole numbers. Routine hosting logs are governed by the host.

Analytics-ready `pre-reality:event` DOM events are local only; no telemetry endpoint receives them. Any future analytics integration needs a separate privacy review.

Security headers are declared in `public/_headers` for hosts that support that file. On other hosts, configure equivalent CSP, `nosniff`, referrer policy, permissions policy and HTTPS headers at the edge. The static export uses inline Next.js bootstrap scripts and therefore permits inline scripts in CSP. No user HTML is accepted. There are no server credentials or secrets in source.

## Vercel deployment

Production project: `pre-reality` in `cagrieralp-5774s-projects`.
Canonical site: `https://hype.databee.net`.

`vercel.json` selects the Other preset (`framework: null`) to serve the Next.js static export from `out`, with security headers and trailing-slash routing. This avoids treating `out` as the internal Next.js build directory. Node.js 24 is pinned in `package.json`. The release is uploaded through the authenticated Vercel API; automatic Git deployments are not configured.

GoDaddy DNS for the `databee.net` zone requires one CNAME record: host `hype`, target `9f315593095e0e6b.vercel-dns-017.com`. Vercel returned that project-specific target. DNS activation and HTTPS must be verified after it is saved. Keep the apex, other subdomains and email records unchanged. No registration transfer or nameserver change is needed.

Future releases can use Vercel CLI from this source tree after account login and project linking, or the authenticated API. Run the checks below before deploying. Source remains backed up in the existing Git repository; `.openai/hosting.json` describes the original Sites host, not the Vercel target.

## Original hosting and portability

This repository is synchronized to the source repository of its Sites project. `.openai/hosting.json` declares `out` as the static artifact directory. Publish the exact built source revision with the Sites workflow. The requested audience is public and requires no login.

For another host, deploy the entire `out/` directory, preserve trailing-slash index routing, serve JSON and WOFF2 correctly, and configure `404.html` as the not-found page. Update `src/lib/config.ts` origin, root metadata, Open Graph metadata and the hosting manifest for a different domain. Do not point a custom domain until ownership and DNS have been configured.

The brand was selected following preliminary web searches. Those searches are not legal trademark clearance, and no custom domain purchase or availability claim is made.

## Verification

Automated tests verify all seven simulator endings and all nine quiz results are reachable, valid state boundaries, deterministic replay, compounded dilution, safe export escaping, ROI formulas and zero denominators, bingo rules and randomization, valuation limits, complete locale schemas and all glossary links/fields.

Browser QA and deployment verification are recorded in `docs/QA.md`. Fonts and the 3D module are local. The heavy Three.js scene is loaded dynamically and pauses when offscreen or reduced motion is enabled. Canvas text output depends on the user's installed fallback fonts for non-Latin scripts.

## Explicit limitations

- Native-speaker translation validation remains pending; no professional review is claimed.
- Live confessional submissions are not enabled. Adding them requires moderation, rate limiting, privacy-conscious retention and abuse protection before release.
- PDF export uses the browser print dialog. A standalone editable HTML deck and PNG cards download directly.
- Numbers on the terminal are scenario values, not an actual live market feed.
- Preliminary name research is not trademark clearance.
- Research is bounded by the 8 November 2026 cutoff and the populations covered by its sources. Country of origin is not a language census.

See `docs/research.md`, `docs/glossary-sources.md`, and the locale review notes for source attribution and editorial cautions.
