[{"data":1,"prerenderedAt":430},["ShallowReactive",2],{"navigation":3,"\u002Farchitecture\u002Ftenancy":250,"\u002Farchitecture\u002Ftenancy-surround":425},[4,28,56,91,117,135,169,224],{"title":5,"path":6,"stem":7,"children":8,"icon":27},"Start here","\u002Fgetting-started","1.getting-started\u002F1.index",[9,11,15,19,23],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Decisions and open gates","\u002Fgetting-started\u002Fdecisions","1.getting-started\u002F2.decisions",{"title":16,"path":17,"stem":18},"Scope and non-goals","\u002Fgetting-started\u002Fscope","1.getting-started\u002F3.scope",{"title":20,"path":21,"stem":22},"Organization pilot","\u002Fgetting-started\u002Fpilot","1.getting-started\u002F4.pilot",{"title":24,"path":25,"stem":26},"Economics and quotas","\u002Fgetting-started\u002Feconomics","1.getting-started\u002F5.economics","i-lucide-compass",{"title":29,"path":30,"stem":31,"children":32,"icon":55},"Architecture","\u002Farchitecture","2.architecture\u002F1.index",[33,35,39,43,47,51],{"title":34,"path":30,"stem":31},"System architecture",{"title":36,"path":37,"stem":38},"Trust zones","\u002Farchitecture\u002Ftrust-zones","2.architecture\u002F2.trust-zones",{"title":40,"path":41,"stem":42},"Control plane","\u002Farchitecture\u002Fcontrol-plane","2.architecture\u002F3.control-plane",{"title":44,"path":45,"stem":46},"Organization tenancy","\u002Farchitecture\u002Ftenancy","2.architecture\u002F4.tenancy",{"title":48,"path":49,"stem":50},"Core data model","\u002Farchitecture\u002Fdata-model","2.architecture\u002F5.data-model",{"title":52,"path":53,"stem":54},"Codebase organization","\u002Farchitecture\u002Fcodebase","2.architecture\u002F6.codebase","i-lucide-layers",{"title":57,"icon":58,"path":59,"stem":60,"children":61,"page":90},"Identity and security","i-lucide-shield-check","\u002Fsecurity","3.security",[62,66,70,74,78,82,86],{"title":63,"path":64,"stem":65},"Identity and sessions","\u002Fsecurity\u002Fidentity","3.security\u002F1.identity",{"title":67,"path":68,"stem":69},"Domains and TLS","\u002Fsecurity\u002Fdomains","3.security\u002F2.domains",{"title":71,"path":72,"stem":73},"Ingress and egress","\u002Fsecurity\u002Fnetworking","3.security\u002F3.networking",{"title":75,"path":76,"stem":77},"Access policies and WAF-lite","\u002Fsecurity\u002Faccess-policies","3.security\u002F4.access-policies",{"title":79,"path":80,"stem":81},"Secrets and integrations","\u002Fsecurity\u002Fsecrets-integrations","3.security\u002F5.secrets-integrations",{"title":83,"path":84,"stem":85},"Governance and ownership","\u002Fsecurity\u002Fgovernance","3.security\u002F6.governance",{"title":87,"path":88,"stem":89},"Threat model","\u002Fsecurity\u002Fthreat-model","3.security\u002F7.threat-model",false,{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":90},"Building applications","i-lucide-code","\u002Fdevelopment","4.development",[97,101,105,109,113],{"title":98,"path":99,"stem":100},"AI and MCP","\u002Fdevelopment\u002Fai-mcp","4.development\u002F1.ai-mcp",{"title":102,"path":103,"stem":104},"Source control","\u002Fdevelopment\u002Fsource-control","4.development\u002F2.source-control",{"title":106,"path":107,"stem":108},"Sandboxed builds","\u002Fdevelopment\u002Fbuilds","4.development\u002F3.builds",{"title":110,"path":111,"stem":112},"Runtime contract and SDK","\u002Fdevelopment\u002Fruntime-contract","4.development\u002F4.runtime-contract",{"title":114,"path":115,"stem":116},"APIs and protocols","\u002Fdevelopment\u002Fapi","4.development\u002F5.api",{"title":118,"icon":119,"path":120,"stem":121,"children":122,"page":90},"Runtime and delivery","i-lucide-rocket","\u002Fdelivery","5.delivery",[123,127,131],{"title":124,"path":125,"stem":126},"Runtime clusters and previews","\u002Fdelivery\u002Fruntime-clusters","5.delivery\u002F1.runtime-clusters",{"title":128,"path":129,"stem":130},"Deployments and approvals","\u002Fdelivery\u002Fdeployments","5.delivery\u002F2.deployments",{"title":132,"path":133,"stem":134},"Databases and recovery","\u002Fdelivery\u002Fdata-recovery","5.delivery\u002F3.data-recovery",{"title":136,"icon":137,"path":138,"stem":139,"children":140,"page":90},"Operations","i-lucide-activity","\u002Foperations","6.operations",[141,145,149,153,157,161,165],{"title":142,"path":143,"stem":144},"Observability and audit","\u002Foperations\u002Fobservability","6.operations\u002F1.observability",{"title":146,"path":147,"stem":148},"Operating model","\u002Foperations\u002Foperating-model","6.operations\u002F2.operating-model",{"title":150,"path":151,"stem":152},"Deploy and roll back","\u002Foperations\u002Fdeploy-rollback","6.operations\u002F3.deploy-rollback",{"title":154,"path":155,"stem":156},"Back up and restore","\u002Foperations\u002Fbackup-restore","6.operations\u002F4.backup-restore",{"title":158,"path":159,"stem":160},"Upgrade and patch","\u002Foperations\u002Fupgrades","6.operations\u002F5.upgrades",{"title":162,"path":163,"stem":164},"Rotate keys and credentials","\u002Foperations\u002Fkey-rotation","6.operations\u002F6.key-rotation",{"title":166,"path":167,"stem":168},"Incidents and access revocation","\u002Foperations\u002Fincidents","6.operations\u002F7.incidents",{"title":170,"path":171,"stem":172,"children":173,"icon":223},"Implementation plan","\u002Froadmap","7.roadmap\u002F01.index",[174,175,179,183,187,191,195,199,203,207,211,215,219],{"title":170,"path":171,"stem":172},{"title":176,"path":177,"stem":178},"Phase 0: architecture spikes and ADRs","\u002Froadmap\u002Fphase-0","7.roadmap\u002F02.phase-0",{"title":180,"path":181,"stem":182},"Phase 1: control-plane foundation","\u002Froadmap\u002Fphase-1","7.roadmap\u002F03.phase-1",{"title":184,"path":185,"stem":186},"Phase 2: managed source and change sets","\u002Froadmap\u002Fphase-2","7.roadmap\u002F04.phase-2",{"title":188,"path":189,"stem":190},"Phase 3: sandboxed build system","\u002Froadmap\u002Fphase-3","7.roadmap\u002F05.phase-3",{"title":192,"path":193,"stem":194},"Phase 4: runtime and data plane","\u002Froadmap\u002Fphase-4","7.roadmap\u002F06.phase-4",{"title":196,"path":197,"stem":198},"Phase 5: deployment, preview, migration, and recovery","\u002Froadmap\u002Fphase-5","7.roadmap\u002F07.phase-5",{"title":200,"path":201,"stem":202},"Phase 6: Entra identity and security policy","\u002Froadmap\u002Fphase-6","7.roadmap\u002F08.phase-6",{"title":204,"path":205,"stem":206},"Phase 7: MCP and AI-native workflow","\u002Froadmap\u002Fphase-7","7.roadmap\u002F09.phase-7",{"title":208,"path":209,"stem":210},"Phase 8: Pilot hardening","\u002Froadmap\u002Fphase-8","7.roadmap\u002F10.phase-8",{"title":212,"path":213,"stem":214},"Phase 9: developer hybrid and v1 GA","\u002Froadmap\u002Fphase-9","7.roadmap\u002F11.phase-9",{"title":216,"path":217,"stem":218},"Test strategy","\u002Froadmap\u002Ftesting","7.roadmap\u002F12.testing",{"title":220,"path":221,"stem":222},"Definition of done","\u002Froadmap\u002Fdefinition-of-done","7.roadmap\u002F13.definition-of-done","i-lucide-list-checks",{"title":225,"icon":226,"path":227,"stem":228,"children":229,"page":90},"Reference","i-lucide-book-open","\u002Freference","8.reference",[230,234,238,242,246],{"title":231,"path":232,"stem":233},"Plan coverage","\u002Freference\u002Fplan-coverage","8.reference\u002F1.plan-coverage",{"title":235,"path":236,"stem":237},"Decision register","\u002Freference\u002Fdecisions","8.reference\u002F2.decisions",{"title":239,"path":240,"stem":241},"Glossary","\u002Freference\u002Fglossary","8.reference\u002F3.glossary",{"title":243,"path":244,"stem":245},"Sources","\u002Freference\u002Fsources","8.reference\u002F4.sources",{"title":247,"path":248,"stem":249},"Contributing and docs access","\u002Freference\u002Fcontributing","8.reference\u002F5.contributing",{"id":251,"title":44,"body":252,"description":418,"extension":419,"links":420,"meta":421,"navigation":422,"path":45,"seo":423,"stem":46,"__hash__":424},"docs\u002F2.architecture\u002F4.tenancy.md",{"type":253,"value":254,"toc":410},"minimark",[255,271,276,284,287,297,300,313,316,320,323,363,366,370,373,376,382,385,391,394,398],[256,257,258],"note",{},[259,260,261,265,266,270],"p",{},[262,263,264],"strong",{},"v1 design baseline."," This page specifies intended behavior. Delivery and validation are tracked in the ",[267,268,269],"a",{"href":171},"implementation plan","; it is not a claim that the platform is already implemented.",[272,273,275],"h2",{"id":274},"organization-is-the-root-tenant","Organization is the root tenant",[259,277,278,279,283],{},"Every tenant-owned resource includes an immutable ",[280,281,282],"code",{},"organization_id",".",[259,285,286],{},"Examples:",[288,289,295],"pre",{"className":290,"code":292,"language":293,"meta":294},[291],"language-text","applications\nenvironments\nsource_repositories\nbuilds\ndeployments\ndatabase_instances\nkv_namespaces\nsecrets\nip_lists\naccess_policies\nidentity_providers\naudit_events\nusage_records\n","text","",[280,296,292],{"__ignoreMap":294},[259,298,299],{},"A user may belong to multiple organizations and explicitly switch the active tenant in Filament.",[259,301,302,303,306,307],{},"Filament provides tenant-oriented UI and routing primitives, but its documentation makes clear that tenancy is security-sensitive and that application developers remain responsible for correctly enforcing it. Its ",[280,304,305],{},"canAccessTenant()"," check is specifically necessary to prevent a user from guessing another tenant’s identifier. ",[267,308,312],{"href":309,"rel":310},"https:\u002F\u002Ffilamentphp.com\u002Fdocs\u002F5.x\u002Fusers\u002Ftenancy",[311],"nofollow","Filament tenancy",[259,314,315],{},"Filament tenancy is therefore a UI and routing convenience—not the sole security boundary.",[272,317,319],{"id":318},"defense-in-depth-tenancy-controls","Defense-in-depth tenancy controls",[259,321,322],{},"Use all of the following:",[324,325,326,334,337,340,343,348,351,354,357,360],"ol",{},[327,328,329,330,333],"li",{},"Explicit ",[280,331,332],{},"TenantContext"," passed to application services.",[327,335,336],{},"Laravel policies for every resource.",[327,338,339],{},"Mandatory organization filtering in repositories\u002Fquery objects.",[327,341,342],{},"PostgreSQL row-level security for tenant-owned tables.",[327,344,345,346,283],{},"Composite unique constraints containing ",[280,347,282],{},[327,349,350],{},"Queue jobs containing and revalidating tenant context.",[327,352,353],{},"Object-storage keys prefixed by opaque organization\u002Fapplication IDs.",[327,355,356],{},"Runtime cluster commands scoped to an organization and cluster.",[327,358,359],{},"Cross-tenant integration tests and property tests.",[327,361,362],{},"Separate administrative database role for migrations and maintenance.",[259,364,365],{},"For PostgreSQL RLS, each web\u002Fjob transaction should set a local organization context. Normal application database roles must not bypass RLS.",[272,367,369],{"id":368},"identifier-strategy","Identifier strategy",[259,371,372],{},"Use ULIDs or UUIDv7 internally.",[259,374,375],{},"Human-readable slugs are routing\u002Fdisplay values, not authorization boundaries.",[288,377,380],{"className":378,"code":379,"language":293,"meta":294},[291],"org_01K...\napp_01K...\nenv_01K...\ndep_01K...\n",[280,381,379],{"__ignoreMap":294},[259,383,384],{},"An organization app may display:",[288,386,389],{"className":387,"code":388,"language":293,"meta":294},[291],"Example Organization \u002F Equipment Requests\n",[280,390,388],{"__ignoreMap":294},[259,392,393],{},"while its underlying repository, object-storage prefix, and database binding use immutable IDs.",[272,395,397],{"id":396},"related-documentation","Related documentation",[399,400,401,406],"ul",{},[327,402,403],{},[267,404,405],{"href":64},"Identity",[327,407,408],{},[267,409,216],{"href":217},{"title":294,"searchDepth":411,"depth":412,"links":413},1,2,[414,415,416,417],{"id":274,"depth":412,"text":275},{"id":318,"depth":412,"text":319},{"id":368,"depth":412,"text":369},{"id":396,"depth":412,"text":397},"Tenant context, authorization, row-level security, immutable identifiers, and tenant isolation.","md",null,{},true,{"title":44,"description":418},"7QttR19lIJ6HeMeEIK_zJwxTpG0tTU96P5zHs6a44x8",[426,428],{"title":40,"path":41,"stem":42,"description":427,"children":-1},"Laravel modules, authoritative stores, secrets infrastructure, and reliable orchestration.",{"title":48,"path":49,"stem":50,"description":429,"children":-1},"Bounded contexts, principal entities, and invariants for the platform metadata model.",1790019415367]