Card · Legend
Colour keys and miniature of the global shell.
Colour Key
- 🔴 Server Action · 🟢 Type · 🔵 Prop/Input
- 🟠 Context · 🟣 Language/JS · 🟡 DB · ⚫ Config
- Bold → security · _italic_ → UX · underline → perf
Root Shell Snapshot
export default async function RootLayout({ children }) {
const permissions = await resolveGlobalPermissions();
return (<html><body>
<EditModeProvider canEdit=permissions.canEdit>
<AIEngineProvider>
<Providers session=permissions.session>
{children}
</Providers>
</AIEngineProvider>
</EditModeProvider>
</body></html>);
}Study Card · Chapter 00-layout