Publish an animated guide to the lab on GitLab Pages
What does this MR do and why?
This MR adds a GitLab Pages site for the lab. It is for team members who are new to the platform and start with nothing but Claude Code installed. It covers what the lab is and how to get from nothing to a first working rig.
The site is one page with six sections:
- A rig. What a rig is. Animated.
- Lifecycle. The phases of
up, thendown, the 30-minute idle self-delete and the TTL. Animated. - Bases. A picker with one plain sentence for each base.
- Get started. Sandbox Cloud, then mise, then the preflight loop, then the first
up. The animated transcript uses the realjust lab preflightoutput fromfirst-run.mdandpreflight.sh. - Contribute. One picture of the path from a bug to a merged fix, showing the two points where you say yes. Animated.
- Ask Claude. The install lines and the opening prompt, each with a copy button.
Every animation can be paused. With prefers-reduced-motion, or with the motion switch off, each one shows as a complete static diagram. The site is built with Astro and vanilla JS, with inline SVG and no CDN scripts. It links the public-sector reference design stylesheet the way the other public-sector sites do.
Deploy path
flowchart LR
MR[Merge request] --> check[site-check<br/>astro check + build]
main[Default branch] --> pages[pages job<br/>build to public/]
pages --> live[GitLab Pages<br/>gitlab-com.gitlab.io/public-sector/gitlab-simulation]site-checkruns on merge request pipelines only.pagesruns on the default branch only, and not on schedules.
Screenshots
| Desktop, light | Desktop, dark | Phone, dark |
|---|---|---|
![]() |
![]() |
![]() |
How to set up and validate locally
cd site
npm ci
npm run check
npm run build
npx astro previewOpen http://localhost:4321/public-sector/gitlab-simulation/. Toggle the motion and theme switches, and try a 390 px wide window.
I checked it at 390, 1440 and 2560 px wide in light and dark, with motion on and off. There is no horizontal scroll at 390 px, and the headings hold their wrap at 2560 px.


