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-onlydesign/verification/tenant-isolation.json
1{2 "finished": "2026-12-01T01:40:47.705Z",3 "passed": 103,4 "total": 103,5 "checks": [6 {7 "n": "setup: two customer tenants created by the platform admin (token shown once)",8 "ok": true9 },10 {11 "n": "gate: customer sign-in REFUSED while trusted HTTPS is not attested (default)",12 "ok": true13 },14 {15 "n": "gate: platform owner is unaffected by the customer gate",16 "ok": true17 },18 {19 "n": "gate: dev override requires the typed phrase",20 "ok": true21 },22 {23 "n": "gate: with the dev override on, each tenant owner signs in",24 "ok": true25 },26 {27 "n": "A resources created (instance, managed instance, project, file, AI session with reply)",28 "ok": true29 },30 {31 "n": "isolation: B's project list excludes A's project",32 "ok": true33 },34 {35 "n": "isolation: B cannot PATCH A's project (404, existence not leaked)",36 "ok": true37 },38 {39 "n": "isolation: B cannot add tasks/milestones to A's project",40 "ok": true41 },42 {43 "n": "isolation: B cannot read A's workspace file",44 "ok": true45 },46 {47 "n": "isolation: B cannot write/upload/git in A's workspace",48 "ok": true49 },50 {51 "n": "isolation: workspace path traversal into another tenant's directory rejected",52 "ok": true53 },54 {55 "n": "isolation: A's file content never changed",56 "ok": true57 },58 {59 "n": "isolation: B's AI session list excludes A's",60 "ok": true61 },62 {63 "n": "isolation: B cannot read/message/control/stream A's AI session",64 "ok": true65 },66 {67 "n": "isolation: B cannot subscribe to A's event stream (SSE 404)",68 "ok": true69 },70 {71 "n": "isolation: B cannot create an AI session in A's project",72 "ok": true73 },74 {75 "n": "isolation: B cannot modify/see A's instances",76 "ok": true77 },78 {79 "n": "isolation: B cannot request provisioning or enroll against A's instances",80 "ok": true81 },82 {83 "n": "isolation: B's team list shows only B members",84 "ok": true85 },86 {87 "n": "isolation: B cannot change A's member role (membership is org-scoped)",88 "ok": true89 },90 {91 "n": "isolation: B cannot switch into A's organization",92 "ok": true93 },94 {95 "n": "isolation: client-supplied org ids are ignored (no orgId parameter exists on tenant APIs)",96 "ok": true97 },98 {99 "n": "credentials: B's integrations page shows nothing of A's key",100 "ok": true101 },102 {103 "n": "credentials: A's integrations page shows A's key hint",104 "ok": true105 },106 {107 "n": "credentials: B deleting 'anthropic' cannot remove A's credential",108 "ok": true109 },110 {111 "n": "credentials: B's real-provider session reports 'awaiting credentials' despite A having a key",112 "ok": true113 },114 {115 "n": "job routing: worker refuses to run B's job with A's credential (own-org key only)",116 "ok": true117 },118 {119 "n": "usage: A's AI usage recorded under A only; B's usage is separate",120 "ok": true121 },122 {123 "n": "spending limits: A's per-organization cap blocks the call before it is made",124 "ok": true125 },126 {127 "n": "spending limits: B (own cap) is unaffected by A's cap",128 "ok": true129 },130 {131 "n": "rbac: viewer reads but cannot create projects/instances/AI sessions/files",132 "ok": true133 },134 {135 "n": "rbac: developer can build (projects/files) but cannot manage instances, servers, credentials or team",136 "ok": true137 },138 {139 "n": "rbac: admin cannot grant a role above its own",140 "ok": true141 },142 {143 "n": "rbac: the last owner cannot be demoted or removed",144 "ok": true145 },146 {147 "n": "rbac: removing a member revokes their sessions",148 "ok": true149 },150 {151 "n": "quota: project quota enforced per organization (409)",152 "ok": true153 },154 {155 "n": "quota: instance quota enforced",156 "ok": true157 },158 {159 "n": "switching: existing account can be added to a second organization (no new token)",160 "ok": true161 },162 {163 "n": "switching: after switching, A's owner sees only B's data and acts with the viewer role there",164 "ok": true165 },166 {167 "n": "switching: switching back restores A's data",168 "ok": true169 },170 {171 "n": "separation: customer owner cannot use Super Admin / platform APIs",172 "ok": true173 },174 {175 "n": "separation: customer cannot open platform pages",176 "ok": true177 },178 {179 "n": "separation: Super Admin data contains no customer secrets, files or AI content",180 "ok": true181 },182 {183 "n": "separation: platform admin sees customer tenants only as metadata (orgs, counts)",184 "ok": true185 },186 {187 "n": "separation: platform admin cannot silently read customer files / AI sessions (scoped to its own tenant)",188 "ok": true189 },190 {191 "n": "separation: no terminal or shell endpoint exists for anyone",192 "ok": true193 },194 {195 "n": "audit: each tenant sees only its own activity; platform sees all",196 "ok": true197 },198 {199 "n": "managed: customer requests provisioning (instance -> pending_provisioning)",200 "ok": true201 },202 {203 "n": "managed: B cannot see A's request, nor activate a managed instance without a server",204 "ok": true205 },206 {207 "n": "managed: only a platform admin can decide requests",208 "ok": true209 },210 {211 "n": "managed: approval assigns inventory and activates the instance; no second assignment",212 "ok": true213 },214 {215 "n": "managed: assigned server visible to A only",216 "ok": true217 },218 {219 "n": "managed: lifecycle transitions validated (terminated is final)",220 "ok": true221 },222 {223 "n": "package: manifest signing key equals the key committed in the repository (independent trust anchor)",224 "ok": true225 },226 {227 "n": "package: downloaded package matches manifest SHA-256",228 "ok": true229 },230 {231 "n": "package: signature VALID against the repository key",232 "ok": true233 },234 {235 "n": "package: tampered package is rejected (INVALID, exit 1)",236 "ok": true237 },238 {239 "n": "package: only manifest-listed files are downloadable",240 "ok": true241 },242 {243 "n": "enroll: token is tenant-bound, single-use, short-lived (15 min) and shown once",244 "ok": true245 },246 {247 "n": "enroll: managed-target instance cannot take an external enrollment",248 "ok": true249 },250 {251 "n": "enroll: verified TLS by default — a self-signed server is refused without --pin",252 "ok": true253 },254 {255 "n": "enroll: wrong TLS pin is refused (token not consumed)",256 "ok": true257 },258 {259 "n": "enroll: agent enrolls with the correct pin",260 "ok": true261 },262 {263 "n": "enroll: replay of a used token is rejected",264 "ok": true265 },266 {267 "n": "enroll: expired token is rejected",268 "ok": true269 },270 {271 "n": "enroll: tenant B enrolls its own node",272 "ok": true273 },274 {275 "n": "enroll: node identities are unique and bound to the issuing tenant",276 "ok": true277 },278 {279 "n": "enroll: only a hash of the node secret is stored",280 "ok": true281 },282 {283 "n": "enroll: agent config file is private (0600)",284 "ok": true285 },286 {287 "n": "connect: heartbeats succeed",288 "ok": true289 },290 {291 "n": "connect: server appears ONLINE with node metrics and agent info",292 "ok": true293 },294 {295 "n": "connect: B cannot see A's node and A cannot see B's",296 "ok": true297 },298 {299 "n": "jobs: only safe kinds exist (no command execution)",300 "ok": true301 },302 {303 "n": "jobs: B cannot enqueue a job for A's node",304 "ok": true305 },306 {307 "n": "jobs: B's agent heartbeat does NOT receive A's queued job (routing is node + org bound)",308 "ok": true309 },310 {311 "n": "jobs: A's own agent receives and completes the job",312 "ok": true313 },314 {315 "n": "jobs: another tenant's node cannot post a result for A's job",316 "ok": true317 },318 {319 "n": "jobs: a node id paired with another node's secret is rejected",320 "ok": true321 },322 {323 "n": "gateway: unauthenticated / malformed requests rejected",324 "ok": true325 },326 {327 "n": "gateway: plain HTTP is refused",328 "ok": true329 },330 {331 "n": "reconnect: node goes offline when silent and returns online on reconnect",332 "ok": true333 },334 {335 "n": "domain migration: an enrolled agent adopts a changed gateway URL announced by the authenticated server and keeps working",336 "ok": true337 },338 {339 "n": "revoke: customer developer cannot revoke; admin can",340 "ok": true341 },342 {343 "n": "revoke: a revoked node cannot reconnect (agent exits 3 on 'credential rejected')",344 "ok": true345 },346 {347 "n": "revoke: raw heartbeat with the old credential is refused (403)",348 "ok": true349 },350 {351 "n": "revoke: the used token cannot be replayed to re-enroll a revoked node",352 "ok": true353 },354 {355 "n": "revoke: another tenant cannot revoke A's node",356 "ok": true357 },358 {359 "n": "UI desktop: all 15 customer console pages render with one h1 and no horizontal overflow",360 "ok": true361 },362 {363 "n": "UI: customer generates an enrollment token and sees install instructions",364 "ok": true365 },366 {367 "n": "UI: team page lists members with roles",368 "ok": true369 },370 {371 "n": "UI: organization name shown in the tenant switcher",372 "ok": true373 },374 {375 "n": "UI mobile: all 15 customer console pages render with one h1 and no horizontal overflow",376 "ok": true377 },378 {379 "n": "UI mobile: Super Admin has no horizontal overflow",380 "ok": true381 },382 {383 "n": "UI: no page errors across customer and super-admin pages",384 "ok": true385 },386 {387 "n": "gate: closing it ends customer sessions immediately (401)",388 "ok": true389 },390 {391 "n": "gate: customer agents are refused at the gateway while the gate is closed (403)",392 "ok": true393 },394 {395 "n": "gate: platform owner still operates normally",396 "ok": true397 },398 {399 "n": "owner data: pre-existing projects live in the protected owner tenant, none orphaned",400 "ok": true401 },402 {403 "n": "owner data: deployment history and audit log preserved",404 "ok": true405 },406 {407 "n": "owner data: audit hash chain verifies after all tenant activity",408 "ok": true409 },410 {411 "n": "owner tenant is protected (cannot be suspended)",412 "ok": true413 },414 {415 "n": "cleanup: test fixtures removed; no QA tenants remain",416 "ok": true417 }418 ]419}
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.