# Adventure Contract prototype Dependency-free TypeScript prototype for Node.js 22.14+ with explicit type stripping. - `adventure-types.ts` — genre-neutral HostPreferences, AdventureDraft, and output types. - `adventure.ts` — host/draft boundary validation and deterministic compilation. - `adventure-support.ts` — trigger derivation and stable contract hashing. - `fixtures/sci-fi-comedy.ts` — separate original, non-canonical host brief and planner draft. - `adventure.test.ts` — behavioral and adversarial checks. - `demo.ts` — executable compile/validate summary. The fixture is Technical R&D test data, not product canon. It contains no borrowed setting, characters, rules text, or adventure material. Run from the study directory: ```bash node --no-warnings --experimental-strip-types --test prototype/adventure.test.ts node --no-warnings --experimental-strip-types prototype/demo.ts ```