The gate decides first, before the site is asked.
VelvetRope runs at the edge, in front of a Staging site. The drawing above is the whole shape of it. Here is what the gate decides for each kind of request, what each state of the page does, who relies on it, and what was tested.

Three paths through the gate
A request comes in, the gate decides before the site is asked, and the visitor meets the rope or the site. Each lane below is one path, drawn as text.
A visitor with no key asks for a page
Comes in
- A browserAsks a Staging address for a page.
At the edge
VelvetRope
- Looks for a key the visitor was already let in with.
- Finds none.
- Answers with the Preview access page instead of the site, marked not to be indexed or cached.
Goes out
- The Preview access pageA padlock, a key field, and an Unlock preview button.
- The Staging siteNot asked, so nothing of it is sent.
A visitor with a key asks for a page
Comes in
- A browserCarries a key it was let in with, or follows a shared preview link.
At the edge
VelvetRope
- Finds an accepted key.
- On a preview link, signs the visitor in and sends them to the same address without the key.
- Completes an address that ends in a folder to the page inside it.
Goes out
- The Staging siteServed from its hosting as if the gate were not there.
A visitor types a key into the page
Comes in
- The Preview access pageAsks the gate whether the typed key is right.
At the edge
VelvetRope
- Answers yes or no, with nothing of the site in the answer.
- On a yes the browser keeps the key for a week and the page reloads.
- On a no the page counts the tries; the third wrong key locks it for ten minutes.
Goes out
- On a yesThe card dissolves and the Staging site loads.
- On a noThe card turns red and says how many tries are left.
- On a third noThe page locks and counts down from ten minutes.
The tools that lean on the gate today
Each of these was checked in its own code, and the tools that are live link to their own pages.
- Narrative
Checks each Staging build through the gate before it reports the build good, and can add the same kind of preview prompt inside a Staging site's own pages.
- Aerie
Shows the access key on every website's card, builds the card's Staging link with it, and opens each Staging site in a real browser, first with no key and then through the link, to prove the gate holds.
- The fleet showcase sites
Each site's Staging stack is generated with the gate attached, so its Staging is gated from the day the stack exists.
What the gate decides
Every request to a Staging address meets the same few questions, in the same order, before any of the site is sent.
A page is told from a file by what the browser says it is fetching, or, when it does not say, by the address: no file ending, or an HTML ending, is a page.
| The request | The answer |
|---|---|
| A page, from a visitor with an accepted key | The site. An address that ends in a folder is completed to the page inside it. |
| A page, with no accepted key | The Preview access page, marked not to be indexed or cached. The site is not asked. |
| A style sheet, script, image, or other file, with no accepted key | An empty refusal. No copy of the page is sent, so the browser's console names the real reason. |
| A shared preview link that carries the key | The visitor is signed in and sent to the same address without the key, so it stays out of the address bar, history, referrer, and analytics. |
| A key typed into the page | A yes or a no, and nothing of the site in either. The page keeps the key only after a yes. |
The states of the page
The Preview access page is one screen with a few states, each a capture on the Tour page.
Under a reduced-motion setting the card does not animate or shake, the mesh is drawn once and held still, and the page reloads after a right key without the long dissolve.
| State | What the visitor sees | What happens next |
|---|---|---|
| First view | A padlock, Preview access, a line saying this is a preview environment, a key field, and an Unlock preview button, over a cool blue mesh. | The key field has focus. Enter or the button sends the key to the gate. |
| A right key | The card dissolves and the word mark fades. | The browser keeps the key for a week and the page reloads into the Staging site. |
| A wrong key | The card and mesh turn red, the card shakes, and the page says Invalid key with 2, then 1, attempts remaining. | The field is selected for the next try. A short low sound plays. |
| Three wrong keys | Locked out, a countdown from ten minutes, and a bar that drains. | Access resumes by itself when the timer ends, and the page reloads. |
Who leans on the gate
The gate is one program for every Staging site, and a few tools are built around it.
- A new Staging site is gated from the start
- A fleet showcase site's Staging stack is generated with the gate attached. The gate is published once; when it changes, each Staging stack is moved onto the new version in its own release.
- A build is checked through the gate
- Narrative goes through the gate as a teammate would before it reports a Staging build good, so a gate that blocks a good build is caught, and so is one that has stopped working.
- The cards carry the key and prove the link
- Aerie shows the access key on every website's card and builds the Staging link with it. Its pass over the cards loads each Staging site in a real browser, once as a visitor with no key, which must meet a gate, and once through the card's link, and flags a card that disagrees with its site.
What was tested
The gate has its own tests, and this site's pictures and accessibility run were made against the same page.
Not tested: no screen reader, no contrast measurement over the moving background, no text size above the default, and no physical phone.
| Check | Result on 11/24/2026 |
|---|---|
| The gate's handler tests | 51 of 51 checks pass, covering the decisions above, the page's size limit, and how the handler behaves when its key list cannot be read. |
| The single-file build's tests | 11 of 11 checks pass: the same cases run against the build the Staging sites use, which must also match the source it was made from. |
| An axe-core scan of the page | No violations in the first view, a wrong-key view, and the lockout view, at 375 and 1,440 pixels wide. axe could not decide two checks: the name on the word mark and color contrast over the moving background. |
| A keyboard and reduced-motion run | 11 of 11 checks pass: focus on the field at load, Enter, Tab, Shift+Tab, the live region, the lockout alert, and no animation under reduced motion. |
Questions about this tool?
Write to Renkara Media Group and a person will answer.