Skip to content
  1. Home
  2. workspace
Checking…
Demo view — sanitized data only. Sign in over HTTPS to create projects and manage the workspace.

AI Engineering Workspace

Partial

Chat, 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

app/src/lib/modules.ts

1// Single source for module maturity. The /progress page and feature matrix compute from this — no arbitrary percentages.
2export type Maturity = "functional" | "partial" | "demo" | "awaiting" | "blocked" | "notstarted";
3export const WEIGHT: Record<Maturity, number> = { functional: 1, partial: 0.5, demo: 0.25, awaiting: 0, blocked: 0, notstarted: 0 };
4export const MATURITY_LABEL: Record<Maturity, string> = {
5 functional: "Functional", partial: "Partial", demo: "Demo only", awaiting: "Awaiting credentials", blocked: "Blocked", notstarted: "Not started" };
6
7export type Feature = { name: string; state: Maturity; note?: string };
8export type ModuleDef = { id: string; title: string; href: string; icon: string; features: Feature[] };
9
10export const MODULES: ModuleDef[] = [
11 { id: "D01", title: "Command Center", href: "/superadmin", icon: "LayoutDashboard", features: [
12 { name: "Live server metrics (SSE)", state: "functional", note: "Real /proc data from this VPS" },
13 { name: "Project counts & recent activity", state: "functional" },
14 { name: "AI usage & cost tile", state: "functional", note: "From the Postgres usage ledger" },
15 { name: "Quick project creation", state: "functional" } ] },
16 { id: "D02", title: "AI Workspace", href: "/workspace", icon: "Sparkles", features: [
17 { name: "Multi-panel layout & view switching", state: "functional" },
18 { name: "Project file tree & code viewer", state: "functional", note: "Read-only, real source" },
19 { name: "Durable AI chat queue (Postgres, worker, retries, pause/resume/cancel, crash recovery)", state: "functional", note: "Verified with the labelled mock test double" },
20 { name: "Anthropic & OpenAI streaming adapters", state: "awaiting", note: "Implemented; never run against the real APIs: no API keys supplied" },
21 { name: "Agent tool execution / code-writing agent", state: "blocked", note: "Chat only. No sandbox: AppArmor blocks user namespaces, no container runtime" },
22 { name: "Terminal panel", state: "blocked", note: "No secure sandbox yet" } ] },
23 { id: "D18", title: "Multi-tenant Foundation & Customer Console", href: "/console", icon: "Cloud", features: [
24 { name: "Tenant context + RBAC (viewer/developer/admin/owner), tenant switching", state: "functional", note: "Verified by 103 isolation checks with two real tenants" },
25 { name: "Tenant-scoped APIs, workers, queues, files, credentials, usage and event streams", state: "functional", note: "Application-enforced (404 for other tenants' ids); PostgreSQL row-level security is NOT implemented" },
26 { name: "Protected owner tenant; existing data migrated", state: "functional" },
27 { name: "Customer console: overview, instances, managed VPS, external VPS, team, billing & usage, settings", state: "functional" },
28 { name: "Web hosting, databases, customer deployments", state: "notstarted", note: "Labelled 'soon'; nothing simulated" },
29 { name: "Zloud Agent 0.1.1 + gateway (enroll, heartbeat, safe jobs, revoke)", state: "partial", note: "Ed25519-signed package, pinned/verified TLS, single-use 15-min tokens; tested on this host only, not on an independent server" },
30 { name: "Managed cloud foundation: inventory, plans, quotas, provisioning requests, lifecycle, usage records", state: "functional", note: "Records only; nothing is purchased or charged" },
31 { name: "Zoo IAM OIDC (PKCE) sign-in", state: "awaiting", note: "Not implemented; config keys prepared; needs dedicated client credentials" },
32 { name: "Trusted HTTPS on cloud.zoobd.com", state: "partial", note: "Trusted certificate live on :8443; standard :443 needs a dedicated proxy or provider forwarding (owner action, deploy/caddy/INSTALL.md); customer sign-in stays disabled until all gates pass" } ] },
33 { id: "D17", title: "Super Admin", href: "/superadmin/platform", icon: "Crown", features: [
34 { name: "Platform administration separate from customer roles", state: "functional" },
35 { name: "Tenants, quotas, managed inventory, plans, provisioning decisions", state: "functional" },
36 { name: "Trusted-HTTPS gate for customer operations", state: "functional", note: "Customer sign-in is OFF until trusted TLS is attested or the dev override is enabled" },
37 { name: "PostgreSQL row-level security (non-owner runtime role, tenant-scoped worker)", state: "functional", note: "53 direct database checks; GUC-based: protects against logic bugs, not SQL injection" },
38 { name: "Zoo IAM OIDC (code+PKCE, JWKS, back-channel logout)", state: "partial", note: "Implemented and tested with forged-token fixtures; live sign-in BLOCKED until the zoo-cloud-studio client secret is provisioned" },
39 { name: "Zoo Central adapters (registry, access, org hub, notifications, approvals, audit, health, My Apps, profile)", state: "partial", note: "Cloud-side contracts + sanitized outbox only; no Central API is documented, nothing is live" } ] },
40 { id: "D15", title: "AI Engines", href: "/engines", icon: "Cpu", features: [
41 { name: "Engine registry, discovery, health and defaults", state: "functional" },
42 { name: "OpenCode 2.4.2 engine (free models, deny-by-default permissions)", state: "functional", note: "Live run verified against OpenCode's documented free model; no paid provider credentials" },
43 { name: "Per-project workspace lock, git worktree isolation, guarded merge", state: "functional" },
44 { name: "Engine-independent checkpoints, authorized fallback handoff", state: "functional", note: "Verified with test doubles and a live OpenCode run" },
45 { name: "Claude Code engine", state: "blocked", note: "Subscription login is not an application credential; no sandbox" },
46 { name: "Codex engine", state: "notstarted" } ] },
47 { id: "D16", title: "Zloud Public Site & Onboarding", href: "/", icon: "Globe", features: [
48 { name: "Landing, pricing, docs, status, packages, gateway, contact pages", state: "functional", note: "Services labelled Experimental / Upcoming / Available; no invented prices, counts or SLAs" },
49 { name: "Real sanitized public status (/status, /api/status)", state: "functional" },
50 { name: "Portable endpoint & cookie configuration (11 keys)", state: "functional", note: "Env > settings > derived; no hostname hard-coded" },
51 { name: "Tenancy tables with domain-independent IDs; dev-only onboarding", state: "partial", note: "Single admin; real tenant isolation waits for Zoo IAM" },
52 { name: "Trusted HTTPS on the public domain", state: "blocked", note: "Self-signed only; needs ports 80/443 or DNS-01 TXT" },
53 { name: "Managed hosting, VPS, agent package, gateway", state: "notstarted", note: "Marketed as Upcoming only" } ] },
54 { id: "D03", title: "Project Wizard", href: "/projects/new", icon: "WandSparkles", features: [
55 { name: "Multi-step wizard with draft persistence", state: "functional" },
56 { name: "Rule-based requirements generation", state: "functional", note: "Deterministic template, not an LLM" },
57 { name: "AI-generated requirements", state: "awaiting" },
58 { name: "File/image upload", state: "notstarted" } ] },
59 { id: "D04", title: "Projects", href: "/projects", icon: "FolderKanban", features: [
60 { name: "Directory, detail, settings, archive", state: "functional" },
61 { name: "Task list (add/toggle)", state: "functional" },
62 { name: "Milestones, dependencies, blockers", state: "notstarted" } ] },
63 { id: "D05", title: "Design Studio", href: "/design", icon: "Palette", features: [
64 { name: "Design tokens & component specs", state: "functional" },
65 { name: "Screenshot gallery & visual QA evidence", state: "functional" },
66 { name: "Design approval workflow", state: "notstarted" } ] },
67 { id: "D06", title: "Files & Code", href: "/files", icon: "Files", features: [
68 { name: "Project-scoped read-only explorer", state: "functional" },
69 { name: "Git status / log (read-only)", state: "functional" },
70 { name: "Safe file modification & upload", state: "notstarted" } ] },
71 { id: "D07", title: "Terminal", href: "/terminal", icon: "SquareTerminal", features: [
72 { name: "Explicit unavailable state", state: "functional" },
73 { name: "Sandboxed browser terminal", state: "blocked", note: "Requires rootless container runtime (needs sudo)" } ] },
74 { id: "D08", title: "Infrastructure", href: "/infrastructure", icon: "Server", features: [
75 { name: "Real CPU/RAM/disk/network metrics", state: "functional" },
76 { name: "Listening services/ports", state: "functional" },
77 { name: "Container inventory", state: "blocked", note: "Docker not installed (needs sudo)" } ] },
78 { id: "D09", title: "Deployments", href: "/deployments", icon: "Rocket", features: [
79 { name: "Deployment records & health evidence", state: "functional", note: "Written by scripts/deploy.sh" },
80 { name: "Rollback", state: "partial", note: "Script supports redeploying a prior commit; UI trigger not wired" },
81 { name: "Build queue", state: "notstarted" } ] },
82 { id: "D10", title: "Domains & DNS", href: "/domains", icon: "Globe", features: [
83 { name: "Provider adapter architecture view", state: "demo" },
84 { name: "GoDaddy / Cloudflare live integration", state: "awaiting" } ] },
85 { id: "D11", title: "Integrations", href: "/integrations", icon: "Plug", features: [
86 { name: "Connector registry & honest states", state: "functional" },
87 { name: "Encrypted credential store + live verification", state: "functional", note: "AES-256-GCM; verified only on a real provider 2xx" },
88 { name: "Any live provider connection", state: "awaiting", note: "No keys supplied" } ] },
89 { id: "D12", title: "Access & Approvals", href: "/access", icon: "ShieldCheck", features: [
90 { name: "Local token auth + sessions", state: "functional" },
91 { name: "Emergency-stop flag & hash-chained audit", state: "functional" },
92 { name: "Zoo IAM OIDC (PKCE)", state: "awaiting", note: "Needs client zoo-cloud-studio" },
93 { name: "Roles & resource permissions", state: "demo" } ] },
94 { id: "D13", title: "Monitoring", href: "/monitoring", icon: "Activity", features: [
95 { name: "Searchable audit log + chain verification", state: "functional" },
96 { name: "Resource history (in-memory)", state: "partial" },
97 { name: "Cost tracking & spend caps", state: "partial", note: "Ledger + pre-call caps work; prices are estimates" } ] },
98 { id: "D14", title: "Settings", href: "/settings", icon: "Settings", features: [
99 { name: "Product name / tagline configuration", state: "functional" },
100 { name: "Retention, notification, security policy", state: "demo" } ] },
101 { id: "AS", title: "Design Asset Hosting", href: "/design-assets/", icon: "Image", features: [
102 { name: "Manifest-allowlisted public serving", state: "functional" },
103 { name: "Authenticated upload API", state: "functional" },
104 { name: "URL ingestion with SSRF guard", state: "functional" },
105 { name: "External ChatGPT handoff connection", state: "awaiting", note: "No external uploader connected" } ] },
106 { id: "D21", title: "Marketplace, Deployments & Domains", href: "/console/marketplace", icon: "Boxes", features: [
107 { name: "Marketplace catalog (10 priority templates with requirements, ports, health, rollback)", state: "functional" },
108 { name: "Deploy Static Website and Node.js to an enrolled server (live logs, health check, start/stop/restart, cancel/retry, rollback, auto-revert on failure)", state: "partial", note: "Verified with a real agent on the SAME host as the control plane; not on an independent VPS" },
109 { name: "Git repository deployment", state: "partial", note: "Implemented; no successful deployment recorded yet, so not labelled verified" },
110 { name: "Nginx, Next.js, PostgreSQL, Redis, OpenCode, WordPress, Docker Compose templates", state: "notstarted", note: "Catalogued with requirements; need Docker/root on the target" },
111 { name: "Agent 0.3.0: rotation, signed upgrade, uninstall (workloads preserved), detached workloads", state: "partial", note: "Tested locally; not on an external VPS" },
112 { name: "Custom domains: ownership TXT, DNS instructions from the real target, primary/redirect, mapping", state: "partial", note: "Live DNS tested for the negative path only; positive path unit-tested" },
113 { name: "Managed reverse proxy (Caddy): validate, safe reload, health check, rollback", state: "partial", note: "Agent logic tested against a STUB caddy; no live Caddy or certificate issuance was tested" },
114 { name: "Customer activation gates: enforced emergency stop, tenant quotas, per-node execution authorization, one-job-per-node isolation, encrypted/redacted secrets, org allowlist", state: "functional", note: "Verified with local tests; customer sign-in remains OFF until you attest (server refuses unless every gate passes) and allowlist test organizations" },
115 { name: "Independent external VPS acceptance (install, enroll, deploy, rollback, rotate, upgrade, revoke, uninstall)", state: "awaiting", note: "Harness qa/external-vps.mjs ready; needs a separately authorized Ubuntu/Debian VPS. Not run." },
116 { name: "Real Caddy integration and certificate issuance", state: "awaiting", note: "Needs Caddy on a server with ports 80/443; only stub-tested" },
117 { name: "Automatic customer certificates and renewal", state: "awaiting", note: "Delegated to Caddy on the customer server (ports 80/443 + root install); unverified" } ] },
118 { id: "D20", title: "Zloud Brand, Owner Access, Acceptance & Nexus Client", href: "/superadmin/acceptance", icon: "ShieldCheck", features: [
119 { name: "Zloud public rebrand (text, titles, manifest, tagline; legacy identifiers kept)", state: "functional" },
120 { name: "Approved Cloud Z Ribbon brand kit (SVG/PNG/favicons/PWA icons)", state: "partial", note: "Generated from the owner's board: SVG marks are a vector redraw (original vector not supplied); PNG crops verbatim; manifest with SHA-256 at /brand/brand-manifest-v2.json" },
121 { name: "Owner e-mail + password sign-in (scrypt, lockout, forced first change, one-time temporary password)", state: "partial", note: "Tested; password sign-in stays OFF until trusted HTTPS exists" },
122 { name: "MFA (TOTP) verification", state: "partial", note: "Verification is enforced for accounts with MFA enabled; the enrolment screen is not built" },
123 { name: "Owner Acceptance Center (manual accept/reject, bug reports, evidence)", state: "functional" },
124 { name: "Zoo Nexus client contract (signed scoped task envelopes, MCP descriptors)", state: "awaiting", note: "Nexus is a separate thread; its API and a credential are needed; nothing is sent" },
125 { name: "Launch hostname cloud.gpt.com", state: "blocked", note: "Not a domain controlled or authorized by the owner: not configured. cloud.zoobd.com remains the canonical host" },
126 { name: "Trusted HTTPS for cloud.zoobd.com", state: "partial", note: "Issued and verified on :8443 (expires 2027-02-27); renewal is manual until DNS API credentials or the Caddy proxy exist" },
127 { name: "Application marketplace & one-click deployment", state: "notstarted" } ] },
128];
129
130export function progress() {
131 const feats = MODULES.flatMap(m => m.features);
132 const score = feats.reduce((a, f) => a + WEIGHT[f.state], 0);
133 const counts = feats.reduce((a, f) => ({ ...a, [f.state]: (a[f.state] || 0) + 1 }), {} as Record<string, number>);
134 return { pct: Math.round((100 * score) / feats.length), total: feats.length, counts,
135 perModule: MODULES.map(m => ({ id: m.id, title: m.title, pct: Math.round(100 * m.features.reduce((a, f) => a + WEIGHT[f.state], 0) / m.features.length) })) };
136}
137export function moduleState(id: string): Maturity {
138 const m = MODULES.find(x => x.id === id)!;
139 const p = m.features.reduce((a, f) => a + WEIGHT[f.state], 0) / m.features.length;
140 return p >= 0.99 ? "functional" : p >= 0.4 ? "partial" : m.features.some(f => f.state === "blocked") ? "blocked" : m.features.some(f => f.state === "awaiting") ? "awaiting" : "demo";
141}
142

Conversation

Partial
Sign in to start AI sessions.

Task checklist

  • Application shell deployed
  • Persistent projects
  • Agent runtime
  • Sandboxed terminal

Execution activity

No agent sessions. Git HEAD 1c27633 on master.

Approval requests

None pending.