The Game Panel Design record
The Game Panel
ADR-0013 Accepted

Core Build core features are as modules

Comparing
v1 to v2
Current
Read the document

Context

The engine engine is the foundation the rest of the panel builds is built on, and the module system is its its extension mechanism, open open to first-party and third-party modules modules alike.

Some of the panel's functionality is low-level framework machinery that everything else depends on. Other features are more are more complex: they typically combine several components, and many of them are configuration-heavy on configuration or face the user-facing.

Decision

The engine holds I will keep the engine to base framework functionality, the low-level parts that everything else else depends on. Features that combine , and build every feature that combines several components, especially configuration-one heavy on configuration or facing the user-facing ones, are modules, built as a module on the same same module system available to third partiesparties use. Auth and servers are will be modules.

Alternatives

No other arrangement was alternatives were weighed.

Consequences

Easier:

  • The engine engine will stay limited to the low-level parts that everything else depends on.

Harder:

  • Engine components will provide mechanism without meaning, leaving and leave the meaning to modules. Sessions will store what auth puts in them and give it no meaning, and long-lived re-authentication will belong to auth rather than to sessionsmodules.

Constrained:

  • First-party features will ship as bundled modules: inside the binary, with their manifests declared in code and a core a core flag set. Core will be ambiguous as a name, since core features are themselves modules.

Sources

  • Brainstorming session, date not recalled, not publicly available and first written down on : the reasoning the reasoning for the decision.
  • Issue #35, Engine - Modules, original text of in its edit history: the first written record of the decision. It is both created and decided, because the date of the brainstorming session is not recalled. It also It also names permissions as a module; whether permissions will be a module of its own is not settled.
  • Issue #36, Engine - Modules - Discovery and Manifest, : bundled modules with manifests declared in code and a core flag. Issue #67, Engine - Sessions, 2026-08-22: sessions giving what auth stores no meaning, and re-authentication belonging to auth, taken from the sessions design rather than anticipated. Issue #70, Engine - Container - Module scopes, 2026-09-03: Core rejected as an attribute name for being ambiguous when core features are modules, taken from that design rather than anticipated.

Source adr/0013-core-modules.md · commit 9444a99 · published