[KongchangAI]
Concept

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)

Nov 19

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.

Unverified50%
Nov 19

The Grok team's internal client framework is called Dune.

Unverified50%
Nov 15

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.

Unverified50%
Oct 30

Lauren Tan built an architecture called Dune for Grok Bot, understandable as "Next.js for Electron applications", designed specifically for agents to write.

Unverified50%
Oct 30

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.

Unverified50%
Oct 29

Dune's CI disables React's useEffect and code comments, and enforces import checks to validate the dependency graph and import boundaries.

Unverified50%
Oct 29

The architecture used by GrokBot, codenamed Dune, is described as "Next.js for Electron apps," designed specifically for agents to write code.

Unverified50%
Oct 21

The Dune framework enforces that feature code be co-located by directory, prohibits useEffect, and prohibits code comments.

Unverified50%
Oct 21

Lauren spent over 600 PRs refactoring GrokBot into the "Dune" architecture, and now no longer looks at the code.

Unverified50%
Oct 21

Dune's CI checks the dependency graph and blocks accidental imports between the electron main and electron renderer directories.

Unverified50%

13 more timeline events

All Facts (20)

Unverified

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%
Unverified

Grokbot's architecture is codenamed Dune, which Lauren likens to a Next.js for agents and Electron applications.

60%
Unverified

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.

50%
Unverified

The Grok team's internal client framework is called Dune.

50%
Unverified

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.

50%
Unverified

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.

50%
Unverified

Dune's CI disables React's useEffect and code comments, and enforces import checks to validate the dependency graph and import boundaries.

50%
Unverified

The architecture used by GrokBot, codenamed Dune, is described as "Next.js for Electron apps," designed specifically for agents to write code.

50%
Unverified

Dune's CI checks the dependency graph and blocks accidental imports between the electron main and electron renderer directories.

50%
Unverified

Lauren spent over 600 PRs refactoring GrokBot into the "Dune" architecture, and now no longer looks at the code.

50%
Unverified

The Dune framework enforces that feature code be co-located by directory, prohibits useEffect, and prohibits code comments.

50%
Unverified

The core prohibition of the Butlerian Jihad is "Thou shalt not make a machine in the likeness of a human mind."

50%
Unverified

The Butlerian Jihad in Dune canon took place between humans and "thinking machines" and lasted about two centuries.

50%
Unverified

In 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%
Unverified

Lauren'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%
Unverified

Potato 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%
Unverified

Lauren 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%
Unverified

The 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%
Unverified

Dune 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%
Unverified

Dune's CI enforces hard checks that ban useEffect, prohibit code comments, and mandate process isolation between electron-main and electron-renderer.

50%

Source Articles