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
docs/ZOO-CENTRAL-INTEGRATION.md
1# Zoo Central integration (v0.7.0 readiness)23**Status: Cloud-side contracts and adapters are prepared and tested. Nothing is live.** No Zoo Central API is documented to this project, so no endpoint was invented, assumed or contacted. Zoo IAM is a standard OIDC provider and is the only integration with a known protocol (see `ZOO-IAM-KEYCLOAK.md`).45## Boundaries6| Class | Description | Internal Zoo apps | Enforcement |7|---|---|---|---|8| internal org | Zoo Bangladesh's own organization (`org_owner`, explicit opt-in per org, typed phrase) | only via explicit `app_entitlements(org,user,app)` | API + DB trigger `ent_guard` |9| customer org | external commercial customers | **never** (entitlements refused at DB level; reverting an org to customer deletes its entitlements) | trigger (also for the runtime role) |10| platform admin | operates the platform; separate from every tenant role; never derived from e-mail/domain | metadata only (RLS `platform` mode cannot read projects/AI/credentials/jobs) | RLS |11| managed infrastructure | Zoo-owned servers assigned to a tenant | tenant sees only its assigned rows | RLS policy on `assigned_org_id` |12| customer-owned VPS | enrolled via agent | tenant-bound node credentials | existing gateway checks + RLS |1314## Identity15`(issuer, subject)` is the only external key (`external_identities`). A first-time identity gets a fresh user with no organization and no platform rights. E-mail never links accounts. An invitation is accepted only for a **verified** e-mail and grants only the invited role in the inviting org.1617## Registration contract18`GET /.well-known/zoo-cloud-registration.json` (`zoo.cloud.registration/v1`): stable `application.id` (random, stored once, independent of any hostname), identity block, endpoints derived from configuration, tenancy model, data policy. After a domain migration the `id`, identity and tenancy are unchanged; the previous public endpoint is listed under `portability.previousEndpoints`.1920## Metadata-only events (outbox)21Allowlisted kinds: `audit.activity`, `service.health`, `notification.request`, `approval.request`. Unknown fields, free text, secret-looking keys and over-long values are **rejected**. Organizations are referenced by an explicit opaque mapping (`org_mappings.central_ref`) or a salted hash — never a hostname. Never synchronized: customer secrets and provider keys, source code/files, terminal contents, AI conversations/prompts, node credentials/tokens, cookies. The delivery worker is intentionally not built until a Central endpoint is documented; events would only be queued.2223## States shown in Super Admin → Zoo Central integration24`Blocked` (needs something outside this project) · `Cloud side prepared` · `Endpoint set, untested` · `Live` (reserved for a recorded successful probe — currently impossible).25
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.