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- ..
- apple-touch-icon.png
- brand-guidelines-v2.md
- brand-manifest-v2.json
- favicon-16.png
- favicon-32.png
- favicon-48.png
- favicon.ico
- icon-192.png
- icon-512.png
- maskable-192.png
- maskable-512.png
- source-brand-board.png
- source-crop-icon-fullcolor.png
- source-crop-lockup-dark.png
- source-crop-wordmark-light.png
- zloud-app-icon-1024.png
- zloud-app-icon.svg
- zloud-favicon.svg
- zloud-mark-1024.png
- zloud-mark-512.png
- zloud-mark-mono-512.png
- zloud-mark-mono.svg
- zloud-mark-reversed.svg
- zloud-mark-white-512.png
- zloud-mark-white.svg
- zloud-mark.svg
- zloud-maskable.svg
- zloud-wordmark-dark.svg
- zloud-wordmark-light.svg
- zloud-wordmark-mono.svg
app/src/app/(app)/progress/page.tsx
1import fs from "node:fs";2import path from "node:path";3import { Badge, Bar, Card, MaturityBadge, PageHeader, Stat, fmtBytes, fmtUptime, ago } from "@/components/ui";4import { Ring } from "@/components/charts";5import { MODULES, progress, MATURITY_LABEL, type Maturity } from "@/lib/modules";6import { snapshot } from "@/lib/metrics";7import { db, enterScope } from "@/lib/db";8import { gitInfo, ROOT } from "@/lib/files";9import { DESIGN_ROOT, readManifest } from "@/lib/design";10export const dynamic = "force-dynamic";11export const metadata = { title: "Progress & Evidence" };12const bullets = (f: string) => { try { return fs.readFileSync(path.join(ROOT, f), "utf8").split("\n").filter(l => /^\s*-\s/.test(l)).map(l => l.replace(/^\s*-\s*/, "")).slice(0, 12); } catch { return []; } };13export default async function Progress() {14 enterScope({ org: "org_owner", mode: "demo" }); // public, read-only deployment history (database enforces read-only)15 const p = progress(); const s = snapshot(); const git = gitInfo();16 const dep = await db().prepare("SELECT * FROM deployments ORDER BY started_at DESC LIMIT 1").get() as any;17 let qa: any = null; try { qa = JSON.parse(fs.readFileSync(path.join(DESIGN_ROOT, "verification", "results.json"), "utf8")); } catch {}18 const shots = readManifest().files.filter(f => f.path.startsWith("screenshots/") && f.path.endsWith(".png")).map(f => f.path.slice(12));19 return <>20 <PageHeader title="Progress & Evidence" desc="Computed from the module registry — each feature is weighted by verified maturity, not by guesswork. Public view contains no secrets." />21 <div className="grid gap-3 sm:grid-cols-2 lg:grid-cols-4">22 <Card><div className="flex items-center gap-4"><Ring pct={p.pct} label="Overall progress" /><div><div className="text-xs text-muted">Overall</div><div className="text-sm">{p.total} features</div><div className="text-xs text-muted">weighted: functional 1 · partial ½ · demo ¼</div></div></div></Card>23 <Stat label="Release" value={dep?.version ?? "—"} sub={dep ? `${dep.status} · ${ago(dep.started_at)}` : "no deployment recorded"} />24 <Stat label="Git" value={git.head || "—"} sub={`${git.branch || "no branch"} · ${git.status.length ? `${git.status.length} uncommitted` : "clean"}`} />25 <Stat label="Server" value={`${s.cpu.toFixed(0)}% CPU`} sub={`${s.mem.pct.toFixed(0)}% RAM · ${s.disk.pct.toFixed(0)}% disk · up ${fmtUptime(s.host.uptimeSec)}`} /></div>26 <div className="mt-4 grid gap-4 lg:grid-cols-3">27 <Card title="Maturity breakdown">{(Object.keys(MATURITY_LABEL) as Maturity[]).map(k => <div key={k} className="flex justify-between border-b border-line py-1.5 text-sm last:border-0"><span>{MATURITY_LABEL[k]}</span><span className="tabular-nums">{p.counts[k] ?? 0}</span></div>)}</Card>28 <Card title="Per-module progress" className="lg:col-span-2"><div className="grid gap-x-6 gap-y-2 sm:grid-cols-2">{p.perModule.map(m => <div key={m.id}><div className="flex justify-between text-xs"><span>{m.id} · {m.title}</span><span className="tabular-nums text-muted">{m.pct}%</span></div><Bar pct={m.pct} label={m.title} /></div>)}</div></Card></div>29 <Card title="Feature completion matrix" className="mt-4" pad={false}><div className="scroll-x"><table className="tbl"><thead><tr><th>Module</th><th>Feature</th><th>State</th><th>Note</th></tr></thead><tbody>30 {MODULES.flatMap(m => m.features.map((f, i) => <tr key={m.id + f.name}><td className="whitespace-nowrap font-medium">{i === 0 ? `${m.id} ${m.title}` : ""}</td><td>{f.name}</td><td><MaturityBadge state={f.state} /></td><td className="text-muted">{f.note ?? ""}</td></tr>))}</tbody></table></div></Card>31 <div className="mt-4 grid gap-4 lg:grid-cols-2">32 <Card title="Browser QA results">{qa ? <><div className="mb-2 text-sm text-muted">Run {ago(qa.finished)} · {qa.passed}/{qa.total} checks passed</div><div className="scroll-x"><table className="tbl"><thead><tr><th>Viewport</th><th>Pages</th><th>Overflow</th><th>Console errors</th></tr></thead><tbody>{qa.viewports.map((v: any) => <tr key={v.name}><td>{v.name} <span className="text-muted">{v.w}×{v.h}</span></td><td>{v.pagesOk}/{v.pages}</td><td>{v.overflow.length ? <Badge tone="err">{v.overflow.length}</Badge> : <Badge tone="ok">none</Badge>}</td><td>{v.consoleErrors.length ? <Badge tone="err">{v.consoleErrors.length}</Badge> : <Badge tone="ok">none</Badge>}</td></tr>)}</tbody></table></div></> : <p className="text-sm text-muted">No QA run recorded yet.</p>}</Card>33 <Card title="Evidence links"><ul className="space-y-1 text-sm"><li><a className="text-accent hover:underline" href="/design-assets/manifest.json">/design-assets/manifest.json</a></li><li><a className="text-accent hover:underline" href="/design-assets/verification/results.json">/design-assets/verification/results.json</a></li>{shots.slice(0, 6).map(f => <li key={f}><a className="text-accent hover:underline" href={`/design-assets/screenshots/${f}`}>/design-assets/screenshots/{f}</a></li>)}</ul></Card></div>34 <Card title="Latest screenshots" className="mt-4">{shots.length ? <div className="grid gap-3 sm:grid-cols-2 lg:grid-cols-4">{shots.filter(f => /dashboard|command/.test(f)).slice(0, 4).map(f => <a key={f} href={`/design-assets/screenshots/${f}`}><img className="aspect-[4/3] w-full rounded border border-line object-cover object-top" src={`/design-assets/screenshots/${f}`} alt={f} loading="lazy" /><div className="mt-1 truncate text-xs text-muted">{f}</div></a>)}</div> : <p className="text-sm text-muted">None yet.</p>}</Card>35 <div className="mt-4 grid gap-4 md:grid-cols-2"><Card title="Blockers">{bullets("BLOCKERS.md").map((b, i) => <p key={i} className="border-b border-line py-1.5 text-sm last:border-0">{b}</p>)}</Card><Card title="Next actions">{bullets("NEXT-ACTIONS.md").map((b, i) => <p key={i} className="border-b border-line py-1.5 text-sm last:border-0">{b}</p>)}</Card></div></>;36}37
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 0eebc42 on master.
Approval requests
None pending.