Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Publish the minimal Harness OS page and latest OS download link (#759)

Dee36b789460ed1
diff --git a/website/README.md b/website/README.md
index 0793dc73a..398a9c6a8 100644
--- a/website/README.md
+++ b/website/README.md
@@ -14,6 +14,7 @@ retired; only the host routes below were kept.
| `/download` (and `/install` → it) | Install page: CLI command and desktop downloads |
| `/pair` | Phone setup guidance — the mobile app and the desktop "add phone" dialog link here |
| `/os` | The Harness operating system landing page: plain HTML/CSS, local fonts and screenshots in `public/os/` |
+| `/os/latest` | Redirect to the newest complete published OS release; OS tags only, stable preferred, five-minute server lookup cache |
| `/desktop` | Desktop download page |
| `/desktop/download-macos`, `/desktop/download/linux-{x64,arm64}` | Redirect to the latest build in the desktop manifest |
| `/flash-circle.sh` | The dial firmware flasher script |
diff --git a/website/next.config.js b/website/next.config.js
index 6038d40c5..2f424aa1e 100644
--- a/website/next.config.js
+++ b/website/next.config.js
@@ -85,6 +85,11 @@ module.exports = {
// Keep the standalone page intact: CDN analytics must not inject JavaScript.
headers: [{ key: 'Cache-Control', value: 'no-store, no-transform' }],
})),
+ {
+ source: '/os/latest',
+ // Cache the GitHub lookup on the server, never the release redirect in a browser or CDN.
+ headers: [{ key: 'Cache-Control', value: 'no-store, max-age=0' }],
+ },
{
source: '/harness-web/:path*',
headers: [
diff --git a/website/public/os/README.md b/website/public/os/README.md
index d526f0c85..73f4ae4ff 100644
--- a/website/public/os/README.md
+++ b/website/public/os/README.md
@@ -1,9 +1,13 @@
-# Harness landing page
+# Harness OS landing page
-A standalone page: HTML, CSS, local fonts, and four real screenshots. No JavaScript,
-framework, package installation, analytics, or page build step. It is served at
-<https://harness.autonomous.ai/os> by the existing website host, separately from
-the OS image. `os/site` is a compatibility symlink to this directory.
+A single-screen hero: Harness, the headline, Install, Open Source, and one
+animated OS illustration, followed by two short sections about the agent interface
+and measured system footprint. Plain HTML/CSS and a small vanilla JavaScript timeline;
+no framework, analytics, remote fonts, backend, or build step. An actual OS
+screenshot remains the fallback when JavaScript is unavailable.
+
+Production deployment was explicitly authorized after local review. Use the
+website-only release path to retain the currently deployed app bundle.
From the repository root:
@@ -11,96 +15,81 @@ From the repository root:
python3 -m http.server 18092 --bind 127.0.0.1 --directory website/public
```
-Open `http://127.0.0.1:18092/os/`. The HTML base is `/os/`, so assets and in-page
-links resolve under the same path with or without a trailing slash. The website's
-`/os` rewrite serves this file directly without adding JavaScript. Release through
-the [website pipeline](../../README.md#releasing).
-
-The HTML responses include `Cache-Control: no-store, no-transform`. The latter
-keeps Cloudflare's automatic Web Analytics injection out of this standalone page;
-see its [setup documentation](https://developers.cloudflare.com/web-analytics/get-started/).
-Verify the public HTML bytes after rollout as well as the origin's local routes.
-
-## Content and assets
-
-- The central narrative is **“Agents are the new apps.”** Conversation directs the
- work; terminal output, diffs, tests, and an optional browser make it inspectable.
- Follow the [Naming System](../../../docs/naming-system.md): Harness is the product,
- programmers are the first audience, and owning Autonomous hardware is optional.
-- The page walks through installation, encrypted boot, and working with agents.
- Keep shipped behavior and future hardware support distinct. Ordinary Harness
- on macOS or another Linux distribution does not show the OS installation UI.
-- Download links target `os-v0.1.0-preview.6`. Update the
- version, measurements, evidence links, and screenshots together for a release.
-- `assets/hn.png` is the actual installed hn home (`04-installed-hn.png`) from
- the encrypted UEFI journey in final image validation run
- [37149350400](https://github.com/autonomous-ai/openharness/actions/runs/37149350400),
- source `3c15fe540de02db8a3b37d565ce8b4001b872779`.
-- `assets/install.png` and `assets/unlock.png` are unmodified screenshots from the
- encrypted UEFI journey in that run: `01b-direct-install-offline.png` and
- `disk-unlock-2-masked.png`. Passwords are masked. Images link to their full size.
-- `assets/signal-run.png` is actual project output from the preview 6 workload
- [layout repair and acceptance run](https://github.com/autonomous-ai/openharness/actions/runs/37156180888).
- It loads lazily inside the existing native HTML disclosure.
-- Footprint, installation and boot measurements cover the exact preview 6 ISO
- (`efa4e740989770ef7fa40e259f4055d670c5531fcecdf4fcf23f1ae31bb8d380`)
- in 2-vCPU, 1-GiB VMs booted from virtual USB. BIOS/plain installation took
- 36.290 seconds; UEFI/encrypted took 69.347 seconds. The displayed range rounds
- those up. Six settled samples with agents/browser closed measured
- 367.90–395.57 MiB, using total memory minus available memory. BIOS readiness
- was 16.228 seconds including test login. The UEFI password prompt appeared at
- 6.046 seconds; readiness followed the correct password submission by 8.436
- seconds. The deliberate 100-second wait and wrong-password retry are excluded
- from that post-password interval. These are CI VM observations.
-- Preview 6's four projects came from fresh OpenCode turns in
- [37154010202](https://github.com/autonomous-ai/openharness/actions/runs/37154010202).
- All 33 unit tests passed, but its game checker incorrectly required the controls
- to be HTML text. That failed run is retained. Corrected checks in
- [37155632007](https://github.com/autonomous-ai/openharness/actions/runs/37155632007)
- passed without another model turn. Visual review then caught a clipped help
- sentence; the linked repair run asks the agent to fix it and reruns acceptance.
- Its first BIOS job failed downloading a GitHub artifact before boot; only that
- job was retried. No uninterrupted passing suite is implied.
- [Three fresh harness/viewer exercises](https://github.com/autonomous-ai/openharness/actions/runs/37154011980)
- cover the same image. `harness-examples-preview6.zip` retains project source,
- screenshots and provenance separately from the immutable ISO and its original
- `validation.json`. Check its accompanying SHA-256 before linking a new bundle.
-- The preview 4 ThinkPad install/boot/use success is a user report from October 3,
- 2026, not a measured hardware benchmark. Wi-Fi, suspend, Mac, and NVIDIA claims
- require their own hardware evidence.
-- Preview 5 introduced separate hn/CLI and system update channels. The preview 6
- package passed native upgrade, runtime/channel and encrypted reboot acceptance
- from both [preview 4](https://github.com/autonomous-ai/openharness/actions/runs/37149349981)
- and [preview 5](https://github.com/autonomous-ai/openharness/actions/runs/37149350324).
- The latter supplies the canonical 7.1 MB bootstrap download. The uncompressed
- package archives match exactly; only gzip timestamps differ between runs.
- Publish the ISO and update feed before deploying links to them.
-- Selected BCM4331/BCM4360 Wi-Fi preparation passed an actual encrypted offline
- installation, signed package installation, module load, and offline rebuild in
- the final image's hardware job. Only PCI selection was substituted; no physical
- radio association or Mac suspend is inferred. Other machines retain neither
- the optional packages nor the USB cache.
-- Older Intel Macs without T2 and with 64-bit EFI remain experimental. Actual
- Core 2 TCG instruction emulation boots hn; OpenCode exits with SIGILL. The
- candidate Try action's CPU explanation, return, and terminal input passed
- with only the OS command overlaid on a checksum-verified preview 4 image.
-- [4 GiB USB journeys](https://github.com/autonomous-ai/openharness/actions/runs/37150118908)
- passed automatic RAM copying, protected USB selection, installation, recovery,
- and agent use on this same final ISO.
-- Geist and Geist Mono are the repository's existing fonts, converted to WOFF.
- Their SIL Open Font License is included in `assets/OFL.txt`.
-- The prompt mark is a small local SVG. There are no remote asset requests.
+Open `http://127.0.0.1:18092/os/`. The existing website host serves the same static
+page at `/os`; `os/site` is a compatibility symlink. The `<base href="/os/">`
+keeps assets correct with either entry URL. Hosting and cache-header verification
+belong to the [website release process](../../README.md#releasing).
+
+## Content
+
+Use the user-approved headline: **The operating system built by agents, for agents**.
+The title, metadata and demonstration describe the operating system, not the terminal
+application. Follow the [Naming System](../../../docs/naming-system.md).
+
+Install opens `https://harness.autonomous.ai/os/latest`, a small redirect in the
+existing website host. It reads public GitHub releases, filters complete OS
+releases, and compares version numbers. Stable is preferred once available;
+until then it selects the highest numbered preview. Drafts and desktop/CLI
+releases are excluded. The lookup is cached server-side for five minutes; the
+browser redirect is never cached. Future OS publications need no page deploy
+and this website deployment publishes no OS or runtime.
+
+Open Source opens `openharness/tree/main/os`. Neither action implies native
+Apple Silicon or T2 support.
+
+The design uses the local Geist Mono font with one font size and line height per
+breakpoint. Spacing uses character widths and text rows. The OS screen fits the
+remaining viewport without cropping; the column narrows on shorter screens so
+its left and right edges stay aligned with the content. There are two text rows
+between the brand and headline, one before the actions, and two before the image.
+The additional sections retain the same typography and column edges. The stylesheet URL carries its content
+hash so a refresh cannot reuse styling from the previous long page.
+Tiny viewports at extreme text zoom may scroll so content is never inaccessible.
+
+The metrics describe the currently published preview 13, explicitly labeled as
+VM measurements. Run `37255459559` measured an encrypted UEFI, 1 GiB Nehalem VM:
+17.990 seconds from boot to Harness readiness including automated unlock/login,
+660.88 MiB median idle RAM with OpenCode and two terminals (43.95 MiB swap), and
+2,187,739,136 bytes of installed disk usage. The page rounds these to 18 s,
+661 MiB, 44 MiB swap, and 2.04 GiB. This run did not time installation, so the
+page says installation works offline without inventing a duration. Do not
+substitute the smaller terminal-only memory measurement or call these physical
+hardware timings. Image SHA-256:
+`4471d91e456a632952eced4ccb843f3bf47df944f385d677833b53b04ce4899e`.
+Refresh all figures and their evidence links together when the measured image changes.
+
+## Animation
+
+`demo.js` runs a scripted illustration: startup, three agents working, Super+b to
+a local project preview, then back to Harness. It does not run agents, launch a
+browser, execute code or make network requests. The example output is illustrative,
+not recorded test evidence or a boot-speed measurement. The illustrated agents
+do not imply that every engine is bundled with the image.
+
+The control in the screen corner pauses or plays the sequence. Reduced-motion
+preferences start with a static completed workspace; hidden tabs stop the timer.
+The HTML remains usable if the script does not load. Both CSS and JavaScript URLs
+carry content hashes; update them when those files change.
+
+## Screenshot provenance
+
+`assets/workspace.png` is an unmodified 1280 × 800 QEMU capture from the actual
+installed OS: `01d-bundled-opencode.png` in the encrypted UEFI final-image evidence
+under `os/work/install-cleanup/first-use/install-first/nvidia-install/final-image/`.
+It shows the agent and two terminals. It is not an illustration or a hardware
+compatibility claim. The source receipt is retained beside the original capture.
+
+The bundled font's SIL Open Font License remains in `assets/OFL.txt`. The older
+screenshots remain available for historical references but are not loaded by
+this page.
## Validation
-Check local asset paths, image dimensions, heading/fragment targets, font loading,
-and the release's download names. Visually inspect desktop and narrow screens;
-use the keyboard to reach every link and toggle the disclosures. Confirm that
-no content overflows at 320 px, 390 px, 768 px, and desktop widths.
-
-The user reviewed and approved the prior page design on October 3. This revision
-updates copy, measurements and unmodified VM screenshots without changing CSS.
-The final OS screenshots were visually inspected. Browser Use still rejects the
-local page because of the saved permission for `127.0.0.1:18092`; responsive
-widths and keyboard interaction remain unverified for this revision. Record
-static asset checks and the website CI build/route results in the PR.
+Check desktop, laptop and mobile viewports, the complete OS screen, keyboard
+focus, the pause control, reduced motion, local assets, and destination URLs. There should be no
+horizontal overflow at normal browser zoom; the hero fits one fold and the two
+sections below it scroll normally. Record local results in
+the ignored `.harness/validation/os-one-screen/` folder. Before an authorized
+production rollout, use `website/scripts/check-os-site.mjs` against the actual
+website host to verify routes, bytes and cache headers; the simple Python preview
+does not emulate production headers.
diff --git a/website/public/os/assets/workspace.png b/website/public/os/assets/workspace.png
new file mode 100644
index 000000000..60a9452c5
Binary files /dev/null and b/website/public/os/assets/workspace.png differ
diff --git a/website/public/os/demo.js b/website/public/os/demo.js
new file mode 100644
index 000000000..89bdb8d49
--- /dev/null
+++ b/website/public/os/demo.js
@@ -0,0 +1,77 @@
+/* A scripted product illustration. No framework, network requests, or live agent. */
+(() => {
+ 'use strict';
+ const demo = document.querySelector('#os-demo');
+ const poster = document.querySelector('#demo-poster');
+ const button = document.querySelector('#demo-motion');
+ const shortcut = document.querySelector('#demo-shortcut');
+ if (!demo || !poster || !button || !shortcut) return;
+
+ const motion = window.matchMedia('(prefers-reduced-motion: reduce)');
+ const typed = [...demo.querySelectorAll('[data-type]')].map(node => ({
+ node, text: node.textContent, start: Number(node.dataset.type),
+ speed: Number(node.dataset.speed), count: -1,
+ }));
+ const lines = [...demo.querySelectorAll('[data-at]')];
+ const carets = [...demo.querySelectorAll('[data-caret]')];
+ let elapsed = motion.matches ? 10000 : 0;
+ let playing = !motion.matches;
+ let previous = performance.now();
+ let timer;
+
+ function render() {
+ const scene = elapsed < 1200 ? 'boot' : elapsed >= 11900 && elapsed < 17100 ? 'browser' : 'work';
+ if (demo.dataset.scene !== scene) demo.dataset.scene = scene;
+ for (const item of typed) {
+ const count = Math.max(0, Math.min(item.text.length, Math.floor((elapsed - item.start) / item.speed)));
+ if (item.count !== count) {
+ item.node.textContent = item.text.slice(0, count);
+ item.count = count;
+ }
+ }
+ for (const node of lines) node.classList.toggle('visible', elapsed >= Number(node.dataset.at));
+ for (const node of carets) {
+ const [start, end] = node.dataset.caret.split(':').map(Number);
+ node.classList.toggle('caret-active', elapsed >= start && elapsed < end);
+ }
+ shortcut.hidden = !(elapsed >= 10800 && elapsed < 12600 || elapsed >= 16000 && elapsed < 17800);
+ demo.classList.toggle('motion-paused', !playing || document.hidden);
+ const label = playing ? 'Pause animation' : 'Play animation';
+ button.textContent = playing ? 'Ⅱ' : '▶';
+ button.setAttribute('aria-label', label);
+ button.title = label;
+ }
+
+ function tick() {
+ const now = performance.now();
+ elapsed += Math.min(now - previous, 160);
+ previous = now;
+ // Only the first cycle boots. Subsequent cycles return to the workspace.
+ if (elapsed >= 23000) elapsed = 1400;
+ render();
+ timer = window.setTimeout(tick, 50);
+ }
+
+ function schedule() {
+ window.clearTimeout(timer);
+ render();
+ if (playing && !document.hidden) {
+ previous = performance.now();
+ timer = window.setTimeout(tick, 50);
+ }
+ }
+
+ button.addEventListener('click', () => {
+ playing = !playing;
+ schedule();
+ });
+ document.addEventListener('visibilitychange', schedule);
+ motion.addEventListener('change', () => {
+ playing = !motion.matches;
+ if (motion.matches) elapsed = 10000;
+ schedule();
+ });
+ demo.hidden = false;
+ poster.hidden = true;
+ schedule();
+})();
diff --git a/website/public/os/index.html b/website/public/os/index.html
index 6f1b34698..31b819e41 100644
--- a/website/public/os/index.html
+++ b/website/public/os/index.html
@@ -5,172 +5,125 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="/os/">
<link rel="canonical" href="https://harness.autonomous.ai/os">
- <meta name="theme-color" content="#f7f7f2">
- <meta name="description" content="Agents are the new apps. Harness is an operating system built around agents: chat in the terminal, review the work, open a browser when you need it. Built for programmers first.">
- <meta property="og:title" content="Harness — Agents are the new apps.">
- <meta property="og:description" content="An operating system built around agents. Your terminal. Your agents. A browser when you need it. Built for programmers first.">
+ <meta name="theme-color" content="#11110f">
+ <meta name="description" content="Harness. The operating system built by agents, for agents. An open-source Linux operating system that boots straight into your agents.">
+ <meta property="og:title" content="Harness — The operating system built by agents, for agents">
+ <meta property="og:description" content="An open-source Linux operating system that boots straight into your agents.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://harness.autonomous.ai/os">
- <title>Harness — Agents are the new apps.</title>
+ <title>Harness — The operating system built by agents, for agents</title>
<link rel="icon" href="assets/mark.svg" type="image/svg+xml">
- <link rel="preload" href="assets/geist-semibold.woff" as="font" type="font/woff" crossorigin>
- <link rel="stylesheet" href="style.css">
+ <link rel="preload" href="assets/geist-mono.woff" as="font" type="font/woff" crossorigin>
+ <link rel="stylesheet" href="style.css?v=6680fc59d052">
+ <script src="demo.js?v=5aa0cbec5e22" defer></script>
</head>
<body>
- <a class="skip" href="#main">Skip to content</a>
+ <main>
<div class="page">
- <header class="header">
- <a class="wordmark" href="#" aria-label="Harness home"><span class="mark" aria-hidden="true">hn<span>_</span></span>harness</a>
- <nav aria-label="Main navigation">
- <a href="#how">How it works</a>
- <a href="https://github.com/autonomous-ai/openharness/tree/main/os">Source <span aria-hidden="true">↗</span></a>
- <a href="#install">Install <span aria-hidden="true">↓</span></a>
+ <header class="brand">Harness<span aria-hidden="true">_</span></header>
+ <section class="intro" aria-labelledby="headline">
+ <h1 id="headline">The operating system<br>built by agents, for agents</h1>
+ <nav class="actions" aria-label="Get Harness">
+ <a class="install" href="https://harness.autonomous.ai/os/latest" aria-label="Install Harness — downloads and instructions">[ Install <span aria-hidden="true">↓</span> ]</a>
+ <a class="source" href="https://github.com/autonomous-ai/openharness/tree/main/os">[ Open Source <span aria-hidden="true">↗</span> ]</a>
</nav>
- </header>
-
- <main id="main">
- <section class="hero" aria-labelledby="headline">
- <p class="eyebrow">An operating system built around agents <span class="edition">Preview 6</span></p>
- <div class="hero-grid">
- <h1 id="headline">Agents are<br>the new apps<span class="period">.</span></h1>
- <div class="hero-copy">
- <p class="lead">Turn on your computer.<br>Tell it what to build.</p>
- <p>Harness boots into a place to work with agents. Describe the task. Let them use the tools. Review what they make, right in the terminal.</p>
- <p>A browser when the work needs one.<br>Built for programmers first.</p>
- </div>
- </div>
- <div class="hero-actions">
- <a class="button" href="https://github.com/autonomous-ai/openharness/releases/download/os-v0.1.0-preview.6/harness-0.1.0-preview.6-x86_64.iso">Download the ISO <span aria-hidden="true">↓</span></a>
- <a class="text-link" href="https://github.com/autonomous-ai/openharness/releases/tag/os-v0.1.0-preview.6">Release notes <span aria-hidden="true">↗</span></a>
- <span class="download-meta">x86-64 · 1.63 GiB · Open source</span>
- </div>
- </section>
-
- <figure class="screen">
- <a href="assets/hn.png" aria-label="Open the Harness home screenshot at full size">
- <img src="assets/hn.png" width="1280" height="800" alt="Harness running fullscreen, with shortcuts to start OpenCode, open a terminal, or connect to Wi-Fi." fetchpriority="high">
- </a>
- <figcaption><span>The whole desktop.</span><span>Actual preview 6 screenshot. Keyboard first.</span></figcaption>
- </figure>
-
- <section id="how" class="section workflow" aria-labelledby="workflow-title">
- <div class="section-intro">
- <p class="eyebrow">Conversation is the interface</p>
- <h2 id="workflow-title">There’s an agent<br>for that.</h2>
- <p>Build a backend. Fix a bug. Make a game. The starting point is a conversation. Code, commands, diffs, and tests make the work visible.</p>
- </div>
- <ol class="steps">
- <li><span class="step-number">01</span><div><h3>Your agents, in their own panes.</h3><p>Claude Code, Codex, OpenCode, or pi. Press <kbd>Ctrl</kbd> + <kbd>B</kbd>, then <kbd>Shift</kbd> + <kbd>N</kbd> to start one. Keep several conversations going and move between them from the keyboard.</p></div></li>
- <li><span class="step-number">02</span><div><h3>Ask. Build. Review.</h3><p>Have the agent set up the tools your project needs. Read the changes. Run the tests. Keep going. Want to enter a command yourself? New terminal opens a shell immediately.</p></div></li>
- <li><span class="step-number">03</span><div><h3>A browser, when it helps.</h3><p>Most work can be reviewed in the terminal. For a website, a game, or a visual viewer, <kbd>Super</kbd> + <kbd>B</kbd> opens Chromium or switches back to Harness. The browser stays closed until you ask.</p></div></li>
- </ol>
- </section>
-
- <section class="section first-boot" aria-labelledby="first-boot-title">
- <div class="section-heading">
- <div><p class="eyebrow">The whole OS experience</p><h2 id="first-boot-title">Install. Boot. Work.</h2></div>
- <p class="section-caption">A few choices up front.<br>Then straight into Harness.</p>
- </div>
- <div class="journey">
- <figure>
- <a href="assets/install.png" aria-label="Open the actual Harness installer screenshot at full size"><img src="assets/install.png" width="1280" height="800" loading="lazy" alt="Install Harness with four fields: Disk, Encryption, Password, Repeat password. An Install button and a notice that all data on the selected disk will be erased."></a>
- <figcaption><h3><span class="step-number">01</span> Install from USB.</h3><p>Press Enter on the welcome screen. Choose a disk, keep encryption on or turn it off, enter your password twice, and install. It works offline.</p><p class="caption-note">Want to try first? Press T. Connect to Wi-Fi if needed, then start the bundled OpenCode with its default settings.</p></figcaption>
- </figure>
- <figure>
- <a href="assets/unlock.png" aria-label="Open the actual Harness disk unlock screenshot at full size"><img src="assets/unlock.png" width="1280" height="800" loading="lazy" alt="A yellow ASCII Harness wordmark above Enter your password, with the entered password masked."></a>
- <figcaption><h3><span class="step-number">02</span> Unlock. Start making.</h3><p>Remove the USB and boot your computer. On an encrypted install, enter your password to open Harness. Your account is already <code>me@harness</code>.</p><p class="caption-note">Start OpenCode, choose another agent, or open a terminal. OpenCode is included; other agents install when selected. Their accounts and model usage are yours.</p></figcaption>
- </figure>
+ </section>
+ <figure class="screen">
+ <img id="demo-poster" src="assets/workspace.png" width="1280" height="800" fetchpriority="high" alt="The Harness operating system: OpenCode in the left pane, two terminals on the right, and a single tab bar along the bottom.">
+ <div id="os-demo" class="os-demo" data-scene="boot" role="group" aria-label="Animated demonstration of Harness: boot into agents, build a project, preview it in the browser, and return to work. This is an illustration, not a live session." hidden>
+ <div class="demo-boot" aria-hidden="true">
+ <pre>█ █ ▄▀█ █▀█ █▄ █ █▀▀ █▀ █▀
+█▀█ █▀█ █▀▄ █ ▀█ ██▄ ▄█ ▄█</pre>
+ <p>Starting your workspace<span class="cursor">▋</span></p>
</div>
- <p class="journey-note">Real screens from preview 6. Installation erases the entire selected disk. <a href="#install">Read the installation guide below.</a></p>
- </section>
-
- <section class="section philosophy" aria-labelledby="philosophy-title">
- <p class="eyebrow">Built by subtraction</p>
- <div class="philosophy-grid">
- <h2 id="philosophy-title">No panels.<br>No wallpaper.<br>No ceremony.</h2>
- <div class="prose">
- <p>A terminal for the conversation. A browser for work that needs a visual surface. The rest starts with what you ask an agent to do.</p>
- <p>Underneath is ordinary Arch Linux: the LTS kernel, a package manager, your files, and administrator access. Compilers, databases, containers—install what the project calls for. Your agents can handle the setup.</p>
- <p>Wi-Fi, audio, clipboard, screen locking, and recovery are included. Minimal still has to be a working computer.</p>
+ <div class="demo-workspace" aria-hidden="true">
+ <div class="demo-panes">
+ <section class="pane pane-main">
+ <header class="pane-title"><span>OpenCode · website</span><span>~/projects/orbit</span></header>
+ <div class="terminal-content">
+ <p class="agent-name">OpenCode</p>
+ <p class="prompt">› <span data-type="1600" data-speed="31">Build a landing page for our space game.</span><span class="cursor" data-caret="1600:3100">▋</span></p>
+ <p class="terminal-line muted" data-at="3400">Reading the project…</p>
+ <p class="terminal-line" data-at="4300"><span class="muted">→</span> Create index.html</p>
+ <p class="terminal-line" data-at="5300"><span class="muted">→</span> Create style.css</p>
+ <p class="terminal-line" data-at="6500"><span class="muted">→</span> Start the local preview</p>
+ <p class="terminal-line success" data-at="8200">✓ Your page is ready.</p>
+ <p class="terminal-line" data-at="8500">http://localhost:3000</p>
+ <p class="prompt follow-up" data-at="9000">› <span class="cursor">▋</span></p>
+ </div>
+ </section>
+ <section class="pane pane-upper">
+ <header class="pane-title"><span>Codex · game</span></header>
+ <div class="terminal-content">
+ <p class="prompt">› <span data-type="2700" data-speed="35">Add keyboard controls.</span><span class="cursor" data-caret="2700:3600">▋</span></p>
+ <p class="terminal-line muted" data-at="4600">Reading game.js…</p>
+ <p class="terminal-line" data-at="6000">Edited controls.js</p>
+ <p class="terminal-line" data-at="7300">Running tests…</p>
+ <p class="terminal-line success" data-at="9100">✓ Controls work. Tests pass.</p>
+ </div>
+ </section>
+ <section class="pane pane-lower">
+ <header class="pane-title"><span>Claude Code · docs</span></header>
+ <div class="terminal-content">
+ <p class="prompt">› <span data-type="3800" data-speed="35">Write the setup guide.</span><span class="cursor" data-caret="3800:4700">▋</span></p>
+ <p class="terminal-line muted" data-at="5500">Reading the project…</p>
+ <p class="terminal-line" data-at="7200">Writing README.md</p>
+ <p class="terminal-line success" data-at="9400">✓ Ready for the next developer.</p>
+ </div>
+ </section>
</div>
+ <div class="demo-status"><span><b>0:orbit*</b> 1:api 2:notes</span><span>harness</span></div>
</div>
- <p class="stack"><span>Under the surface</span> Arch Linux <span aria-hidden="true">/</span> labwc <span aria-hidden="true">/</span> foot <span aria-hidden="true">/</span> hn <span aria-hidden="true">/</span> Chromium</p>
- </section>
-
- <section class="section measurements" aria-labelledby="measurements-title">
- <div class="section-heading"><h2 id="measurements-title">Small. Measured.</h2><a class="text-link" href="https://github.com/autonomous-ai/openharness/releases/download/os-v0.1.0-preview.6/validation.json">Read the evidence <span aria-hidden="true">↗</span></a></div>
- <dl class="numbers">
- <div><dt>ISO download</dt><dd>1.63<span>GiB</span></dd></div>
- <div><dt>Settled idle memory</dt><dd>~390<span>MiB</span></dd></div>
- <div><dt>Offline VM installation</dt><dd>37–70<span>sec</span></dd></div>
- </dl>
- <p class="measurement-note">Preview 6 measurements in 2-vCPU, 1-GiB x86 VMs installed from virtual USB. Idle memory is with agents and browser closed. Installation took 37 seconds without encryption and 70 seconds with encryption, excluding the download and answering prompts. Physical hardware will differ.</p>
- <details>
- <summary>What has actually been tested? <span aria-hidden="true">+</span></summary>
- <div class="details-content">
- <p>The keyboard installer, BIOS and UEFI USB boot, automatic RAM-image detection, offline installation, encrypted disks, wrong-password retry, clipboard, browser switching, update retry, and recovery that preserves projects. This image passed at 1 GiB RAM and in 4 GiB USB copy-to-RAM mode, including a real first agent conversation typed through the keyboard. Separate update tests preserve a running OpenCode agent and terminal through hn and CLI activation, failed-start recovery, and rollback.</p>
- <p>Installed BIOS boot reached Harness readiness in 16.2 seconds, including automated login. Encrypted boot showed the password prompt in 6.0 seconds and reached Harness 8.4 seconds after the correct password was submitted. Settled idle memory was 368–396 MiB. These are VM observations, not physical power-on benchmarks.</p>
- <p>Inside preview 6, OpenCode agents built a Python CLI, a website, a keyboard game, and a Fastify/SQLite app. Their 33 unit tests and independent browser/API checks passed, along with three harness exercises using the shared viewers. Download their source, screenshots, and exact test history separately.</p>
- <p>A user has now reported a successful preview 4 installation, boot, and use on their ThinkPad. This is a user report, without measured hardware timings. Selected Broadcom drivers also passed offline installation and rebuilding in a VM. Physical Wi-Fi, suspend, Intel Mac support, and NVIDIA workloads still need model-specific validation.</p>
- <a class="text-link" href="https://github.com/autonomous-ai/openharness/releases/download/os-v0.1.0-preview.6/harness-examples-preview6.zip">Download the projects and harness examples <span aria-hidden="true">↓</span></a>
+ <div class="demo-browser" aria-hidden="true">
+ <div class="browser-toolbar"><span>← → ↻</span><span class="address">localhost:3000</span></div>
+ <div class="orbit-page">
+ <header><span>ORBIT</span><span>A small game. A big universe.</span></header>
+ <div class="orbit-hero">
+ <pre> . +
+ + . .
+ /\
+ . / \ .
+ | () | +
+ /| |\
+ /_|____|_\
+ /\/\
+ . : : .</pre>
+ <p>One more adventure.</p>
+ <span class="orbit-play">[ Play Orbit → ]</span>
+ </div>
+ <footer>← → move · space to launch</footer>
</div>
- </details>
- <details class="project-example">
- <summary>See a game built inside the OS. <span aria-hidden="true">+</span></summary>
- <div class="details-content">
- <img src="assets/signal-run.png" width="1280" height="800" loading="lazy" alt="Signal Run, a keyboard-controlled canvas game built by a real OpenCode agent inside Harness. The complete board and control legend fit on screen.">
- <p>Signal Run. Built with HTML, CSS, and JavaScript by OpenCode inside preview 6. Tested with the keyboard at two laptop resolutions. This is project output, separate from the system image.</p>
- </div>
- </details>
- </section>
-
- <section id="install" class="section install" aria-labelledby="install-title">
- <div class="section-intro">
- <p class="eyebrow">0.1.0-preview.6</p>
- <h2 id="install-title">Give it a machine.<br>Make something.</h2>
- <p>An x86-64 Intel or AMD PC with SSE4.2 for OpenCode. Start with 2 GiB RAM and a spare disk of at least 12 GiB. Secure Boot off. A disposable x86 VM works too.</p>
- <a class="text-link" href="https://github.com/autonomous-ai/openharness/releases/download/os-v0.1.0-preview.6/INSTALL.md">USB installation guide <span aria-hidden="true">↗</span></a>
- </div>
- <div class="install-copy">
- <ol>
- <li>Download the ISO and <a href="https://github.com/autonomous-ai/openharness/releases/download/os-v0.1.0-preview.6/harness-0.1.0-preview.6-x86_64.iso.sha256">verify its checksum</a>.</li>
- <li>Write the whole image to a USB stick and boot it.</li>
- <li>Press <kbd>Enter</kbd> on the welcome screen to install.</li>
- </ol>
- <p class="install-notice"><strong>The installer erases the entire selected disk.</strong> It does not resize an existing OS. Back up that disk first. Encryption is on by default.</p>
- <p class="install-note">Choose your disk, set encryption, and enter your password twice. Choose Install to erase that disk and begin. There is no second confirmation. Your account is <code>me@harness</code>.</p>
- <a class="button" href="https://github.com/autonomous-ai/openharness/releases/download/os-v0.1.0-preview.6/harness-0.1.0-preview.6-x86_64.iso">Download the ISO <span aria-hidden="true">↓</span></a>
</div>
- </section>
-
- <section class="practical" aria-label="Hardware and updates">
- <details>
- <summary>Can I install it on a Mac or an NVIDIA machine? <span aria-hidden="true">+</span></summary>
- <div class="details-content">
- <p>The current image targets x86-64 PCs. Older Intel Macs with 64-bit EFI and no T2 chip are an experimental target: hold Option at startup, choose EFI Boot, and try Harness before installing. The USB includes offline Wi-Fi drivers for selected BCM4331 and BCM4360 radios; ordinary installations keep those extra packages only when needed. Physical Mac testing is still required.</p>
- <p>Core 2 CPUs cannot run bundled OpenCode; Harness explains this before trial setup and leaves the terminal available. T2 Macs, Apple Silicon, and Raspberry Pi need separate hardware work. NVIDIA desktops with RTX 4090 and 5090 cards are next. This preview does not promise local models out of the box.</p>
- <a class="text-link" href="https://github.com/autonomous-ai/openharness/blob/main/os/DEVELOPMENT.md#mac-support-targets">Hardware roadmap <span aria-hidden="true">↗</span></a>
- </div>
- </details>
- <details>
- <summary>Already installed? Update without flashing again. <span aria-hidden="true">+</span></summary>
- <div class="details-content">
- <p>Harness prepares hn and CLI updates automatically. A small notice appears when one is ready. Press <kbd>Super</kbd> + <kbd>U</kbd>, then Enter to apply it. The screen reconnects; your running agents, terminals, and tabs stay with you.</p>
- <p>System updates live in the same screen, with a recovery checkpoint and a restart when you are ready. On preview 5, use Updates to get preview 6. Still on preview 4? Apply the 7.1 MB bootstrap bundle once to get this update path. Routine updates do not require another USB flash.</p>
- <a class="text-link" href="https://github.com/autonomous-ai/openharness/releases/tag/os-v0.1.0-preview.6">Update instructions and verified download <span aria-hidden="true">↗</span></a>
- </div>
- </details>
- <details>
- <summary>Do I need an Autonomous Computer? <span aria-hidden="true">+</span></summary>
- <div class="details-content">
- <p>Use your own compatible computer. The longer-term plan also brings Harness to the <a href="https://github.com/autonomous-ai/autonomous-computer">Autonomous Computer</a>, with an optional Harness device for input and status. Those hardware integrations are a roadmap, not a requirement for using the OS.</p>
- <p>You can also <a href="https://github.com/autonomous-ai/openharness#readme">run Harness in your existing Mac or Linux terminal</a>. The USB installer and OS welcome belong only to the operating system.</p>
- </div>
- </details>
- </section>
- </main>
-
- <footer class="footer"><a class="wordmark" href="#">harness<span class="cursor" aria-hidden="true">_</span></a><p>Your computer. Your agents.</p><a href="https://github.com/autonomous-ai/openharness">Open source, by Autonomous <span aria-hidden="true">↗</span></a></footer>
+ <span id="demo-shortcut" class="demo-shortcut" aria-hidden="true" hidden>Super + b</span>
+ <button id="demo-motion" class="demo-motion" type="button" aria-label="Pause animation" title="Pause animation">Ⅱ</button>
+ </div>
+ </figure>
</div>
+ <section class="chapter" aria-labelledby="agents-heading">
+ <h2 id="agents-heading">Goodbye apps.<br>Hello agents.</h2>
+ <div class="chapter-copy">
+ <p>Harness is a Linux operating system that boots straight into your agents. No desktop to arrange. No app launcher to navigate. Just the work.</p>
+ <p>Start with OpenCode. Add Claude Code, Codex or pi. Give each agent a project and work side by side. Build on this computer, connect another one, and open the browser when you need to see the result.</p>
+ <p>Your files. Your tools. Your hardware.</p>
+ </div>
+ </section>
+ <section class="chapter chapter-metrics" aria-labelledby="speed-heading">
+ <h2 id="speed-heading">Small on disk.<br>Quick to work.</h2>
+ <div class="chapter-copy">
+ <dl class="metrics">
+ <div><dt>Install from USB</dt><dd>Offline</dd></div>
+ <div><dt>Boot to Harness</dt><dd>18 s</dd></div>
+ <div><dt>RAM with OpenCode</dt><dd>661 MiB</dd></div>
+ <div><dt>Installed system</dt><dd>2.04 GiB</dd></div>
+ </dl>
+ <p>Install from USB, even offline. Boot into your workspace. Press Super+u to update without reinstalling.</p>
+ <details class="measurement-note">
+ <summary>Preview 13 · measured in a 1 GiB VM</summary>
+ <p>Encrypted UEFI installation, Nehalem CPU profile. Boot time includes automated disk unlock and login. Disk usage includes OpenCode and the browser. RAM is median idle system usage with OpenCode and two terminals, plus 44 MiB of swap. Hardware and workloads change these numbers.</p>
+ <p><a href="https://github.com/autonomous-ai/openharness/actions/runs/37255459559">Measurements and test conditions ↗</a></p>
+ </details>
+ </div>
+ </section>
+ </main>
</body>
</html>
diff --git a/website/public/os/style.css b/website/public/os/style.css
index 8764a0894..070bd8b3a 100644
--- a/website/public/os/style.css
+++ b/website/public/os/style.css
@@ -1,114 +1,189 @@
-@font-face{font-family:Geist;src:url('assets/geist-regular.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
-@font-face{font-family:Geist;src:url('assets/geist-semibold.woff') format('woff');font-style:normal;font-weight:600;font-display:swap}
-@font-face{font-family:'Geist Mono';src:url('assets/geist-mono.woff') format('woff');font-style:normal;font-weight:400;font-display:swap}
-:root{color-scheme:light;--paper:#f7f7f2;--ink:#1b1d18;--muted:#62665b;--line:#d5d8cc;--accent:#dde900;--mono:'Geist Mono',monospace}
-*{box-sizing:border-box}
-html{scroll-padding-top:32px}
-body{margin:0;background:var(--paper);color:var(--ink);font-family:Geist,Arial,sans-serif;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
-::selection{background:var(--accent);color:var(--ink)}
-a{color:inherit;text-underline-offset:5px;text-decoration-thickness:1px}
-a:hover{text-decoration-color:var(--ink)}
-a:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:6px}
-img{display:block;max-width:100%;height:auto}
-p,h1,h2,h3,figure,dl{margin:0}
-p+p{margin-top:22px}
-strong{font-weight:600}
-.page{max-width:1248px;margin:auto;padding:0 48px}
-.skip{position:absolute;left:24px;top:-100px;z-index:2;padding:8px 16px;background:var(--accent)}
-.skip:focus{top:16px}
-.header{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
-.wordmark{display:inline-flex;align-items:center;gap:12px;font-size:17px;font-weight:600;letter-spacing:-.035em;text-decoration:none;white-space:nowrap}
-.mark{font-family:var(--mono);font-size:21px;line-height:1;background:var(--ink);color:var(--paper);padding:9px 8px;letter-spacing:-.12em}
-.mark span{color:var(--accent)}
-nav{display:flex;gap:32px;font-size:13px;font-family:var(--mono)}
-nav a{text-decoration:none}
-nav a:hover{text-decoration:underline}
-.hero{padding:72px 0 48px}
-.eyebrow{font-family:var(--mono);font-size:11px;line-height:1.6;letter-spacing:.065em;text-transform:uppercase;color:var(--muted)}
-.edition{display:inline-block;margin-left:14px;padding:2px 7px;border:1px solid var(--line);color:var(--ink);font-size:10px}
-.hero-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:48px;align-items:end;margin-top:30px}
-h1{font-size:clamp(60px,7.5vw,98px);font-weight:600;line-height:1.02;letter-spacing:-.065em}
-.period{color:#8a9300}
-.hero-copy{max-width:350px;padding-bottom:4px;color:var(--muted);font-size:16px;line-height:1.65}
-.hero-copy .lead{font-size:23px;line-height:1.45;letter-spacing:-.035em;color:var(--ink)}
-.hero-copy p+p{margin-top:20px}
-.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:28px;margin-top:36px}
-.button{display:inline-flex;gap:40px;align-items:center;justify-content:space-between;min-height:50px;padding:12px 20px;background:var(--accent);color:var(--ink);font-size:14px;font-weight:600;text-decoration:none}
-.button:hover{background:#cbd600}
-.button span{font-size:20px;font-weight:400;line-height:1}
-.text-link{font-size:13px;font-family:var(--mono);text-decoration:underline;text-decoration-color:#a6ab9a}
-.text-link span{margin-left:4px}
-.download-meta{margin-left:auto;font-family:var(--mono);font-size:11px;color:var(--muted)}
-.screen>a{display:block;background:#101010;border:1px solid #24251f}
-.screen img{width:100%}
-.screen figcaption{display:flex;justify-content:space-between;gap:20px;margin-top:16px;font-family:var(--mono);font-size:11px;color:var(--muted)}
-.section{padding:104px 0;border-bottom:1px solid var(--line)}
-.workflow,.install{display:grid;grid-template-columns:1fr 1fr;gap:100px}
-h2{font-size:40px;font-weight:600;line-height:1.12;letter-spacing:-.045em}
-.section-intro h2{margin:24px 0}
-.section-intro>p:not(.eyebrow){max-width:350px;color:var(--muted);font-size:16px}
-.section-intro>.text-link{display:inline-block;margin-top:28px}
-.steps{list-style:none;padding:0;margin:0}
-.steps li{display:flex;gap:24px;padding:25px 0;border-top:1px solid var(--line)}
-.steps li:first-child{padding-top:0;border-top:0}
-.steps li:last-child{padding-bottom:0}
-.step-number{padding-top:4px;font-family:var(--mono);font-size:11px;color:var(--muted)}
-h3{font-size:19px;font-weight:600;line-height:1.5;letter-spacing:-.025em}
-.steps p{margin-top:8px;font-size:15px;color:var(--muted);line-height:1.7}
-.first-boot .section-heading{align-items:end}
-.first-boot h2{margin-top:22px}
-.section-caption{font-size:15px;line-height:1.65;color:var(--muted)}
-.journey{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;margin-top:40px}
-.journey figure>a{display:block;background:#101010;border:1px solid #24251f}
-.journey img{width:100%}
-.journey figcaption{margin-top:24px}
-.journey h3{display:flex;align-items:baseline;gap:14px}
-.journey p{margin-top:12px;font-size:15px;color:var(--muted)}
-.journey .caption-note{font-size:13px}
-.journey-note{margin-top:32px;font-size:12px;color:var(--muted)}
-kbd{font-family:var(--mono);font-size:.8em;border:1px solid var(--line);padding:1px 4px;white-space:nowrap;color:var(--ink)}
-.philosophy-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;margin-top:30px}
-.philosophy h2{font-size:56px;line-height:1.12;letter-spacing:-.05em}
-.prose{font-size:16px;color:var(--muted)}
-.stack{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:64px;font-family:var(--mono);font-size:12px}
-.stack>span{color:var(--muted)}
-.stack>span:first-child{margin-right:auto;font-size:11px}
-.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
-.numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin:48px 0 24px}
-.numbers>div{border-left:1px solid var(--line);padding-left:28px}
-.numbers>div:first-child{padding-left:0;border:0}
-.numbers dt{font-family:var(--mono);font-size:11px;color:var(--muted)}
-.numbers dd{margin:10px 0 0;font-size:56px;line-height:1.15;letter-spacing:-.06em;font-weight:600;font-variant-numeric:tabular-nums}
-.numbers dd span{margin-left:9px;font-family:var(--mono);font-size:15px;font-weight:400;letter-spacing:-.04em}
-.measurement-note{max-width:750px;font-size:12px;line-height:1.7;color:var(--muted)}
-details{border-top:1px solid var(--line);margin-top:32px}
-details+details{margin-top:0}
-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0;cursor:pointer;font-size:14px;list-style:none}
-summary::-webkit-details-marker{display:none}
-summary>span{font-family:var(--mono);font-size:20px}
-details[open] summary>span{transform:rotate(45deg)}
-.details-content{max-width:800px;padding:4px 0 28px;color:var(--muted);font-size:14px}
-.details-content>.text-link{display:inline-block;margin-top:22px}
-.project-example .details-content{max-width:none}
-.project-example p{margin-top:16px;font-size:12px}
-.install{border-bottom:0}
-.install-copy ol{margin:0;padding-left:20px;color:var(--muted);font-size:15px}
-.install-copy li{padding-left:4px;margin-bottom:14px}
-pre{margin:26px 0 22px;padding:20px 22px;background:#eceedf;border:1px solid var(--line);overflow:auto;line-height:1.5;font-size:15px}
-code{font-family:var(--mono)}
-code>span{color:#626b44}
-.install-notice,.install-note{font-size:13px;line-height:1.65;color:var(--muted)}
-.install-notice strong{color:var(--ink)}
-.install-note{margin-top:16px}
-.install-copy>.button{margin-top:28px}
-.practical{padding-bottom:72px}
-.practical details:first-child{margin-top:0}
-.footer{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid var(--line);padding:30px 0 40px;font-family:var(--mono);font-size:11px;color:var(--muted)}
-.footer .wordmark{font-family:Geist,Arial,sans-serif;color:var(--ink);font-size:16px;gap:0}
-.cursor{color:#7d8500}
-.footer>a:last-child{text-decoration:none}
-@media(min-width:1600px){.page{max-width:1360px;padding:0 64px}.hero{padding-top:90px}.hero-grid{gap:80px}.hero-copy{max-width:380px}.hero-copy .lead{font-size:26px}}
-@media(max-width:900px){.page{padding:0 30px}.hero-grid{gap:32px;grid-template-columns:1.4fr 1fr}h1{font-size:clamp(52px,7.4vw,68px)}.hero-copy .lead{font-size:20px}.hero-copy{font-size:14px}.workflow,.install,.philosophy-grid{gap:48px}.download-meta{flex-basis:100%;margin-left:0}.hero-actions{row-gap:18px}.philosophy h2{font-size:47px}.numbers dd{font-size:43px}.numbers dd span{display:block;margin:6px 0 0;font-size:13px}.stack{gap:10px}.journey{gap:28px}}
-@media(max-width:640px){.page{padding:0 22px}.header{height:84px}.wordmark{font-size:15px}.mark{font-size:19px;padding:8px 7px}nav{gap:20px;font-size:12px}nav>a:first-child{display:none}.hero{padding:48px 0 32px}.hero>.eyebrow{max-width:300px;font-size:10px}.edition{margin-left:0;margin-top:10px;display:table}.hero-grid{display:block;margin-top:26px}h1{font-size:clamp(49px,13.2vw,78px)}.hero-copy{max-width:420px;margin-top:28px;font-size:15px}.hero-copy .lead{font-size:21px}.hero-copy p+p{margin-top:12px}.hero-actions{gap:20px;margin-top:26px}.button{min-height:48px;padding:12px 16px;gap:28px;font-size:13px}.text-link{font-size:12px}.download-meta{font-size:10px}.screen figcaption{display:block;font-size:10px}.screen figcaption>span+span{display:block;margin-top:6px}.section{padding:64px 0}.workflow,.install,.philosophy-grid,.journey{grid-template-columns:1fr;gap:32px}h2{font-size:35px}.section-intro h2{margin:18px 0}.section-intro>p:not(.eyebrow){max-width:none}.philosophy h2{font-size:48px}.philosophy-grid{margin-top:22px}.stack{margin-top:34px;font-size:10px;gap:9px}.stack>span:first-child{flex-basis:100%;margin-bottom:4px}.section-heading,.first-boot .section-heading{align-items:start;flex-direction:column;gap:16px}.journey{margin-top:28px;gap:36px}.journey figcaption{margin-top:18px}.journey-note{font-size:11px}.numbers{gap:12px;margin-top:32px;margin-bottom:22px}.numbers>div{padding-left:12px}.numbers dt{font-size:9px;line-height:1.6;max-width:90px;min-height:30px}.numbers dd{font-size:clamp(24px,7vw,34px);letter-spacing:-.065em}.numbers dd span{display:block;margin:6px 0 0;font-size:12px;letter-spacing:0}.measurement-note{font-size:11px}summary{font-size:13px}.details-content{font-size:13px}.install-copy>.button{width:100%}.practical{padding-bottom:48px}.footer{flex-wrap:wrap;gap:16px;padding:26px 0 32px}.footer .wordmark{flex-basis:40%}.footer p{margin-left:auto}.footer>a:last-child{flex-basis:100%}}
-@media(max-width:380px){nav>a:nth-child(2){display:none}.hero-actions{column-gap:16px}}
-@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
+@font-face {
+ font-family: 'Geist Mono';
+ src: url('assets/geist-mono.woff') format('woff');
+ font-style: normal;
+ font-weight: 400;
+ font-display: swap;
+}
+
+:root {
+ color-scheme: dark;
+ font: 400 18px/1.5 'Geist Mono', ui-monospace, monospace;
+ font-synthesis: none;
+ font-variant-ligatures: none;
+ --row: 1.5rem;
+ --paper: #11110f;
+ --ink: #eeede8;
+ --accent: #e0ce41;
+}
+
+* { box-sizing: border-box; }
+[hidden] { display: none !important; }
+body { margin: 0; background: var(--paper); color: var(--ink); }
+h1, h2, p, figure, dl, dd { margin: 0; font: inherit; }
+a { color: inherit; text-decoration: none; }
+a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
+::selection { color: var(--paper); background: var(--accent); }
+
+/* One fold: two text rows between brand/intro and actions/screenshot.
+ The 16:10 capture sets the column width when viewport height is the limit. */
+.page, .chapter {
+ width: min(120ch, calc(100% - 8ch), max(38ch, calc((100svh - 17.5rem) * 1.6)));
+ margin-inline: auto;
+}
+.page {
+ height: 100vh;
+ height: 100svh;
+ padding-block: var(--row);
+ display: grid;
+ grid-template-rows: auto auto minmax(0, 1fr);
+}
+.brand { padding-bottom: calc(2 * var(--row)); }
+.brand span { color: var(--accent); }
+.intro { padding-bottom: calc(2 * var(--row)); }
+.actions { display: flex; flex-wrap: wrap; gap: 2ch; margin-top: var(--row); }
+.actions a { display: inline-block; padding: .5em 1ch; white-space: nowrap; }
+.install { color: var(--paper); background: var(--ink); }
+.install:hover { background: var(--accent); }
+.source:hover { color: var(--accent); }
+.screen { min-width: 0; min-height: 0; container-type: inline-size; }
+.screen img {
+ display: block;
+ width: 100%;
+ height: 100%;
+ object-fit: contain;
+ object-position: left top;
+}
+
+/* Two short chapters use the same text cells and column edges as the hero. */
+.chapter {
+ display: grid;
+ grid-template-columns: minmax(20ch, 1fr) minmax(0, 2fr);
+ gap: calc(2 * var(--row)) 6ch;
+ padding-block: calc(4 * var(--row));
+ border-top: 1px solid #30302c;
+}
+.chapter h2 { color: var(--accent); }
+.chapter-copy { display: grid; gap: var(--row); }
+.chapter-copy a { text-decoration: underline; text-underline-offset: .2em; }
+.chapter-copy a:hover { color: var(--accent); }
+.metrics { display: grid; gap: var(--row); }
+.metrics > div { display: flex; justify-content: space-between; gap: 2ch; }
+.metrics dt { color: #a5a59c; }
+.metrics dd { white-space: nowrap; }
+.measurement-note { color: #a5a59c; }
+.measurement-note summary { cursor: pointer; }
+.measurement-note p { margin-top: var(--row); }
+.measurement-note summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
+@media (max-width: 900px), (max-height: 650px) {
+ .chapter { grid-template-columns: minmax(0, 1fr); }
+}
+
+/* The OS illustration has its own fixed terminal cell grid. */
+.os-demo {
+ position: relative;
+ width: 100%;
+ height: min(100%, 62.5cqw);
+ aspect-ratio: 8 / 5;
+ overflow: hidden;
+ background: #0c0c0c;
+ color: #d8d8d1;
+ border: 1px solid #30302c;
+ font-size: 1.25cqw;
+ line-height: 1.5;
+}
+.os-demo p, .os-demo pre { margin: 0; font: inherit; }
+.demo-boot, .demo-workspace, .demo-browser {
+ position: absolute;
+ inset: 0;
+ opacity: 0;
+ visibility: hidden;
+ transition: opacity .28s ease, visibility .28s;
+}
+[data-scene="boot"] .demo-boot,
+[data-scene="work"] .demo-workspace,
+[data-scene="browser"] .demo-browser { opacity: 1; visibility: visible; }
+.demo-boot { display: grid; place-content: center; justify-items: center; gap: 3em; }
+.demo-boot pre { color: var(--accent); font-size: 1.4em; }
+.demo-boot p { color: #93938b; }
+.demo-workspace { display: grid; grid-template-rows: minmax(0, 1fr) 1.8em; }
+.demo-panes {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ grid-template-rows: 1fr 1fr;
+ gap: .65em;
+ padding: .65em;
+ min-height: 0;
+}
+.pane { border: 1px solid #353532; min-width: 0; min-height: 0; overflow: hidden; }
+.pane-main { grid-row: 1 / 3; border-color: #8f8237; }
+.pane-title {
+ display: flex;
+ justify-content: space-between;
+ gap: 2ch;
+ padding: .35em 1ch;
+ color: #99998f;
+ border-bottom: 1px solid #272723;
+ white-space: nowrap;
+}
+.pane-title span { overflow: hidden; text-overflow: ellipsis; }
+.pane-title span:first-child { flex-shrink: 0; }
+.pane-main .pane-title { color: var(--accent); }
+.terminal-content { padding: 1.25em 1.5ch; }
+.os-demo .agent-name { margin-bottom: 2.5em; color: #ededeb; }
+.prompt { color: #f0efe9; min-height: 3em; }
+.os-demo .terminal-line { margin-top: .8em; opacity: 0; transform: translateY(.3em); transition: opacity .24s, transform .24s; }
+.os-demo .terminal-line.visible { opacity: 1; transform: none; }
+.os-demo .muted { color: #909088; }
+.os-demo .success { color: #b4ca85; }
+.os-demo .follow-up { margin-top: 3em; visibility: hidden; }
+.os-demo .follow-up.visible { visibility: visible; }
+.cursor { color: var(--accent); animation: cursor-blink 1s steps(1) infinite; }
+[data-caret] { visibility: hidden; }
+[data-caret].caret-active { visibility: visible; }
+.demo-status { display: flex; justify-content: space-between; gap: 2ch; align-items: center; padding: 0 4.5em 0 1ch; background: #d2d3c7; color: #1e2117; white-space: nowrap; }
+.demo-status b { font-weight: 400; background: #b4ca85; }
+.demo-browser { background: #eeede5; color: #25291f; }
+.browser-toolbar { display: flex; align-items: center; gap: 2ch; padding: .65em 1.5ch; background: #22231f; color: #b4b6ab; }
+.address { flex: 1; padding: .3em 1.5ch; background: #33352e; color: #eeede5; }
+.orbit-page { height: calc(100% - 3.4em); display: flex; flex-direction: column; padding: 2em 4ch; }
+.orbit-page header { display: flex; justify-content: space-between; gap: 2ch; }
+.orbit-page header span:last-child { color: #74796a; }
+.orbit-hero { flex: 1; display: grid; align-content: center; justify-items: center; gap: 1.5em; }
+.orbit-hero pre { color: #707c51; line-height: 1.2; }
+.orbit-play { padding: .65em 2ch; background: #273022; color: #eeede5; }
+.orbit-page footer { text-align: center; color: #74796a; }
+.demo-shortcut { position: absolute; top: 1em; right: 2ch; padding: .45em 1ch; background: #e0ce41; color: #151711; }
+.demo-motion { position: absolute; right: 0; bottom: 0; width: 3.2em; height: 1.8em; min-width: 28px; min-height: 28px; padding: 0; border: 0; font: inherit; font-size: max(12px, 1em); background: transparent; color: #25291f; cursor: pointer; }
+[data-scene="boot"] .demo-motion { color: var(--ink); }
+.demo-motion:hover { background: #e0ce41; color: #151711; }
+.demo-motion:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
+.motion-paused .cursor { animation-play-state: paused; }
+@keyframes cursor-blink { 50% { opacity: 0; } }
+@media (prefers-reduced-motion: reduce) {
+ .os-demo *, .os-demo *::before, .os-demo *::after { animation: none; transition: none; }
+}
+
+@media (max-width: 600px) {
+ :root { font-size: 14px; }
+ .page, .chapter { width: calc(100% - 4ch); }
+ .chapter { grid-template-columns: minmax(0, 1fr); padding-block: calc(3 * var(--row)); }
+ .actions { gap: 1ch; }
+}
+@media (max-height: 600px) {
+ :root { font-size: 14px; }
+ .page, .chapter {
+ width: min(120ch, calc(100% - 4ch), max(38ch, calc((100svh - 12.25rem) * 1.6)));
+ }
+ .page {
+ padding-block: calc(var(--row) / 2);
+ }
+ .brand { padding-bottom: var(--row); }
+ .intro { padding-bottom: var(--row); }
+ .actions { gap: 1ch; margin-top: calc(var(--row) / 2); }
+}
+/* At extreme text zoom, let content remain reachable rather than clipping it. */
+@media (max-height: 320px) {
+ .page { height: auto; min-height: 100svh; }
+ .screen { aspect-ratio: 8 / 5; }
+}
diff --git a/website/scripts/check-os-site.mjs b/website/scripts/check-os-site.mjs
index 99fc5b92b..d47db790a 100644
--- a/website/scripts/check-os-site.mjs
+++ b/website/scripts/check-os-site.mjs
@@ -1,4 +1,5 @@
import assert from 'node:assert/strict';
+import { createHash } from 'node:crypto';
import { readFile, readdir } from 'node:fs/promises';
import { fileURLToPath } from 'node:url';
@@ -14,7 +15,12 @@ for (const route of ['/os', '/os/', '/os/index.html']) {
assert.match(response.headers.get('cache-control'), /no-transform/);
const html = await response.text();
assert.equal(html, expected, 'Serve the approved HTML unchanged');
- assert.doesNotMatch(html, /<script\b/i, 'The OS page must not load an app runtime');
+ const scripts = [...html.matchAll(/<script\b([^>]*)>([\s\S]*?)<\/script>/gi)];
+ assert.equal(scripts.length, 1, 'Only the local product illustration needs JavaScript');
+ assert.match(scripts[0][1], /\bsrc="demo\.js\?v=[a-f0-9]{12}"/);
+ assert.match(scripts[0][1], /\bdefer\b/);
+ assert.equal(scripts[0][2].trim(), '', 'No inline app runtime');
+ assert.match(html, /class="install" href="https:\/\/harness\.autonomous\.ai\/os\/latest"/);
assert.match(html, /<base href="\/os\/">/);
}
@@ -27,7 +33,7 @@ for (const name of names) {
assert.equal(response.status, 200, name);
assert.equal(response.headers.get('x-content-type-options'), 'nosniff');
assert.deepEqual(Buffer.from(await response.arrayBuffer()), local, `${name} bytes differ`);
- const types = { css: /text\/css/, svg: /image\/svg\+xml/, png: /image\/png/, woff: /font\/woff|application\/font-woff/ };
+ const types = { css: /text\/css/, js: /(?:text|application)\/javascript/, svg: /image\/svg\+xml/, png: /image\/png/, woff: /font\/woff|application\/font-woff/ };
const type = types[name.split('.').at(-1)];
if (type) assert.match(response.headers.get('content-type'), type, name);
verified++;
@@ -40,6 +46,14 @@ for (const [, value] of expected.matchAll(/(?:href|src)="([^"]+)"/g)) {
assert.equal(url.origin, base.origin);
assert.ok(url.pathname.startsWith('/os/'), value);
if (value === '/os/') continue;
- await readFile(fileURLToPath(new URL(value, root)));
+ const bytes = await readFile(fileURLToPath(new URL(value, root)));
+ if (/\.(?:css|js)$/.test(url.pathname)) {
+ assert.equal(url.searchParams.get('v'), createHash('sha256').update(bytes).digest('hex').slice(0, 12),
+ 'Styles and animation must carry their current content hash');
+ }
}
+const download = await fetch(new URL('/os/latest', base), { ...requests, redirect: 'manual' });
+assert.equal(download.status, 302, 'The Install link must resolve to an already-published OS release');
+assert.match(download.headers.get('location'), /^https:\/\/github\.com\/autonomous-ai\/openharness\/releases\/tag\/os-v\d+\.\d+\.\d+(?:-preview\.\d+)?$/);
+assert.match(download.headers.get('cache-control'), /no-store/);
console.log(`Harness /os: three entry paths and ${verified} assets match the approved static source.`);
diff --git a/website/src/app/os/latest/route.spec.ts b/website/src/app/os/latest/route.spec.ts
new file mode 100644
index 000000000..caa072875
--- /dev/null
+++ b/website/src/app/os/latest/route.spec.ts
@@ -0,0 +1,24 @@
+import { afterEach, expect, it, vi } from "vitest";
+import { fetchLatestOSRelease } from "@/lib/osRelease";
+import { GET } from "./route";
+
+vi.mock("@/lib/osRelease", () => ({ fetchLatestOSRelease: vi.fn() }));
+vi.mock("next/cache", () => ({ unstable_cache: (callback: () => Promise<string>) => callback }));
+afterEach(() => vi.resetAllMocks());
+
+it("redirects to the OS release without caching the browser's destination", async () => {
+ const url = "https://github.com/autonomous-ai/openharness/releases/tag/os-v0.1.0-preview.13";
+ vi.mocked(fetchLatestOSRelease).mockResolvedValue(url);
+ const response = await GET();
+ expect(response.status).toBe(302);
+ expect(response.headers.get("Location")).toBe(url);
+ expect(response.headers.get("Cache-Control")).toBe("no-store, max-age=0");
+});
+
+it("offers a retry instead of a broken or unrelated download when lookup fails", async () => {
+ vi.mocked(fetchLatestOSRelease).mockRejectedValue(new Error("upstream unavailable"));
+ const response = await GET();
+ expect(response.status).toBe(503);
+ expect(response.headers.get("Location")).toBeNull();
+ expect(response.headers.get("Retry-After")).toBe("60");
+});
diff --git a/website/src/app/os/latest/route.ts b/website/src/app/os/latest/route.ts
new file mode 100644
index 000000000..441db314b
--- /dev/null
+++ b/website/src/app/os/latest/route.ts
@@ -0,0 +1,21 @@
+import { unstable_cache } from "next/cache";
+import { fetchLatestOSRelease } from "@/lib/osRelease";
+
+export const dynamic = "force-dynamic";
+
+// Share a short server-side lookup cache; browsers must never pin the redirect.
+const latest = unstable_cache(fetchLatestOSRelease, ["harness-os-release-v1"], { revalidate: 300 });
+
+export async function GET(): Promise<Response> {
+ try {
+ return new Response(null, {
+ status: 302,
+ headers: { Location: await latest(), "Cache-Control": "no-store, max-age=0" },
+ });
+ } catch {
+ return new Response("Harness downloads are temporarily unavailable. Please try again shortly.", {
+ status: 503,
+ headers: { "Cache-Control": "no-store", "Retry-After": "60", "Content-Type": "text/plain; charset=utf-8" },
+ });
+ }
+}
diff --git a/website/src/lib/osRelease.spec.ts b/website/src/lib/osRelease.spec.ts
new file mode 100644
index 000000000..0a8ea592b
--- /dev/null
+++ b/website/src/lib/osRelease.spec.ts
@@ -0,0 +1,63 @@
+import { afterEach, describe, expect, it, vi } from "vitest";
+import { fetchLatestOSRelease, latestOSRelease } from "./osRelease";
+
+function release(version: string) {
+ const iso = `harness-${version}-x86_64.iso`;
+ return {
+ tag_name: "os-v" + version, draft: false, prerelease: version.includes("-preview."),
+ html_url: "https://untrusted.example/download",
+ assets: [iso, iso + ".sha256", "INSTALL.md", "manifest.json", "validation.json"]
+ .map(name => ({ name, state: "uploaded" })),
+ };
+}
+
+afterEach(() => vi.unstubAllGlobals());
+
+describe("latest OS release", () => {
+ it("orders numeric previews independently of repository release order and other products", () => {
+ expect(latestOSRelease([
+ { ...release("99.0.0"), tag_name: "v99.0.0_desktop" },
+ release("0.1.0-preview.9"), release("0.1.0-preview.13"), release("0.1.0-preview.10"),
+ ])).toBe("https://github.com/autonomous-ai/openharness/releases/tag/os-v0.1.0-preview.13");
+ });
+
+ it("moves automatically when a new complete release is published", () => {
+ const releases = [release("0.1.0-preview.13")];
+ expect(latestOSRelease(releases)).toContain("preview.13");
+ releases.push(release("0.1.0-preview.14"));
+ expect(latestOSRelease(releases)).toContain("preview.14");
+ });
+
+ it("prefers the highest stable release once stable OS releases exist", () => {
+ expect(latestOSRelease([release("0.1.0"), release("1.0.0-preview.1"), release("0.2.0")]))
+ .toBe("https://github.com/autonomous-ai/openharness/releases/tag/os-v0.2.0");
+ });
+
+ it("ignores drafts, incomplete uploads and tags inconsistent with their release kind", () => {
+ const incomplete = release("0.1.0-preview.15");
+ incomplete.assets[0].state = "new";
+ expect(latestOSRelease([
+ release("0.1.0-preview.13"), incomplete,
+ { ...release("0.1.0-preview.16"), draft: true },
+ { ...release("0.1.0-preview.17"), assets: [] },
+ { ...release("0.1.0-preview.18"), prerelease: false }, null,
+ ])).toContain("preview.13");
+ expect(() => latestOSRelease([incomplete])).toThrow("No complete OS release");
+ });
+
+ it("follows pagination when newer app releases occupy the first page", async () => {
+ const request = vi.fn<typeof fetch>()
+ .mockResolvedValueOnce(new Response("[]", { headers: { link: '<ignored>; rel="next"' } }))
+ .mockResolvedValueOnce(new Response(JSON.stringify([release("0.1.0-preview.13")])));
+ vi.stubGlobal("fetch", request);
+ expect(await fetchLatestOSRelease()).toContain("preview.13");
+ expect(request.mock.calls[1][0]).toBe("https://api.github.com/repos/autonomous-ai/openharness/releases?per_page=100&page=2");
+ });
+
+ it("does not choose an older partial result when a later page fails", async () => {
+ vi.stubGlobal("fetch", vi.fn<typeof fetch>()
+ .mockResolvedValueOnce(new Response(JSON.stringify([release("0.1.0-preview.9")]), { headers: { link: '<ignored>; rel="next"' } }))
+ .mockResolvedValueOnce(new Response("rate limited", { status: 403 })));
+ await expect(fetchLatestOSRelease()).rejects.toThrow("Release lookup failed");
+ });
+});
diff --git a/website/src/lib/osRelease.ts b/website/src/lib/osRelease.ts
new file mode 100644
index 000000000..e1dae6fec
--- /dev/null
+++ b/website/src/lib/osRelease.ts
@@ -0,0 +1,55 @@
+const repository = "https://github.com/autonomous-ai/openharness";
+const api = "https://api.github.com/repos/autonomous-ai/openharness/releases";
+
+type Candidate = { version: number[]; preview: boolean; url: string };
+
+function candidate(value: unknown): Candidate | undefined {
+ if (!value || typeof value !== "object") return;
+ const release = value as Record<string, unknown>;
+ if (release.draft !== false || typeof release.tag_name !== "string" || !Array.isArray(release.assets)) return;
+ const match = /^os-v(\d+)\.(\d+)\.(\d+)(?:-preview\.(\d+))?$/.exec(release.tag_name);
+ if (!match) return;
+ const preview = match[4] !== undefined;
+ if (release.prerelease !== preview) return;
+ const version = [match[1], match[2], match[3], match[4] || "0"].map(Number);
+ if (!version.every(Number.isSafeInteger)) return;
+ const names = new Set(release.assets.flatMap((asset: unknown) => {
+ if (!asset || typeof asset !== "object") return [];
+ const item = asset as Record<string, unknown>;
+ return item.state === "uploaded" && typeof item.name === "string" ? [item.name] : [];
+ }));
+ const iso = `harness-${release.tag_name.slice(4)}-x86_64.iso`;
+ if (![iso, iso + ".sha256", "INSTALL.md", "manifest.json", "validation.json"].every(name => names.has(name))) return;
+ // Construct the destination ourselves; never trust an upstream redirect URL.
+ return { version, preview, url: `${repository}/releases/tag/${release.tag_name}` };
+}
+
+export function latestOSRelease(releases: unknown[]): string {
+ const candidates = releases.flatMap(value => candidate(value) || []);
+ // Stable OS releases are the default once available. Until then, use the
+ // highest numbered preview, not GitHub's mixed-product display order.
+ candidates.sort((a, b) => Number(a.preview) - Number(b.preview) ||
+ b.version[0] - a.version[0] || b.version[1] - a.version[1] ||
+ b.version[2] - a.version[2] || b.version[3] - a.version[3]);
+ if (!candidates.length) throw new Error("No complete OS release is available");
+ return candidates[0].url;
+}
+
+export async function fetchLatestOSRelease(): Promise<string> {
+ const releases: unknown[] = [];
+ const signal = AbortSignal.timeout(15_000);
+ // The monorepo publishes several products. Read every page so frequent app
+ // releases cannot push the OS out of the result, with a bounded failure path.
+ for (let page = 1; page <= 20; page++) {
+ const response = await fetch(`${api}?per_page=100&page=${page}`, {
+ headers: { Accept: "application/vnd.github+json", "X-GitHub-Api-Version": "2022-11-28" },
+ cache: "no-store", signal,
+ });
+ if (!response.ok) throw new Error(`Release lookup failed (${response.status})`);
+ const data: unknown = await response.json();
+ if (!Array.isArray(data)) throw new Error("Invalid release response");
+ releases.push(...data);
+ if (!/rel="next"/.test(response.headers.get("link") || "")) return latestOSRelease(releases);
+ }
+ throw new Error("Release pagination did not finish");
+}