{"slug":"platform/01-platform-architecture","title":"01 — Platform Architecture","section":"platform","sectionLabel":"Platform","status":"unclassified","type":"document","path":"platform/01-platform-architecture.mdx","bytes":5285,"description":null,"updated":null,"source":"integratewise/Integratewise-docs-wiki","content":"\n> **EXTRACTED / NOT CANONICAL.** Preserve as source material only. D1/DO are\n> operational state, not canonical entities. See\n> [`../architecture/ARCHITECTURE_LOCK.md`](../architecture/ARCHITECTURE_LOCK.md).\n\n> **Extracted from:** IntegrateWise Platform Specification Suite\n> **Region:** first_pass\n> **Original line:** 535\n> **Lines:** 64 | **Chars:** 2,852\n> **Status:** Raw extraction — requires review and canonicalization\n\n01 — Platform Architecture\n1.1 Reference layers\nCopy┌────────────────────────────────────────────────────────────────────┐\n│ Distribution surfaces: ChatGPT · Claude · Perplexity · Web · Slack │\n└────────────────────────────────────────────────────────────────────┘\n↓\n┌────────────────────────────────────────────────────────────────────┐\n│ Gateway (Cloudflare Worker) RS256 JWT · rate limit · routing │\n└────────────────────────────────────────────────────────────────────┘\n↓\n┌────────────────────────────────────────────────────────────────────┐\n│ Operational Spine (D1 + DO SQL) canonical entities + timeline │\n└────────────────────────────────────────────────────────────────────┘\n↓ ↑ ↑\n┌──────────────────────┐ ┌───────────────────────┐ ┌──────────────┐\n│ Projection Engine │ │ Twin Runtime │ │ Workflows │\n│ (Workbench, Persona, │ │ (OODA, Memory, │ │ (triggers, │\n│ Workspace surfaces) │ │ Persona Grammar) │ │ retries) │\n└──────────────────────┘ └───────────────────────┘ └──────────────┘\n↓\n┌────────────────────────────────────────────────────────────────────┐\n│ Capability Fabric (registry + SDK) sync_mode = soft|real|propose │\n└────────────────────────────────────────────────────────────────────┘\n↓\n┌────────────────────────────────────────────────────────────────────┐\n│ Connectors (Nango · MCP · Native · AI Provider) outbound writes │\n└────────────────────────────────────────────────────────────────────┘\n↓\n┌────────────────────────────────────────────────────────────────────┐\n│ Systems of Record (Salesforce, HubSpot, Jira, NetSuite, …) │\n└────────────────────────────────────────────────────────────────────┘\n1.2 Subsystem responsibility matrix (canonical references)\nSubsystem Defined in Runtime contract template\nOperational Spine 02 ✔\nWorkspace Runtime 03 ✔\nProjection Engine 04 ✔\nCapability Fabric 05 ✔\nTwin Runtime 06 ✔\nMemory System 07 ✔\nConnector Framework 08 ✔\nGovernance Engine 09 ✔\nSignal Engine 10 ✔\nWorkflow Engine 11 ✔\nEntity Framework 12 ✔\nMarketplace 13 ✔\nSecurity 14 ✔\nDeployment 15 ✔\nObservability 16 ✔\nSDKs 17 n/a (delivery)\nUI/Design System 18 n/a (delivery)\nAPI Contracts 19 n/a (delivery)\nRunbooks 20 n/a (delivery)\n1.3 Runtime contract template (used by every numbered subsystem)\nEach subsystem spec below contains these fields, in this order:\n\nResponsibilities — what this subsystem owns.\nInputs — events, APIs, scheduled inputs.\nOutputs — events, APIs, persisted rows.\nEvents produced — names emitted onto the Event Bus (10).\nEvents consumed — names subscribed-to from the Event Bus.\nAPIs — Gateway routes / worker RPCs that touch this subsystem.\nState transitions — the lifecycle state machine.\nFailure handling — retries, fallbacks, dead-letter.\nExtension points — how external code injects behavior.\n"}