Zum Inhalt springen

Why Adminium is built this way

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Some decisions in Adminium show up in hundreds of files. They are not style preferences and they are not settled by a vote in a pull request: change one and a lot of unrelated code stops making sense. This section is one short page per decision, so the code can point at the reasoning instead of carrying a paragraph of it.

Each page has the same three parts: the situation the decision was made in, the decision itself, and what it means for you if you are working in that area.

Decision In one line
Pages are settings, not generated code A page is a row with a JSON config, not an emitted component.
One process, no Redis The queue, the scheduler and the rate limiter live in the database and in memory.
Three connections, and where the meta store lives Introspection, data and Adminium’s own tables never share a handle.
Add-ons are trusted because they are first-party An add-on’s server half is not sandboxed, so the gate is at install time.
One version for every package Twenty-one workspaces move together on one number.
Tokens only, no style props Every colour, space and radius is a CSS custom property.
The i18n rules Eight locales from day one, and a key that exists in seven is a build failure.
The LLM never writes on its own A model produces a proposal; a person accepts it; one transaction applies it.
The assistant proposes, a person saves The page assistant’s last move is a draft; saving is a separate, confirmed, audited act.
Project code is trusted Code in a project folder is the operator’s own, and runs unsandboxed.
One npm package The internal packages ship inside the flagship tarball, not beside it.

These pages are reasoning, not reference. How Adminium works describes the machinery as it is, and the packages, one by one covers each workspace’s surface.

Since these pages exist, comments in the source have a narrower job: say what the code does and why it does it that way, and leave the history to git and to this section. A comment that needs three paragraphs of backstory is pointing at a decision that belongs here.