AI Engineering Workspace
PartialChat, files, terminal and preview in one place. Chat sessions run on a durable Postgres-backed queue (chat only: no tools or shell). Live models need an API key; the terminal is unavailable.
Project files
read-only- ..
- baseline-v0.1.4-access-desktop.png
- baseline-v0.1.4-access-mobile.png
- baseline-v0.1.4-dashboard-desktop.png
- baseline-v0.1.4-dashboard-mobile.png
- baseline-v0.1.4-deployments-desktop.png
- baseline-v0.1.4-deployments-mobile.png
- baseline-v0.1.4-design-studio-desktop.png
- baseline-v0.1.4-design-studio-mobile.png
- baseline-v0.1.4-domains-desktop.png
- baseline-v0.1.4-domains-mobile.png
- baseline-v0.1.4-files-desktop.png
- baseline-v0.1.4-files-mobile.png
- baseline-v0.1.4-infrastructure-desktop.png
- baseline-v0.1.4-infrastructure-mobile.png
- baseline-v0.1.4-integrations-desktop.png
- baseline-v0.1.4-integrations-mobile.png
- baseline-v0.1.4-login-desktop.png
- baseline-v0.1.4-login-mobile.png
- baseline-v0.1.4-monitoring-desktop.png
- baseline-v0.1.4-monitoring-mobile.png
- baseline-v0.1.4-progress-desktop.png
- baseline-v0.1.4-progress-mobile.png
- baseline-v0.1.4-projects-desktop.png
- baseline-v0.1.4-projects-mobile.png
- baseline-v0.1.4-settings-desktop.png
- baseline-v0.1.4-settings-mobile.png
- baseline-v0.1.4-terminal-desktop.png
- baseline-v0.1.4-terminal-mobile.png
- baseline-v0.1.4-wizard-desktop.png
- baseline-v0.1.4-wizard-mobile.png
- baseline-v0.1.4-workspace-desktop.png
- baseline-v0.1.4-workspace-mobile.png
app/qa/immersive.mjs
1// Public-site immersive experience checks (Chromium only; Safari/Firefox are NOT covered here). usage: node qa/immersive.mjs [base]2import { chromium } from "playwright"; import fs from "node:fs"; import path from "node:path";3const BASE = process.argv[2] ?? "https://cloud.zoobd.com"; const R = []; const rec = (n, ok, d = "") => { R.push({ name: n, ok: !!ok }); console.log((ok ? "PASS " : "FAIL ") + n + (ok ? "" : " -> " + d)); };4const b = await chromium.launch();5async function page(opts = {}) { const c = await b.newContext({ viewport: { width: 1280, height: 900 }, ...opts }); const p = await c.newPage(); const errs = []; p.on("pageerror", e => errs.push(e.message)); p.on("console", m => { if (m.type() === "error") errs.push(m.text()); }); return { c, p, errs }; }6// 1 default experience7{ const { c, p, errs } = await page(); await p.goto(BASE + "/", { waitUntil: "networkidle" }); await p.waitForTimeout(1500);8 rec("headline retained", (await p.locator("h1").getAttribute("aria-label")) === "Build Anywhere. Deploy Everywhere." && /Build/.test(await p.locator("h1").innerText()));9 rec("gradient headline words paint with the gradient (not transparent-on-nothing)", await p.evaluate(() => [...document.querySelectorAll(".mk-grad .mk-word")].length === 2 && [...document.querySelectorAll(".mk-grad .mk-word")].every(w => /gradient/.test(getComputedStyle(w).backgroundImage) && getComputedStyle(w).backgroundClip.includes("text"))));10 rec("scene node labels do not overlap", await p.evaluate(() => { const r = [...document.querySelectorAll(".mk-node")].map(n => n.getBoundingClientRect()); return r.every((a, i) => r.every((b, j) => i >= j || a.right < b.left || b.right < a.left || a.bottom < b.top || b.bottom < a.top)); }));11 rec("html data-motion resolved", ["low", "medium", "high"].includes(await p.evaluate(() => document.documentElement.dataset.motion)));12 rec("animated logo in header + hero", (await p.locator("svg.zl").count()) >= 2);13 rec("logo geometry equals approved brand path", await p.evaluate(async () => { const s = await (await fetch("/brand/zloud-mark.svg")).text(); const ds = [...s.matchAll(/ d="([^"]+)"/g)].map(m => m[1]); const live = [...document.querySelectorAll("svg.zl")[0].querySelectorAll("path")].map(x => x.getAttribute("d")); return ds.every(d => live.includes(d)); }));14 rec("infrastructure scene node hover updates caption", await (async () => { await p.locator(".mk-node", { hasText: "AI workspace" }).hover(); return /Experimental/.test(await p.locator(".mk-scene-cap").innerText()); })());15 rec("scene nodes keyboard focusable", await (async () => { await p.locator(".mk-node", { hasText: "Domain" }).focus(); return /Domain/.test(await p.locator(".mk-scene-cap").innerText()); })());16 rec("demo labelled as simulation", /Simulated demonstration/.test(await p.locator(".mk-demo-banner").innerText()));17 await p.locator("#demo").scrollIntoViewIfNeeded(); await p.waitForTimeout(600);18 const during = await p.locator(".mk-term").innerText(); await p.waitForTimeout(9000); const end = await p.locator(".mk-term").innerText();19 rec("demo plays and finishes all 5 stages", end.length > during.length && /live \(simulated\)/.test(end) && (await p.locator(".mk-stage-item.done").count()) === 5, `${during.length}/${end.length}`);20 await p.getByRole("button", { name: /Replay|Restart|Run/ }).first().click(); await p.waitForTimeout(900);21 rec("demo replay restarts", (await p.locator(".mk-term").innerText()).length < end.length);22 rec("services filter works + labels preserved", await (async () => { await p.getByRole("button", { name: /^Upcoming/ }).click(); const t = await p.locator("#services article").allInnerTexts(); return t.length === 5 && t.every(x => /Upcoming/.test(x)); })());23 rec("labels: experimental/available counts intact", await (async () => { await p.getByRole("button", { name: /^All/ }).click(); const t = (await p.locator("#services article").allInnerTexts()).join("|"); return (t.match(/Experimental/g) || []).length === 2 && (t.match(/Available/g) || []).length === 1; })());24 rec("motion toggle turns animation off", await (async () => { await p.locator("header").getByRole("button", { name: /Turn animations off/ }).click(); await p.waitForTimeout(200); return (await p.evaluate(() => document.documentElement.dataset.motion)) === "off"; })());25 rec("no canvas/particle loop when off", (await p.locator("canvas.mk-particles").count()) === 0);26 rec("no console/page errors", errs.length === 0, errs.slice(0, 3).join(" | ")); await c.close(); }27// 2 reduced motion28{ const { c, p, errs } = await page({ reducedMotion: "reduce" }); await p.goto(BASE + "/", { waitUntil: "networkidle" }); await p.waitForTimeout(1200);29 rec("reduced-motion: level off", (await p.evaluate(() => document.documentElement.dataset.motion)) === "off");30 rec("reduced-motion: no running animations", (await p.evaluate(() => document.getAnimations().filter(a => a.playState === "running").length)) === 0, String(await p.evaluate(() => document.getAnimations().map(a => a.animationName || a.constructor.name).join(","))));31 rec("reduced-motion: no particle canvas", (await p.locator("canvas.mk-particles").count()) === 0);32 rec("reduced-motion: demo shows completed state without waiting", /live \(simulated\)/.test(await p.locator(".mk-term").innerText()));33 rec("reduced-motion: toggle disabled (OS setting wins)", await p.locator("button[aria-label*='reduced-motion']").first().isDisabled());34 rec("reduced-motion: all content visible", await p.evaluate(() => [...document.querySelectorAll("#services article")].every(a => getComputedStyle(a).opacity === "1")));35 rec("reduced-motion: no errors", errs.length === 0, errs.join("|")); await c.close(); }36// 3 no JavaScript: content + static scene + logo must render37{ const { c, p } = await page({ javaScriptEnabled: false }); await p.goto(BASE + "/", { waitUntil: "load" });38 rec("no-JS: headline, scene, demo, services render", (await p.locator("h1").count()) === 1 && (await p.locator(".mk-scene .mk-node").count()) === 6 && (await p.locator(".mk-demo .mk-term").count()) === 1 && (await p.locator("#services article").count()) === 8);39 rec("no-JS: demo shows completed static state", /live \(simulated\)/.test(await p.locator(".mk-term").innerText()));40 rec("no-JS: logo present", (await p.locator("svg.zl").count()) >= 2); await c.close(); }41// 4 particles: never at rest; start only after a real mouse moves over the hero; stop off-screen42{ const { c, p } = await page(); await p.goto(BASE + "/", { waitUntil: "networkidle" }); await p.waitForTimeout(2500);43 rec("no particle canvas at rest (nothing continuous before interaction)", (await p.locator("canvas.mk-particles").count()) === 0);44 const lvl = await p.evaluate(() => document.documentElement.dataset.motion);45 await p.mouse.move(400, 300); await p.mouse.move(520, 340, { steps: 6 }); await p.waitForTimeout(600);46 rec("particles start after mouse moves over hero (level " + lvl + ")", ["low", "off"].includes(lvl) ? (await p.locator("canvas.mk-particles").count()) === 0 : (await p.locator("canvas.mk-particles").count()) === 1);47 await p.evaluate(() => scrollTo(0, 2600)); await p.waitForTimeout(800); rec("particle layer unmounts when hero is off-screen", (await p.locator("canvas.mk-particles").count()) === 0);48 rec("no looping main-thread animation at rest (only compositor/finite)", await (async () => { await p.evaluate(() => scrollTo(0, 0)); await p.waitForTimeout(8000); return p.evaluate(() => document.getAnimations().filter(a => a.playState === "running" && (a.animationName === "zl-run" || a.animationName === "mk-flow" && !document.querySelector(".mk-scene[data-touched]"))).length === 0); })());49 await c.close(); }50// 5 mobile: no horizontal overflow, touch targets51{ const { c, p } = await page({ viewport: { width: 390, height: 844 }, hasTouch: true, isMobile: true }); await p.goto(BASE + "/", { waitUntil: "networkidle" }); await p.waitForTimeout(1500);52 rec("mobile: no horizontal overflow", await p.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1));53 rec("mobile: scene nodes inside viewport", await p.evaluate(() => [...document.querySelectorAll(".mk-node")].every(n => { const r = n.getBoundingClientRect(); return r.left >= -1 && r.right <= innerWidth + 1; })));54 rec("mobile: scene node labels do not overlap", await p.evaluate(() => { const r = [...document.querySelectorAll(".mk-node")].map(n => n.getBoundingClientRect()); return r.every((a, i) => r.every((b, j) => i >= j || a.right < b.left || b.right < a.left || a.bottom < b.top || b.bottom < a.top)); }));55 rec("mobile: header Get started stays on one line", await p.evaluate(() => document.querySelector("header a.mk-btn-primary").getBoundingClientRect().height < 46));56 rec("mobile: animations toggle reachable in the menu", await (async () => { await p.getByRole("button", { name: /Open menu/ }).click(); return (await p.getByRole("button", { name: /Turn animations off/ }).count()) >= 1; })());57 rec("mobile: demo fits", await p.evaluate(() => { const r = document.querySelector(".mk-demo").getBoundingClientRect(); return r.right <= innerWidth + 1; })); await c.close(); }58// 5b tablet widths: no horizontal overflow, animations toggle still reachable (footer)59{ const { c, p } = await page({ viewport: { width: 768, height: 1024 } }); await p.goto(BASE + "/", { waitUntil: "networkidle" }); rec("tablet 768: no horizontal overflow", await p.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1));60 rec("tablet 768: animations toggle reachable in footer", (await p.locator("footer button[aria-pressed]").count()) === 1); await c.close(); }61// 6 dark theme + keyboard62{ const { c, p } = await page({ colorScheme: "dark" }); await p.goto(BASE + "/", { waitUntil: "networkidle" }); await p.keyboard.press("Tab"); await p.keyboard.press("Tab");63 const f = await p.evaluate(() => document.activeElement?.textContent || document.activeElement?.getAttribute("aria-label")); rec("keyboard: focus reaches interactive controls in order", !!f, f);64 await c.close(); }65// 7 existing routes still OK66{ const c = await b.newContext(); for (const r of ["/pricing", "/docs", "/status", "/contact", "/get-started", "/gateway", "/packages", "/login"]) { const x = await c.request.get(BASE + r); rec(`route ${r} responds 200`, x.status() === 200, String(x.status())); } await c.close(); }67await b.close(); const pass = R.filter(r => r.ok).length; console.log(`\n${pass}/${R.length} immersive checks passed (Chromium only; Safari/Firefox not run)`);68fs.writeFileSync(path.resolve("../design/verification/immersive.json"), JSON.stringify({ at: new Date().toISOString(), total: R.length, passed: pass, failed: R.length - pass, browsers: ["chromium"], notRun: ["safari", "firefox", "real low-end device"], results: R }, null, 1));69process.exit(pass === R.length ? 0 : 1);70
Conversation
PartialSign in to start AI sessions.
Task checklist
- Application shell deployed
- Persistent projects
- Agent runtime
- Sandboxed terminal
Execution activity
No agent sessions. Git HEAD 692573d on master.
Approval requests
None pending.