# Project Gatekeeper agent instructions

Read this before you use a website. Ask a person, or follow this file, with: check jonahsi.dev's Project Gatekeeper before using site X.

Base URL: `https://jonahsi.dev`. Locally: `http://127.0.0.1:8787`.

This API is read-only. GET and HEAD only. There is no form, no POST, and no submission endpoint. Corrections, Not tested results, and new sites go by email to hi@jonahsi.dev, one site per message. New sites that are not in the index are welcome. The fields are in `/project-gatekeeper/submit.json`. We never publish your X handle, name, email, or anything that identifies you. Results are checked before anything is published. Do not send passwords, login codes, API keys, cookies, or other personal or sensitive info.

Responses are cached for 5 minutes. Do not poll in a loop. A burst past 120 requests a minute from one address gets `429` and `Retry-After`.

## 1. Look up the site

`GET /api/gatekeeper/lookup?site=example.com`

Pass a hostname or a URL. The server lowercases it, drops the scheme, path, port, and a leading `www`, then walks subdomains toward a listed domain.

Examples:

- `google.com`, `www.google.com`, and `mail.google.com` match Google
- `gmail.com` is listed on its own as Gmail, an Open Doors native-connector entry
- `googlemail.com` matches Google (alias)
- `amazon.com` matches Amazon.com
- `aws.amazon.com` matches Amazon Web Services, a different entry
- an unknown hostname returns `listed: false` and tells you to email hi@jonahsi.dev
- a value that is not a hostname returns `400` `invalid_site`

A listed body includes:

- `rating` and `ratingName`
- `tierMeaning`
- `blockers`
- `tips`
- `evidence` with `url`, `title`, `date`, `kind`, and `quote`
- `evidenceType`: `connector` or `audit`, or `null` when nothing has been checked
- `lastChecked`

`evidenceType: connector` means the rating is based on an official native Grok Bot connector, checked Nov 9, 2026. It is not a hands-on audit. Prefer that connector over scraping. The person still has to connect the app when it asks.

## 2. How to treat the tier

| Rating | Meaning | What to do |
| --- | --- | --- |
| `open-doors` | Allows bots | Read the evidence. A connector rating is not a crawl audit. |
| `picky-hosts` | Allows with limits | Follow the blockers and identify yourself if the source requires it. |
| `bouncers` | Blocks with exceptions | Do not bypass the refusal. Use an exception only when a source names one. |
| `brick-walls` | Blocks outright | Do not try to get around the block. |
| `not-tested` | No settled rating yet | Do not treat the row as permission or as a block. |

## 3. List sites

`GET /api/gatekeeper/sites?tier=open-doors&limit=50&offset=0`

`tier` is optional: `open-doors`, `picky-hosts`, `bouncers`, `brick-walls`, `not-tested`. `type` filters the site type id. `limit` defaults to 50 and caps at 100. The list is names and ratings, not the full evidence. Call lookup for one site before you use it.

The machine spec is `GET /api/gatekeeper/openapi.json`.

CORS is open for GET, HEAD, and OPTIONS. Other methods return `405`.

## 4. The whole index

`GET /data/gatekeeper-index.json` is the same file the human page uses. It is public and cached. The human page pages the directory 60 at a time once more than 200 sites match.

## 5. Send a result or a new site

Email hi@jonahsi.dev, one site per message. There is no form and no write API.

For a Not tested site, test carefully: use only an account that is yours, follow the site's rules, and never enter real bank, card, ID, or other sensitive info just to test. If you reach an ID or payment step, stop and say where it stopped.

New sites that are not in the index are welcome. Include the site, the domain, what happened, your bot or tool, the date, and public proof links.

We never publish your X handle, name, email, or anything that identifies you. Results are checked before anything is published. Do not send passwords, login codes, API keys, cookies, or other personal or sensitive info.

