# THIS YOU V2.0.2 — Teleport API Adapter

## Goal

Use one Teleport bridge for both:

1. legacy Custom GPT production handoffs;
2. autonomous THIS YOU OpenAI Production Module ZIPs.

## API package routing

Teleport resolves:

- `issue_slug`
- `reader_id`
- `chapter_number`

from `manifest.json`, then resolves the existing Reader → Issue → MagazineInstance → Chapter.

## API package mapping

- `01_product_selection_result.json` → selected products
- `source_evidence.json` → exact-page/price/size verification metadata
- `product_freeze_manifest.json` → frozen visual provenance
- `02_visual_lock_result.json` → Dynamic Visual Locks / identity signature / feature map
- `03_personalization_result.json` → style-page copy and HERO direction snapshot
- `final_hero.*` → MOMENT + STYLE HERO
- `05_fidelity_result.json` → autonomous fidelity snapshot / legacy fidelity status
- original ZIP → ChapterGeneration package history

## Integrity

For API packages Teleport requires:

- `production_state = complete`
- `automation_qa_passed = true`
- final HERO file exists
- `final_hero_sha256` matches when supplied

A mismatch between `input_sha256` and packaged `00_input.json` is currently a warning because the prototype production factory appears to hash a different upstream canonical input representation.

`qa_mode = shadow` is also shown as a prototype warning rather than blocked.

## Human gate

There are no intermediate production approvals in the normal flow.

The final operator gate remains:

`ACTIVATE MAGAZINE`
