# Nova Imperium documentation: map for agents

> Generated at build time from the title and description of every page of https://heiss.github.io/nova-imperium/. Every page is also published as raw Markdown: the page URL with `.md` instead of the trailing slash (`index.md` for the home page). Links inside the raw Markdown point to raw Markdown too.

- Repository: https://github.com/Heiss/nova-imperium (the sources: `okf/` for the decisions, `docs/` for operators and developers, `website/` for the guide pages)
- Start with the decisions index (https://heiss.github.io/nova-imperium/decisions.md) and the overview with the legend of the markers (https://heiss.github.io/nova-imperium/decisions/overview.md): **[E]** decision of the owner, **[V]** proposal, **[U]** unverified.
- Where a guide page and a decision disagree, the decision in `okf/` and the workflow files in `.github/workflows/` are the source of truth.

## Home

- [Nova Imperium](https://heiss.github.io/nova-imperium/) ([Markdown](https://heiss.github.io/nova-imperium/index.md), source `website/src/content/docs/index.md`): A classic space strategy browser game for a group of friends – Node.js, SQLite, Svelte, self-hosted with Docker. How to play and run it, how to contribute, and how it is tested and released.

## Getting started

- [Getting started](https://heiss.github.io/nova-imperium/getting-started/) ([Markdown](https://heiss.github.io/nova-imperium/getting-started.md), source `website/src/content/docs/getting-started.md`): How to play Nova Imperium, how to run a server for your group, and how to run the game locally, as a demo or from source.
- [Development](https://heiss.github.io/nova-imperium/getting-started/development/) ([Markdown](https://heiss.github.io/nova-imperium/getting-started/development.md), source `docs/development.md`): Run the game from source with Node.js and pnpm: the layout of the repository, every check as a command, migrations and changelog fragments.
- [Install a server](https://heiss.github.io/nova-imperium/getting-started/installation/) ([Markdown](https://heiss.github.io/nova-imperium/getting-started/installation.md), source `docs/getting-started.md`): Install the game on a server with Docker Compose, invite the first player, make the first admin, or try the demo on your machine.

## Contributing

- [Contributing](https://heiss.github.io/nova-imperium/contributing/) ([Markdown](https://heiss.github.io/nova-imperium/contributing.md), source `website/src/content/docs/contributing.md`): How a change gets into Nova Imperium – issue forms, clarification with the owner, the pull request with tests, changelog fragment or label, the code style and the quality gates.
- [Empire overview – design study](https://heiss.github.io/nova-imperium/contributing/design/empire-overview/) ([Markdown](https://heiss.github.io/nova-imperium/contributing/design/empire-overview.md), source `docs/design/empire-overview/README.md`): Design study for an idea of the owner (#243), not decided.
- [Explanation texts – mockup](https://heiss.github.io/nova-imperium/contributing/design/explanations/) ([Markdown](https://heiss.github.io/nova-imperium/contributing/design/explanations.md), source `docs/design/explanations/README.md`): Mockup for issue #63, Interface v2 (#62, src/client/static/style.css).
- [Interface v2 – design draft](https://heiss.github.io/nova-imperium/contributing/design/interface-v2/) ([Markdown](https://heiss.github.io/nova-imperium/contributing/design/interface-v2.md), source `docs/design/interface-v2/README.md`): Static mockup of the game interface with the new icon set.
- [Requirements list – mockup](https://heiss.github.io/nova-imperium/contributing/design/requirements/) ([Markdown](https://heiss.github.io/nova-imperium/contributing/design/requirements.md), source `docs/design/requirements/README.md`): Mockup for issue #64, Interface v2 (#62, src/client/static/style.css).

## Git workflow

- [Git workflow](https://heiss.github.io/nova-imperium/git-workflow/) ([Markdown](https://heiss.github.io/nova-imperium/git-workflow.md), source `website/src/content/docs/git-workflow.md`): Branches, the pull request flow from draft to squash merge, changelog fragments, the release pull request, CalVer tags, the image next, hotfixes and Renovate – with diagrams.

## CI and checks

- [CI and checks](https://heiss.github.io/nova-imperium/ci/) ([Markdown](https://heiss.github.io/nova-imperium/ci.md), source `website/src/content/docs/ci.md`): Every job of the CI with what it checks and when it runs, how the CI Gate decides, the mutation tests, Trivy, gitleaks, CodeQL, the nightly runs and CodeRabbit.

## Automation

- [Automation](https://heiss.github.io/nova-imperium/automation/) ([Markdown](https://heiss.github.io/nova-imperium/automation.md), source `website/src/content/docs/automation.md`): How the workflows of Nova Imperium trigger each other – CI, release pull request, tag, release, the image next, nightly runs, security hotfix, Renovate and this website – and what each of them produces.

## Operations

- [Operations](https://heiss.github.io/nova-imperium/operations/) ([Markdown](https://heiss.github.io/nova-imperium/operations.md), source `docs/operations.md`): Run a server: reverse proxy, operator commands, maintenance, backup and restore, releases, updates and rollback, account security, hardening, diagnostics and the error log.
- [Configuration](https://heiss.github.io/nova-imperium/operations/configuration/) ([Markdown](https://heiss.github.io/nova-imperium/operations/configuration.md), source `docs/configuration.md`): Every setting of the game server, its default and range: environment variables in .env, secrets from files, Compose-only settings and the universe settings.

## Decisions (OKF bundle)

- [Decisions](https://heiss.github.io/nova-imperium/decisions/) ([Markdown](https://heiss.github.io/nova-imperium/decisions.md), source `okf/index.md`): The decisions of the project as an OKF bundle: architecture, features, security and operations, each marked as decision, proposal or unverified.
- [Checks of the server actions](https://heiss.github.io/nova-imperium/decisions/architecture/action-checks/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/action-checks.md), source `okf/architecture/action-checks.md`): Audit of
- [Docker operation](https://heiss.github.io/nova-imperium/decisions/architecture/docker/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/docker.md), source `okf/architecture/docker.md`): Services, volumes, secrets and hardening of the Compose setup.
- [Design patterns](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns.md), source `okf/architecture/patterns.md`): The patterns the code follows so that the planned features (issues
- [1. Catalog: typed composition](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/01-catalog/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/01-catalog.md), source `okf/architecture/patterns/01-catalog.md`): Catalog entries as typed data with components (produces, consumes, storage, limits, flight, combat) instead of special cases in a shared file.
- [2. Texts apart from rules](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/02-texts/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/02-texts.md), source `okf/architecture/patterns/02-texts.md`): Display texts live in their own files per entry, apart from the rules, so a renaming or a long explanation touches no rule.
- [3. Economy: piecewise linear with generic events](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/03-economy/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/03-economy.md), source `okf/architecture/patterns/03-economy.md`): Settling of a planet as piecewise linear segments that end at generic events, with no entry named in the core.
- [4. Missions: one strategy per mission](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/04-missions/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/04-missions.md), source `okf/architecture/patterns/04-missions.md`): Every mission is a folder with its rules, its name and its arrival, so a new mission adds files and no condition in a shared one.
- [5. Battle: pure function, consequences as a fixed pipeline](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/05-battle/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/05-battle.md), source `okf/architecture/patterns/05-battle.md`): The battle as a pure function and its consequences (debris, moon chance, loot) as a fixed pipeline.
- [6. Places](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/06-places/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/06-places.md), source `okf/architecture/patterns/06-places.md`): A place is coordinates plus a kind (planet, moon, debris); the model of places and its ids.
- [7. Server actions: commands](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/07-server-actions/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/07-server-actions.md), source `okf/architecture/patterns/07-server-actions.md`): Server actions as commands, their checks in pure functions of the core, and what the browser repeats.
- [8. Store: a repository per aggregate](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/08-store/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/08-store.md), source `okf/architecture/patterns/08-store.md`): One repository per aggregate instead of a single store, the transaction of runAction as the unit of work, and the thin Store facade.
- [9. Client: generic Svelte components](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/09-client-components/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/09-client-components.md), source `okf/architecture/patterns/09-client-components.md`): The client as generic Svelte components with a state module, the contract per component and the view-by-view conversion of #118.
- [10. Layout and registration](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/10-layout-and-registration/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/10-layout-and-registration.md), source `okf/architecture/patterns/10-layout-and-registration.md`): The folders of the core and of the features, the generated index and how entries and missions register themselves.
- [11. Boundaries](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/11-boundaries/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/11-boundaries.md), source `okf/architecture/patterns/11-boundaries.md`): The dependency rules the CI Gate enforces between the core, the features, the server and the client.
- [12. Tests per component](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/12-tests-per-component/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/12-tests-per-component.md), source `okf/architecture/patterns/12-tests-per-component.md`): Which tests each component of the patterns brings: contract tests, equivalence tests and the reference tests of the views.
- [13. Client features register themselves](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/13-client-features/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/13-client-features.md), source `okf/architecture/patterns/13-client-features.md`): A client feature exports its handlers as clientFeature from its own file; the list is generated and main.ts names none (#322).
- [14. Server features register themselves](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/14-server-features/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/14-server-features.md), source `okf/architecture/patterns/14-server-features.md`): A server module exports its actions and its part of the state as serverFeature; dispatch.ts and state.ts name no feature (#326).
- [15. Repositories and the round reset register themselves](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/15-repositories-and-round-reset/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/15-repositories-and-round-reset.md), source `okf/architecture/patterns/15-repositories-and-round-reset.md`): A repository exports repository, the tables a new round empties or keeps are declared as roundReset next to their owner; no shared list names a feature (#317).
- [16. Svelte views register themselves](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/16-views/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/16-views.md), source `okf/architecture/patterns/16-views.md`): A view exports clientViews (key, mount or html, anew or fresh, menu entry, glyph, tab, offered) from its own module; mount.ts, index.ts and the navigation name no view (#317, #352, #373); a feature switched off for the round is hidden, its Lexicanum page too (#404); the boxes of „Optionen“ register themselves the same way (#378).
- [Migration to the patterns](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/migration/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/migration.md), source `okf/architecture/patterns/migration.md`): The order in which the existing code moved to the patterns, the pull requests of the refactoring and what each step keeps unchanged.
- [Why the patterns](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/why/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/patterns/why.md), source `okf/architecture/patterns/why.md`): The mechanics the planned features have in common, and the goals the owner chose for the patterns.
- [Performance and maintainability audit of 2026-11-28](https://heiss.github.io/nova-imperium/decisions/architecture/performance-audit/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/performance-audit.md), source `okf/architecture/performance-audit.md`): What was measured on the server, the client, the tests and the image, where the time and the bytes go, which issues hold the findings, and what is not measured.
- [Data exchange and realtime](https://heiss.github.io/nova-imperium/decisions/architecture/realtime/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/realtime.md), source `okf/architecture/realtime.md`): How server and browser exchange data today, the move to Server-Sent Events decided on 2026-11-25, the requirements on the reverse proxies, and what was rejected.
- [Stack evaluation of 2026-11-28 - Rust, rust-anything, WebAssembly, Bun](https://heiss.github.io/nova-imperium/decisions/architecture/stack-evaluation/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/stack-evaluation.md), source `okf/architecture/stack-evaluation.md`): Whether a rewrite of the backend in Rust, a frontend in WebAssembly or Bun instead of Node would help the game, checked against the decisions and measurements of the project.
- [System architecture](https://heiss.github.io/nova-imperium/decisions/architecture/system/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/architecture/system.md), source `okf/architecture/system.md`): Components, request flow and the clock of the game server.
- [SQLite storage](https://heiss.github.io/nova-imperium/decisions/data/sqlite/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/data/sqlite.md), source `okf/data/sqlite.md`): Database schema, migrations, transactions, and backups.
- [Abandon a colony](https://heiss.github.io/nova-imperium/decisions/features/abandon-colony/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/abandon-colony.md), source `okf/features/abandon-colony.md`): A player gives up a colony that nothing refers to any more, loses everything on it with its moon, and the position is locked for a time the admin sets per round (issue
- [Activity indicators](https://heiss.github.io/nova-imperium/decisions/features/activity-indicators/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/activity-indicators.md), source `okf/features/activity-indicators.md`): Public markers of activity per planet and of inactivity per account in the Sternenkarte, the events that set them (classic v0.76d with v0.77b) and their classic thresholds, which the admin sets per round in „Neue Runde“ and changes live in the universe settings (issue
- [Admin](https://heiss.github.io/nova-imperium/decisions/features/admin/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/admin.md), source `okf/features/admin.md`): Admin roles, moderation, diagnostic reads, audit events and universe settings.
- [Check for automated play](https://heiss.github.io/nova-imperium/decisions/features/bot-check/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/bot-check.md), source `okf/features/bot-check.md`): „Automatisierung prüfen“ per player in the admin's player record, since
- [Buddy list](https://heiss.github.io/nova-imperium/decisions/features/buddy-list/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/buddy-list.md), source `okf/features/buddy-list.md`): Mutual friendships with a request and an acceptance, what friends see of each other, and that friendships and open requests stay across a new round (issue
- [Changelog in the game](https://heiss.github.io/nova-imperium/decisions/features/changelog/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/changelog.md), source `okf/features/changelog.md`): „Neuigkeiten“ for players from CHANGELOG.md, the update message after a release and the hint on unread news.
- [Colony ships](https://heiss.github.io/nova-imperium/decisions/features/colonization/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/colonization.md), source `okf/features/colonization.md`): Issue #237.
- [Bergungsbarke, Trümmerfelder and the mission „Bergung“](https://heiss.github.io/nova-imperium/decisions/features/debris/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/debris.md), source `okf/features/debris.md`): Debris fields from destroyed ships after a battle, the ship Bergungsbarke (classic Recycler) and the harvest mission „Bergung“ (issue
- [Ionengeschütz, Plasmawerfer and shield domes](https://heiss.github.io/nova-imperium/decisions/features/defense-ion-plasma-domes/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/defense-ion-plasma-domes.md), source `okf/features/defense-ion-plasma-domes.md`): The defense of issue
- [Demolition of buildings](https://heiss.github.io/nova-imperium/decisions/features/demolition/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/demolition.md), source `okf/features/demolition.md`): Tearing down one building level at a time for a refund factor from −100 % to +100 % and a share of the build time, both set by the admin per round (issue
- [Deploy mission „Verlegung“](https://heiss.github.io/nova-imperium/decisions/features/deploy/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/deploy.md), source `okf/features/deploy.md`): Moving ships and cargo to another own planet for good (classic „Stationieren“), with half the used fuel unloaded at the target (issue
- [Endzeit – the gift of the Gottkaiser](https://heiss.github.io/nova-imperium/decisions/features/endzeit/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/endzeit.md), source `okf/features/endzeit.md`): An admin button for the end of a round that gives every player a gift fleet with every ship that flies, resources and, on arrival, everything unlocked (issue
- [Error log and problem reports](https://heiss.github.io/nova-imperium/decisions/features/error-log/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/error-log.md), source `okf/features/error-log.md`): Server errors, browser errors and problem reports of players in SQLite, the admin tab „Fehler“ and the download for analysis (issue
- [Espionage defense and fleet recognition](https://heiss.github.io/nova-imperium/decisions/features/espionage-defense/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/espionage-defense.md), source `okf/features/espionage-defense.md`): The classic chance that probes are detected and fight, the activity in the Auspex-Bericht, and how much an attacked player sees of incoming fleets by espionage technology (issues
- [Expeditions and position 16](https://heiss.github.io/nova-imperium/decisions/features/expeditions/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/expeditions.md), source `okf/features/expeditions.md`): The mission „Expedition“ to the position after the last planet position with the research Kreuzzugs-Kartografie (classic Expeditionstechnik), its outcomes with their shares, slots, stay and settings per round, and debris from its battles (issue
- [Explanation texts](https://heiss.github.io/nova-imperium/decisions/features/explanation-texts/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/explanation-texts.md), source `okf/features/explanation-texts.md`): Long explanation texts for catalog entries with a display option per player (issue
- [Planet fields and the Weltenschmiede](https://heiss.github.io/nova-imperium/decisions/features/fields/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/fields.md), source `okf/features/fields.md`): Every planet gets a diameter and a limited number of fields, each building level takes one, and the Weltenschmiede (classic Terraformer) adds fields (issue
- [Cargo buttons of the fleet form](https://heiss.github.io/nova-imperium/decisions/features/fleet-cargo/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/fleet-cargo.md), source `okf/features/fleet-cargo.md`): In the fleet form „alles (gleichmäßig)“ fills the holds evenly with the three resources, and an „alles“ under each cargo field loads only its resource (issue
- [Fusionskraftwerk](https://heiss.github.io/nova-imperium/decisions/features/fusion-reactor/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/fusion-reactor.md), source `okf/features/fusion-reactor.md`): The deuterium-burning power plant of issue
- [Guild chat](https://heiss.github.io/nova-imperium/decisions/features/guild-chat/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/guild-chat.md), source `okf/features/guild-chat.md`): One chat per guild with the rights „Chat lesen“, „Chat schreiben“ and „Chatnachrichten löschen“ of the ranks, plain text of at most 1,000 characters, events of the server (joining, leaving, removal, a new rank, an attack at its launch), a red mark on „Gilden“, the last 500 messages per guild, deleted at every new round, read by the admin with an entry in the audit log (issue
- [Guild log](https://heiss.github.io/nova-imperium/decisions/features/guild-log/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/guild-log.md), source `okf/features/guild-log.md`): A page with the actions of a guild's management, for the members with the right „Protokoll lesen“; texts only as „geändert“, deleted at every new round, at most 500 entries per guild. Decided 2026-11-25, not built.
- [Guild ranks with configurable rights](https://heiss.github.io/nova-imperium/decisions/features/guild-ranks/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/guild-ranks.md), source `okf/features/guild-ranks.md`): Ranks with rights inside a guild, exactly one Leitung, an order of the ranks, a default rank chosen by the Leitung; checked on the server for every action (issue
- [Guilds on or off per round](https://heiss.github.io/nova-imperium/decisions/features/guild-switch/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/guild-switch.md), source `okf/features/guild-switch.md`): One switch „Gilden (mit Chat)“ in the dialog „Neue Runde“ turns guilds and the guild chat (#169) on or off for a whole round; off deletes every guild and the server refuses every guild action (issue
- [Highscore categories](https://heiss.github.io/nova-imperium/decisions/features/highscore-categories/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/highscore-categories.md), source `okf/features/highscore-categories.md`): The highscore by Gesamt, Wirtschaft and Militär, visible to every player; Wirtschaft and Militär count by number or by resources, a round setting each (issue
- [Holding, alliance depot and attack unions](https://heiss.github.io/nova-imperium/decisions/features/holding-acs/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/holding-acs.md), source `okf/features/holding-acs.md`): Holding fleets at another player's planet, the alliance depot that supplies them later, and attacks by a union of several players (ACS), with who may join set by the admin per round (issues
- [Interface v2 and planet types](https://heiss.github.io/nova-imperium/decisions/features/interface/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/interface.md), source `okf/features/interface.md`): Design of the game interface with the Nova Imperium icon set, the phone navigation, animated planets and the planet type rule.
- [Invitations](https://heiss.github.io/nova-imperium/decisions/features/invitations/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/invitations.md), source `okf/features/invitations.md`): Registration only by invitation; invitation by mail or copied link; tokens and their protection.
- [Schlachtkreuzer, Zerstörer, Bomber and Todesstern](https://heiss.github.io/nova-imperium/decisions/features/late-game-ships/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/late-game-ships.md), source `okf/features/late-game-ships.md`): The combat ships of the epic
- [Level overview](https://heiss.github.io/nova-imperium/decisions/features/level-overview/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/level-overview.md), source `okf/features/level-overview.md`): A second icon next to the „?“ of every building and research unfolds a table of the next levels with cost, time, effect and the difference to today; an option per player shows it always, as an icon or not at all (issue
- [Lexicanum](https://heiss.github.io/nova-imperium/decisions/features/lexicanum/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/lexicanum.md), source `okf/features/lexicanum.md`): The in-game lexicon (issues
- [Lexicanum texts](https://heiss.github.io/nova-imperium/decisions/features/lexicanum-texts/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/lexicanum-texts.md), source `okf/features/lexicanum-texts.md`): The review list of the texts of the Lexicanum that Claude drafted for the owner to confirm or change (issue
- [Main planet](https://heiss.github.io/nova-imperium/decisions/features/main-planet/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/main-planet.md), source `okf/features/main-planet.md`): A player chooses the main planet („Hauptplanet“) among the own planets in the options; it decides navigation and research, every switch starts a lock the admin sets per round, 7 days by default (issue
- [Marketplace](https://heiss.github.io/nova-imperium/decisions/features/marketplace/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/marketplace.md), source `okf/features/marketplace.md`): Exchange resources at ratios the admin sets per pair, with moving prices, the building Handelsposten that lowers the fee, a cap by the free storage and a limit per player per day (issue
- [Missiles](https://heiss.github.io/nova-imperium/decisions/features/missiles/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/missiles.md), source `okf/features/missiles.md`): The missile silo, anti-ballistic missiles and interplanetary missiles against defense with their classic values; missiles are no longer a non-goal (issue
- [Moons with Mondzitadelle, Auspex-Phalanx and Warp-Tor](https://heiss.github.io/nova-imperium/decisions/features/moons/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/moons.md), source `okf/features/moons.md`): Moons from large debris fields after a battle, their own buildings Mondzitadelle (classic Mondbasis), Auspex-Phalanx (Sensorphalanx) and Warp-Tor (Sprungtor), built in three pull requests (issue
- [Grimdark naming](https://heiss.github.io/nova-imperium/decisions/features/naming/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/naming.md), source `okf/features/naming.md`): The rename of all display names to a dark sci-fi style, its timing at the end of the release, the owner's decisions and the proposed names.
- [Nanitenfabrik](https://heiss.github.io/nova-imperium/decisions/features/nanite-factory/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/nanite-factory.md), source `okf/features/nanite-factory.md`): The building that halves building and shipyard times, and the shipyard lock it shares with the Werft.
- [Own activity and play time](https://heiss.github.io/nova-imperium/decisions/features/own-activity/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/own-activity.md), source `okf/features/own-activity.md`): The private statistics „Meine Aktivität & Spielzeit“ in „Hilfe & Optionen“, how they count across rounds and days, how long they are kept and when a new session starts (issues
- [Private messages](https://heiss.github.io/nova-imperium/decisions/features/private-messages/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/private-messages.md), source `okf/features/private-messages.md`): Conversations between two players in „Nachrichten“ with an inbox of previews, a conversation that loads when it is opened, the tab „Gesendet“, replies, read marks, deleting from one's own view, a block list, the switch „only friends may write to me“, a push without the text, „Melden“ to the admin, kept until the round ends, the last 500 messages per conversation (issue
- [Push settings per kind](https://heiss.github.io/nova-imperium/decisions/features/push-settings/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/push-settings.md), source `okf/features/push-settings.md`): Players switch each kind of Web Push on and off in „Hilfe & Optionen“, per account for all devices (issue
- [Round, administration and sign-in update](https://heiss.github.io/nova-imperium/decisions/features/release-checklist/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/release-checklist.md), source `okf/features/release-checklist.md`): Requirements and verification checklist for the combined release pull request.
- [Requirements list](https://heiss.github.io/nova-imperium/decisions/features/requirements/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/requirements.md), source `okf/features/requirements.md`): All unmet requirements of an entry, indirect ones included, with the startable ones highlighted and started by one button.
- [Ionentechnik, Plasmatechnik, Gravitonforschung and IFN](https://heiss.github.io/nova-imperium/decisions/features/research-ion-plasma-graviton/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/research-ion-plasma-graviton.md), source `okf/features/research-ion-plasma-graviton.md`): The research added by issue
- [Round archive, reports and history](https://heiss.github.io/nova-imperium/decisions/features/round-archive/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/round-archive.md), source `okf/features/round-archive.md`): The archive of an ended round, written when the round is closed in the same transaction as the reset; the report of one archived round, the history across rounds and the thin Runden-Rewind (issue
- [Cancelling a shipyard order](https://heiss.github.io/nova-imperium/decisions/features/shipyard-cancel/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/shipyard-cancel.md), source `okf/features/shipyard-cancel.md`): Every order of the shipyard list can be cancelled with a full refund of the units not done yet; units already done stay (issue
- [Sign-in with a second factor](https://heiss.github.io/nova-imperium/decisions/features/sign-in/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/sign-in.md), source `okf/features/sign-in.md`): A sign-in is a passkey, or name and password with a second factor; the mail code is on by default, comes at once and can be sent again after 30 s; a link in the mail and an authenticator app (TOTP) follow (#401).
- [Solarsatellit](https://heiss.github.io/nova-imperium/decisions/features/solar-satellite/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/solar-satellite.md), source `okf/features/solar-satellite.md`): The energy satellite of issue
- [Surveying free positions, the mission „Vermessung“ and „Auspex-Kartographie“](https://heiss.github.io/nova-imperium/decisions/features/survey/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/survey.md), source `okf/features/survey.md`): Spähschädel survey a free position before a colony ship is sent; the report shows more with more probes and research, the probes can be lost, and the values of the position are fixed for the colony (issue
- [Vacation mode](https://heiss.github.io/nova-imperium/decisions/features/vacation-mode/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/features/vacation-mode.md), source `okf/features/vacation-mode.md`): A player pauses the account through the options, production stops and every planet and moon is protected, with a minimum duration the admin sets per round (issue
- [History of the decisions](https://heiss.github.io/nova-imperium/decisions/history/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/history.md), source `okf/history.md`): How Nova Imperium came to be, from a single-file version to the tested and containerized setup, derived from the conversations with the owner.
- [Update log](https://heiss.github.io/nova-imperium/decisions/log/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/log.md), source `okf/log`)
- [Open points](https://heiss.github.io/nova-imperium/decisions/open-points/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/open-points.md), source `okf/open-points.md`): What the owner still decides, checks or sets up; the proposals of the assistant to review.
- [Branching and release](https://heiss.github.io/nova-imperium/decisions/ops/branching-release/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/branching-release.md), source `okf/ops/branching-release.md`): Pull requests with changelog fragments, the CI Gate, the release pull request as the release button, CalVer tags with images on GHCR, hotfixes, Renovate.
- [Configuration](https://heiss.github.io/nova-imperium/decisions/ops/config/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/config.md), source `okf/ops/config.md`): Environment variables, secret files and the fail-closed rule.
- [Defaults stay inside](https://heiss.github.io/nova-imperium/decisions/ops/defaults/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/defaults.md), source `okf/ops/defaults.md`): A fresh instance is closed and talks to nobody until the owner configures it.
- [A switch for every feature](https://heiss.github.io/nova-imperium/decisions/ops/feature-switches/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/feature-switches.md), source `okf/ops/feature-switches.md`): Every feature outside the core gets an on/off switch per round, so a round can be played with the classic rules alone or with new features; classic and comfort features included.
- [Languages](https://heiss.github.io/nova-imperium/decisions/ops/language/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/language.md), source `okf/ops/language.md`): Development in English, the game interface in German.
- [Release loop](https://heiss.github.io/nova-imperium/decisions/ops/loop/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/loop.md), source `okf/ops/loop.md`): How Claude works through a release with /loop - plan with the owner by labels, clarify, build, make the release pull request ready, keep it ready until the owner merges it, stop.
- [Briefs for subagents](https://heiss.github.io/nova-imperium/decisions/ops/subagent-briefs/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/subagent-briefs.md), source `okf/ops/subagent-briefs.md`): How the main agent writes a task for a building subagent so that a smaller model can do it, and what went wrong before - collected from the release loop.
- [Test strategy](https://heiss.github.io/nova-imperium/decisions/ops/testing/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing.md), source `okf/ops/testing.md`): Kinds of tests, quality gates and the role of the CI Gate before a pull request goes to review.
- [No catalog key outside src/features](https://heiss.github.io/nova-imperium/decisions/ops/testing/catalog-key-scan/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/catalog-key-scan.md), source `okf/ops/testing/catalog-key-scan.md`): The test that finds a comparison with a catalog key outside src/features and what it scans.
- [Tests of components](https://heiss.github.io/nova-imperium/decisions/ops/testing/component-tests/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/component-tests.md), source `okf/ops/testing/component-tests.md`): The contract tests per component, the rows of the resources page, and Svelte components and state modules in Vitest.
- [E2E tests](https://heiss.github.io/nova-imperium/decisions/ops/testing/e2e/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/e2e.md), source `okf/ops/testing/e2e.md`): Playwright E2E tests: the acceptance criteria of a pull request, seeding, mails, accessibility, one spec per feature and tests that own their data.
- [E2E inventory](https://heiss.github.io/nova-imperium/decisions/ops/testing/e2e-inventory/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/e2e-inventory.md), source `okf/ops/testing/e2e-inventory.md`): The E2E tests of #68 and what they cover.
- [Kinds of tests in this project](https://heiss.github.io/nova-imperium/decisions/ops/testing/kinds-of-tests/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/kinds-of-tests.md), source `okf/ops/testing/kinds-of-tests.md`): The kinds of tests in a table: where each lives and what it proves.
- [Append-only migrations and the size ratchet](https://heiss.github.io/nova-imperium/decisions/ops/testing/migrations-and-ratchet/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/migrations-and-ratchet.md), source `okf/ops/testing/migrations-and-ratchet.md`): The job that keeps migrations append-only and the ratchet that keeps src/client/main.ts from growing.
- [Tests of missions](https://heiss.github.io/nova-imperium/decisions/ops/testing/mission-tests/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/mission-tests.md), source `okf/ops/testing/mission-tests.md`): Contract tests of the missions as strategies (#116).
- [Code of the changed-file and reuse runs](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-changes-code/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-changes-code.md), source `okf/ops/testing/mutation-changes-code.md`): The scripts that choose what a pull request mutates and reuse a green run, with the measured proof runs and the text module.
- [Code of the sharded mutation runs](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-code/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-code.md), source `okf/ops/testing/mutation-code.md`): The scripts and jobs of the sharded mutation runs (#131): plan, gate, caches, tolerance and the previous plan.
- [Mutation runs of a pull request](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-partial/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-partial.md), source `okf/ops/testing/mutation-partial.md`): A pull request mutates only what it changes: when the jobs start, the partial run, its floors and parts, the nightly check, and the nightly issue.
- [Test files and the takeover of a mutation run](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-takeover/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-takeover.md), source `okf/ops/testing/mutation-takeover.md`): Which files start the mutation jobs, and when a pull request takes over the green run of the head before.
- [Mutation tests and shards](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-tests/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-tests.md), source `okf/ops/testing/mutation-tests.md`): Stryker mutation tests, the score that blocks, static mutants, the sharded runs, stable shards and their weights.
- [Display texts are not mutation-tested](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-texts/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/mutation-texts.md), source `okf/ops/testing/mutation-texts.md`): Why the display texts are left out of the mutation tests and how they are tested instead.
- [Proofs of a push run](https://heiss.github.io/nova-imperium/decisions/ops/testing/push-proofs/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/push-proofs.md), source `okf/ops/testing/push-proofs.md`): When a push to main or a hotfix branch skips a job that succeeded on the identical tree, and how the CI Gate checks the proof.
- [Quality gates](https://heiss.github.io/nova-imperium/decisions/ops/testing/quality-gates/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/quality-gates.md), source `okf/ops/testing/quality-gates.md`): Mutation standard per file, coverage, ESLint complexity, the ReDoS lint and code hygiene that block in the CI.
- [Risks](https://heiss.github.io/nova-imperium/decisions/ops/testing/risks/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/risks.md), source `okf/ops/testing/risks.md`): What is unverified about the CI workflows and the cost of the mutation tests.
- [Scope of coverage and mutation, level at the introduction](https://heiss.github.io/nova-imperium/decisions/ops/testing/scope-and-level/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/scope-and-level.md), source `okf/ops/testing/scope-and-level.md`): Which folders coverage and mutation measure and the test level at the introduction of the strategy.
- [Security gates](https://heiss.github.io/nova-imperium/decisions/ops/testing/security-gates/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/security-gates.md), source `okf/ops/testing/security-gates.md`): gitleaks, pnpm audit and the other security gates, and what to do with a finding that is no secret.
- [Reference tests of the Svelte views](https://heiss.github.io/nova-imperium/decisions/ops/testing/svelte-view-tests/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/svelte-view-tests.md), source `okf/ops/testing/svelte-view-tests.md`): The property and reference tests of the views converted in #118, list by list and bundle by bundle.
- [Rules and CI runs](https://heiss.github.io/nova-imperium/decisions/ops/testing/unit-and-ci/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/unit-and-ci.md), source `okf/ops/testing/unit-and-ci.md`): The rules of muffelblog this project follows, which pushes run the full suite, unit tests first, and the property tests of the migrations.
- [Workflow lint](https://heiss.github.io/nova-imperium/decisions/ops/testing/workflow-lint/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/testing/workflow-lint.md), source `okf/ops/testing/workflow-lint.md`): The job that checks the workflows and the tests of the shell of the release detection.
- [v3](https://heiss.github.io/nova-imperium/decisions/ops/v3/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/v3.md), source `okf/ops/v3.md`): How v3 is built and released - the foundation to main in normal releases, the features on a v3 branch released together, test features in the admin panel; tracking issue
- [Documentation website](https://heiss.github.io/nova-imperium/decisions/ops/website/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/ops/website.md), source `okf/ops/website.md`): The public documentation website on GitHub Pages: Astro Starlight in website/, built from okf/ and docs/, with a generated agents.md for agents.
- [Nova Imperium - overview and goals](https://heiss.github.io/nova-imperium/decisions/overview/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/overview.md), source `okf/overview.md`): Purpose, scope and legend of the decisions for the self-hosted browser game.
- [Security measures](https://heiss.github.io/nova-imperium/decisions/security/review/) ([Markdown](https://heiss.github.io/nova-imperium/decisions/security/review.md), source `okf/security/review.md`): What protects accounts, data and the browser in this setup, and what is still open.
