Built together.
Run independently.
A Bun workspace connects code and design. Docker Compose connects the services.
Four decisions, briefly argued
Design paper principles, integrated into this chapter. Original annotations remain in English; planned concepts are not a list of shipped features.
NAVIGATION
The dock is a launcher, not a menu.
Six pinned modules sit bottom-left as loose pills. The chevron lifts the dock and opens the Werkbank underneath it — widgets, every module, the account — all built out of the dock's own 52 px button. It lifts rather than covers because the dock is already at the bottom: the shelf grows out of the control that summoned it and takes its height from the content surface instead of lying on top of it.
Contextual sidebars do exist, but only inside modules that are genuinely browse-first — messaging, files, accounting. They are part of the module's own panel, not global chrome, so the content area still reaches the left edge on the dashboard, on a project, on an invoice.
OVERLAYS
Two altitudes: the tab and the window.
Tabs to the right of the dock are full-module views in the content area — the work you committed to. Overlay windows float above them — the interruption you did not. Every overlay can be promoted into a tab with one control, and every tab can be demoted back into a floating window.
The page behind an overlay does not blur. It desaturates and dims by four percent, which is enough to establish focus and not enough to hide the spreadsheet you are quoting from. Blur would defeat the purpose.
AGENTS
Agents are addressable, not resident.
There is no assistant panel bolted to an edge. Agents have handles, avatars and a shared visual signature — a soft graphite ring and a squircle mark — and you reach them by naming them, wherever you happen to be: in a channel, on an object, in the command palette.
Every figure an agent states carries a citation chip. Every write it wants to perform arrives as a proposal card with Approve, Edit, Reject. Those two components are the entire trust model, and they are the same components everywhere they appear.
ACCOUNTING
Density is earned per column, not per screen.
The invoice table keeps the same row rhythm as the project list and the file list — 56 px rows, no vertical rules, status carried by a pill rather than a coloured row. What changes is the numeric column: tabular figures, right-aligned, one weight heavier, with the currency set once in the header rather than repeated on every line.
Reconciliation is the one screen allowed to be dense, because it is a matching game and matching games want both sides visible at once. It earns that by having exactly one action.
Browser → Traefik :80
├── /apps/docs/ → docs → @gope/ui
├── /apps/core/ → core → @gope/ui + @gope/db
└── /apps/pgadmin/ → pgadmin ──────────────┐
core ────────────┤
migrate ─────────┤
spätere Apps ────┤
▼
PostgreSQL :5432
├── core.*
└── projektname.* (später)Core app
Public website, sign-in, sessions and administrative features. Uses the core schema in the central database.
Documentation
A separate Astro app without a database dependency. RPC connects it to Core; if Core fails, documentation remains available with a status notice.
Shared UI
Astro components, semantic CSS tokens and Tailwind CSS. Changes are immediately available to both apps.
Database & migrations
Versioned SQL migrations run in a transaction with a database lock. Named volumes preserve data across container restarts.
Add a new project
- Create a new workspace app under
apps/dein-projektwith its own package.json and Astro configuration. @gope/uias a workspace dependency. The app gets its own Compose service and port.- Create a dedicated database schema and restricted PostgreSQL user through a migration. The shared database is reached internally at
postgres:5432. - Give new permissions unambiguous names, for example
projekt.reports.read, and register them through migrations. - Use the shared RPC client for system.describe and auth.me. The Core session works across the shared domain; external domains still require a separate SSO solution.
What the foundation leaves open
The development environment uses one database user. Before production separation, additional apps need their own roles with restricted grants. A schema organizes data but does not replace access controls.
The Dockerfile also provides a production target with a compiled Astro server. Public operation requires HTTPS, secure cookies, backups, monitoring, operator information and separate database roles. The included Compose configuration is intended for local development with hot reload.