# Static Hosting Export

Use this route when an AI client can browse public URLs but cannot connect to a local MCP server.

## Generate

Run:

```bash
pnpm docs:export-public
```

The FTP-ready output is written to:

```text
public-docs/
```

This directory is generated and ignored by git.

## Upload

Upload the contents of `public-docs/` to a public HTTPS location, for example:

```text
https://example.com/streetlineheroes-docs/
```

Start external AI sessions at:

```text
https://example.com/streetlineheroes-docs/CHATGPT_START_HERE.html
```

## Safety

The export uses the same allowlist as the read-only documentation MCP server:

- `studio/`
- `docs/`
- `production/status/`
- `production/reports/`
- `design/`
- `contracts/`
- `graph/`
- `studio-memory/`
- root project overview files

Denied paths include `.git`, `node_modules`, `dist`, `build`, `.env`, private folders, secrets, tokens, credentials, and raw playtest sessions.

## After Each Sprint

Run the export again and upload the new `public-docs/` contents after documentation or status changes:

```bash
pnpm docs:export-public
```
