Dune
The codename for the underlying architecture of GrokBot, an engineering system that supports cloud agents and the hard-coding of constraints into CI.
Timeline (last 90 days)
In the product code of the Dune framework, the Grok team disables React's useEffect via a Lint rule and allows it only at specific locations inside the Dune API.
The Grok team's internal client framework is called Dune.
The Dune architecture is an architecture rebuilt for applications written for Agents, understandable as an "Electron-version Next.js written for Agents", which turns constraints into hard CI-level failures, including feature-directory cohesion, banning useEffect and banning code comments.
Lauren Tan built an architecture called Dune for Grok Bot, understandable as "Next.js for Electron applications", designed specifically for agents to write.
Dune's constraints include: all code for each feature concentrated in a single directory, useEffect forbidden (CI fails directly), code comments forbidden, and imports between the ElectronMain and ElectronRenderer directories blocked by CI via dependency graph checks.
Dune's CI disables React's useEffect and code comments, and enforces import checks to validate the dependency graph and import boundaries.
The architecture used by GrokBot, codenamed Dune, is described as "Next.js for Electron apps," designed specifically for agents to write code.
The Dune framework enforces that feature code be co-located by directory, prohibits useEffect, and prohibits code comments.
Lauren spent over 600 PRs refactoring GrokBot into the "Dune" architecture, and now no longer looks at the code.
Dune's CI checks the dependency graph and blocks accidental imports between the electron main and electron renderer directories.
13 more timeline events
All Facts (20)
The Grokbot codebase is backed by an Agent-friendly framework called Dune, whose core principle is to make the simplest path exactly the correct path.
60%UnverifiedGrokbot's architecture is codenamed Dune, which Lauren likens to a Next.js for agents and Electron applications.
60%UnverifiedIn the product code of the Dune framework, the Grok team disables React's useEffect via a Lint rule and allows it only at specific locations inside the Dune API.
50%UnverifiedThe Grok team's internal client framework is called Dune.
50%UnverifiedThe Dune architecture is an architecture rebuilt for applications written for Agents, understandable as an "Electron-version Next.js written for Agents", which turns constraints into hard CI-level failures, including feature-directory cohesion, banning useEffect and banning code comments.
50%UnverifiedDune's constraints include: all code for each feature concentrated in a single directory, useEffect forbidden (CI fails directly), code comments forbidden, and imports between the ElectronMain and ElectronRenderer directories blocked by CI via dependency graph checks.
50%UnverifiedDune's CI disables React's useEffect and code comments, and enforces import checks to validate the dependency graph and import boundaries.
50%UnverifiedThe architecture used by GrokBot, codenamed Dune, is described as "Next.js for Electron apps," designed specifically for agents to write code.
50%UnverifiedDune's CI checks the dependency graph and blocks accidental imports between the electron main and electron renderer directories.
50%UnverifiedLauren spent over 600 PRs refactoring GrokBot into the "Dune" architecture, and now no longer looks at the code.
50%UnverifiedThe Dune framework enforces that feature code be co-located by directory, prohibits useEffect, and prohibits code comments.
50%UnverifiedThe core prohibition of the Butlerian Jihad is "Thou shalt not make a machine in the likeness of a human mind."
50%UnverifiedThe Butlerian Jihad in Dune canon took place between humans and "thinking machines" and lasted about two centuries.
50%UnverifiedIn the Dune setting, the Butlerian Jihad gave rise to civilization forms such as the Mentats and the Spacing Guild that replace computers with human capabilities.
50%UnverifiedLauren's team internally built a framework called Dune, similar to an internal Next.js for Electron applications, with strict lint rules and convention-based patterns, where each feature is placed in a separate directory and automatically discovered by a registry.
50%UnverifiedPotato built an internal framework called Dune for the team's Electron application, featuring a large number of strict lint rules so that there is only one correct way to do any given thing.
50%UnverifiedLauren designed multi-layered constraints for GrokBot (internally codenamed Dune): hard constraints on codebase architecture, hard constraints on import rules, and soft constraints via rules/skills/bug bot.
50%UnverifiedThe Dune framework prohibits code comments because Agents often use comments as an excuse to cover up temporary patches rather than truly solving the problem.
50%UnverifiedDune enforces boundaries through import and dependency graphs, prohibiting main-process code from being imported into the render thread, in order to maintain a frame budget of 16 milliseconds (60fps) or 8 milliseconds (120fps).
50%UnverifiedDune's CI enforces hard checks that ban useEffect, prohibit code comments, and mandate process isolation between electron-main and electron-renderer.
50%