{"slug":"architecture/PLATFORM_LOCK_v1.0","title":"IntegrateWise — Platform Lock v1.0","section":"architecture","sectionLabel":"Architecture","status":"unclassified","type":"document","path":"architecture/PLATFORM_LOCK_v1.0.mdx","bytes":3802,"description":null,"updated":null,"source":"integratewise/Integratewise-docs-wiki","content":"\n**Status**: FROZEN\n**Date**: July 17, 2026\n\n---\n\n> Platform Lock is the milestone where the platform's contracts become stable and versioned. From this point onward, all frontend experiences are assembled from those contracts rather than introducing new platform concepts.\n\n## What Is Frozen\n\n1. **Product Doctrine** — never changes\n2. **The 12 Kernel Terms** — irreducible vocabulary\n3. **The Runtime Sequence** — frozen order, implementation can improve\n4. **Adaptive Spine Contract** — identity, fields, relationships, timeline, provenance, permissions, capabilities\n5. **Capability Fabric Model** — actions become capabilities, routing is platform responsibility\n\n## The Runtime Sequence (Frozen)\n\n```\nConfiguration → Integration → Pipeline → Adaptive Spine → Workbench Composition\n→ Continuity Bridge → User Workbench → Twin → Capability → Governance\n→ Hermes → Sync → Promotion\n```\n\n## The Frontend Knows Only Six Concepts\n\n```\nEntity · Projection · Capability · Signal · Context · Twin\n```\n\nNothing else. No OAuth, MCP, Cloudflare, provider APIs, connector SDKs, databases.\n\n## The Workbench Is the Frontend Runtime\n\n```\nUser Workbench\n    ├── Entity Runtime\n    ├── Capability Runtime\n    ├── Timeline Runtime\n    ├── Signal Runtime\n    ├── Twin Runtime\n    └── Context Runtime\n```\n\n## Platform Lock Implementation Order\n\n| #   | Layer                      | Responsibility                                                   |\n| --- | -------------------------- | ---------------------------------------------------------------- | ------------- |\n| 1   | Adaptive Spine Runtime     | Canonical entity model                                           |\n| 2   | Projection Engine          | Assemble workbench projections                                   |\n| 3   | User Workbench Runtime     | Universal frontend shell                                         |\n| 4   | Twin Runtime               | Embedded cognitive assistance                                    |\n| 5   | Capability Runtime         | Governed operation invocation                                    |\n| 6   | Department Projections     | Customer Success, Sales, Finance, HR, Operations                 |\n| 7   | Role-Specific Compositions | Different views over same Spine                                  |\n| 8   | **Microfrontends**         | Three invokable surfaces (Auth+Connectors, Onboarding, Platform) | ✅ Scaffolded |\n\n## The Tagline\n\n> **Truth you own. AI you rent. Approval in between.**\n\n## Current Status\n\n**Platform Lock: DECLARED**\n**Version: 1.0**\n**Status: FROZEN**\n\n## Deployment Surfaces (Frozen)\n\n| Surface | Environment alias     | Worker name suffix | Route pattern                                        |\n| ------- | --------------------- | ------------------ | ---------------------------------------------------- |\n| Live    | `prod` / `production` | `-prod`            | `*.integratewise.ai`                                 |\n| Demo    | `test`                | `-test`            | `*.test.integratewise.ai` / `*.dev.integratewise.ai` |\n| Local   | default / `dev`       | none               | `localhost`                                          |\n\n**Invariant**\n\n- All `services/*/wrangler.toml` environments deploy through the same surface boundary.\n- `--env prod` is canonical; `--env production` is retained as an alias only.\n- Demo and live never share KV/Queue/D1 bindings.\n- MCP Connector explicit isolation:\n  - Live: `mcp-connector-prod`\n  - Demo: `mcp-connector-test`\n\n**Customer Zero Identity**\n\n- `TENANT_ID`, `ORG_ID`, `CLIENT_ID` are defined in `wrangler.toml` for customer zero only.\n- Runtime consumption remains deferred until auth source wiring is safe to commit.\n"}