Decisions 9
Decision records of kind architecture, business or undefined (wiki/decisions/, MADR).
No decisions in this view.
Click a decision in the list to see its full text here.
DR-001 acceptedWrite all documentation in brief, plain English
Context and Problem Statement
This wiki documents the requirements of the Systems42 dashboard. Its method files came from the iSAQB atrium wiki, which writes German titles and body text with English IDs and frontmatter. The dashboard's interface, code and method files are English. Every page here gets reviewed by a human, so length costs review time.
Two questions: which language, and how to write.
Considered Options
- English throughout, written to the binding guide
_system/writing-style.md - German content with English IDs and frontmatter, as in atrium
- English throughout, with no binding style guide
Decision Outcome
Chosen option: 1, because readers then meet one language everywhere, from the dashboard's interface to its code to this wiki. The guide keeps pages short enough to review completely, and it rules out inflated wording, filler and recaps.
The guide covers wiki pages, docs, decision records, changelog and log entries, commit messages and dashboard UI text. AGENTS.md points every writer to it.
Consequences
- Good: no translation between the interface, the code and the requirements.
- Good: a reviewer can read a whole page and accept or reject each statement.
- Bad: German-speaking stakeholders read in their second language.
- Bad: older text meets the guide only when someone changes it, because the guide forbids rewriting untouched text.
- Bad:
make syncfrom atrium overwritesAGENTS.mdwith atrium's version. That brings back the German rule and drops the pointer to the guide. CheckAGENTS.mdafter every sync.
Confirmation
Reviewers check new and changed text against the guide's final check. Nothing checks it automatically.
DR-002 acceptedTailoring belongs to Systems42, the view belongs to the dashboard
Context and Problem Statement
In the real Systems42 the metamodel is configurable. A project or product adapts it to its needs and may leave out parts of requirements, architecture or commons.
The dashboard's Configure dialog hides areas and sections and saves the choice in _system/dashboard.yaml, a file inside the wiki's repository. So a choice made for one workshop lands in the project's history and looks like a project decision.
Two decisions share one dialog and one file:
| Tailoring | View | |
|---|---|---|
| Question | Which parts of the method does this project use? | What does this audience see right now? |
| Owner | The project | Whoever runs the session (Keyholder) |
| Lifetime | Permanent | One workshop or demo |
| Effect | A left-out part does not exist for the project | A hidden part still exists and search finds it |
Where does each belong?
Decision Drivers
- The AI agent must know which parts the project uses, so capture writes no pages for left-out parts and inspect does not report them as missing.
- The dashboard is a read-only view (The dashboard never writes to the wiki, Trusted answers about requirements and architecture).
- A presenter must be able to focus a demo without changing the project (Show what Systems42 can do).
Considered Options
- One mechanism. Configure keeps writing
_system/dashboard.yamlin the repository, and that file also serves as the tailoring. - Split by owner. Tailoring sits in the Systems42 schema next to the metamodel and changes by PR. The view belongs to the dashboard and is kept outside the wiki's repository.
- Tailoring only. Configure is removed, and every session shows everything the project uses.
Decision Outcome
Chosen option: 2, split by owner, because each decision then lives with the people who own it and lasts as long as it should. The project's choice is versioned and reviewed like every schema change. A workshop choice leaves no trace in the project.
The two are linked by one rule: the view can only hide what the tailoring includes. The dashboard never offers a part the project left out.
Consequences
- Good: the AI agent, the dashboard and the people read the same tailoring from one place.
- Good: once the view leaves the repository, the dashboard writes nothing there, and The dashboard never writes to the wiki holds without its exception.
- Good: "configurable" has one meaning. The dialog gets a name of its own, such as "View".
- Bad: the existing
_system/dashboard.yamlmust be migrated, and the Configure dialog changes. - Bad: a view setting can no longer be shared through the repository.
Confirmation
- A test shows that the dashboard writes no file inside the wiki's repository.
- A test shows that the view dialog offers no part the tailoring leaves out.
- The metamodel lint checks the tailoring against the metamodel.
Pros and Cons of the Options
- Option 1. Good: nothing to change. Bad: workshop choices pollute the project history, and the AI agent cannot tell a project decision from a demo setting.
- Option 2. Good: clear owners and lifetimes. Bad: migration work, two settings to explain.
- Option 3. Good: simplest. Bad: a presenter cannot focus a demo, which works against Show what Systems42 can do.
More Information
Follow-ups, each through its own change:
- Where exactly the tailoring sits in the schema, and its format (schema change, by PR).
- Whether the view lasts for one dashboard run or is kept in a local file outside git.
- Renaming the Configure dialog (a
CHANGELOG.mdentry). - Tightening The dashboard never writes to the wiki once the view has moved.
- The requirements go into
raw/fr-02-browse-by-area-and-section.md(tailoring) andraw/fr-12-shared-session-in-a-workshop.md(view) when they are captured.
DR-003 deprecatedQuality requirements are classified by Q42 dimensions
Deprecated (2026-11-20) Quality requirement classification is a Systems42 metamodel decision, not a dashboard decision (The dashboard shows the metamodel, it does not define it).
systems42-org/metaleads on this change (meta issue #35, Q42 dimensions for quality requirements belong in meta). The text below stays on record untilmetasettles it.
Context and Problem Statement
Every quality requirement carries a classification, so readers can group and find them. Until now it was one ISO 25010 attribute (attribute:), such as usability or portability.
The first quality requirement, Usable on phone and tablet, touches two qualities at once: it must be usable and it must adapt to the screen. ISO 25010 puts these in different branches of its hierarchy and allows only one.
How should quality requirements be classified?
Decision Drivers
- A quality requirement often touches several qualities. The classification must not force a choice the requirement does not make.
- The wiki already writes its quality scenarios after Q42 (quality.arc42.org). The classification should fit the same model.
- Readers filter and group by the classification (Requirements with their reasons and their checks).
Considered Options
- One ISO 25010 attribute. Keep
attribute:with its single value. - Several ISO 25010 attributes. Make
attribute:a list. - Q42 dimensions. A list
dimensions:with one or more of Q42's nine dimensions: reliable, flexible, maintainable, efficient, usable, safe, secure, suitable, operable. - Both. One ISO attribute and a list of Q42 dimensions.
Decision Outcome
Chosen option: 3, Q42 dimensions, because Q42 allows several dimensions on one requirement, while ISO 25010 forces a strict hierarchy with a single attribute. Q42's dimensions overlap by design, which matches how real quality requirements behave. The scenario format is Q42 already, so classification and scenario now come from one model.
Consequences
- Good: a requirement names every quality it touches, and appears under each of them.
- Good: one model for classification and scenario, with Q42's examples per dimension as a source for measures.
- Bad: ISO 25010 names no longer appear in the classification. A reader who knows only ISO must map them.
- Bad: projects created from Systems42 before this change carry
attribute:and must move todimensions:when they sync the method. The dashboard no longer readsattribute:.
Confirmation
- The metamodel lint checks that the template and the metamodel declare
dimensions:. - A dashboard test shows one badge per dimension on the quality requirements list.
Pros and Cons of the Options
- Option 1. Good: a known standard, nothing to change. Bad: forces one attribute where a requirement touches several.
- Option 2. Good: keeps ISO names. Bad: works against ISO's own strict hierarchy, and still differs from the Q42 scenario model.
- Option 3. Good: several dimensions, one model with the scenario. Bad: ISO names disappear.
- Option 4. Good: both vocabularies. Bad: two classifications to keep consistent, and the ISO one still forces a single choice.
More Information
The change touches _templates/quality-requirement.md, _system/metamodel/types/type-quality-requirement.md, the Q42 and req42 anchors, AGENTS.md, docs/req42/README.md and the dashboard's quality list. Recorded in CHANGELOG.md.
DR-004 acceptedReleases are container images, pinned per wiki
Context and Problem Statement
Several wikis use the dashboard: this one, isaqb-atrium, the starter kit and project wikis. Until now each held its own copy of the code, and the copies drifted apart. How does a release reach a wiki?
Considered Options
- A container image per release, named by the wiki.
- A git submodule or subtree.
- A copy of the code in each wiki, synced by script.
- A Python package.
Decision Outcome
Chosen option: 1. Every git tag of the dashboard repository publishes an image, ghcr.io/systems42-org/dashboard:<version>. A wiki names its release in _system/wiki.yaml as dashboard_version:, and dashboard.sh starts that image. No wiki holds dashboard code.
It needs only Docker (The dashboard runs in Docker, with uv, or as an app), behaves the same everywhere, and leaves no code to drift. A submodule or a copy keeps the drift, a package needs Python on every machine.
Consequences
- Good: one source for the code, and updates only when a wiki asks.
- Bad: the first start needs network to pull the image.
- Bad: the new-project sync must stop copying the dashboard code into wikis.
DR-005 reviewThe dashboard lives in its own repository, with its requirements and its code
Context and Problem Statement
The dashboard code existed in three repositories and the copies had drifted: systems42-org/meta, systems42-dashboard and isaqb-atrium. Its requirements were split between meta's wiki and this one. Releases are container images, pinned per wiki says how a release reaches a wiki, and names this repository as the code's home only in passing.
Where do the dashboard's code and its requirements live, relative to the Systems42 method in meta?
Decision Drivers
- Systems42 is meant to generate code from requirements and architecture decisions, so a system's requirements and its code belong together.
- Method and dashboard are coupled: a change of the metamodel can need a dashboard change.
Considered Options
- Own repository. systems42-dashboard holds the dashboard's requirements and its code. meta holds only the method.
- Everything in meta. Method, dashboard code and the dashboard's requirements in one repository.
- Code in meta, requirements here.
Decision Outcome
Chosen option: 1, own repository, because requirements and code stay together, and the dashboard is then a system built with Systems42 like any other. Releases are container images, pinned per wiki stands unchanged.
Consequences
- Good: one home for the code and one wiki for its requirements.
- Good: the dependency has to run one way (The dashboard depends on the metamodel, never the reverse).
- Bad: a change that spans method and dashboard needs a pull request in each repository and a version step (The dashboard checks the metamodel version).
- Bad: meta's dashboard requirements and decisions (its FR-010, FR-011, FR-034, DR-022 to DR-025, DR-032, DR-033) have to move here under new IDs.
- Bad: meta must drop its copy of the code and stop depending on it (The method's lint imports dashboard code).
Pros and Cons of the Options
- Option 1. Good: as above. Bad: two repositories and two release lines for a small team.
- Option 2. Good: one pull request for a change that spans both, and one CI run against the current metamodel. Bad: 41 FRs enter a wiki where the same IDs already mean something else, or one repository has to hold two wikis.
- Option 3. Good: one version for method and tool. Bad: separates the dashboard's requirements from its code.
More Information
Follow-ups:
- Move meta's dashboard requirements and decisions into this wiki.
- Reconsider when the metamodel is stable or the dashboard gets maintainers of its own: the cost of option 1 falls with both.
DR-006 draftInteractive diagrams are projected on the server and laid out in the browser
Context and Problem Statement
Until the term network, every diagram of the dashboard was a Mermaid string, drawn by the server from the wiki's typed links. A network that reads as alive, one that clusters and can be dragged and filtered, needs a physics layout, and Mermaid lays out only hierarchies. The term network (Two views of the same terms, Reveal related page types layer by layer) and the detail diagram of the story map (See the requirements as a story map) both need it.
How do the dashboard's interactive diagrams get their data and their layout?
Decision Drivers
- The audience of the dashboard has no Obsidian (Answers without asking a colleague).
- A diagram must stay testable: the same wiki gives the same data every time.
- Every node must stay reachable as a text link on a phone (Usable on phone and tablet).
Considered Options
- Mermaid only. The server draws every diagram. No physics layout, no filtering, no clustering.
- The Obsidian graph. Needs Obsidian, which the audience does not have.
- Projection on the server, layout in the browser. The server projects the diagram's data as JSON from the typed links, the same way it projects Mermaid. A script in the browser only arranges and styles it.
Decision Outcome
Chosen option: 3, because it is the only one that gives an interactive network to readers without Obsidian and keeps the data deterministic and testable. Mermaid stays for static diagrams, such as the context diagram, the data model, the goals diagram and the breakdown of a requirement.
The library that does the arranging is a detail of the code and can change without changing this decision.
Consequences
- Good: one source of truth. The projection is a pure function of the wiki and is tested like the Mermaid ones.
- Good: every interactive diagram can offer its nodes as text links beside the picture.
- Good: the pattern already carries the page that shows the metamodel, besides the term network.
- Bad: the arrangement differs from one load to the next, so two screenshots of the same network are not identical.
- Bad: the dashboard needs a script library that it vendors, next to Mermaid, to work offline.
- Bad: two ways of drawing exist, and a new diagram needs a choice between them.
More Information
The reasoning behind it, with the weighing of the three options and the later amendments on layout and readability, is in the Systems42 method wiki (meta DR-023), where it was recorded for the term network alone.
DR-007 draftThe dashboard gets a uv start and implementations in Go and Swift
Context and Problem Statement
Some people run their Systems42 wiki inside a virtual machine, where neither Docker nor Podman starts. A release is a container image and nothing else (Releases are container images, pinned per wiki), so these people have no dashboard.
How does the dashboard reach a machine without a container engine?
Two days later a second question followed. The Go app shows its pages in the browser and needs a reload after every change. People who write the wiki on a Mac want a window that follows the files and behaves like a Mac app (A Mac-native dashboard app).
How does the dashboard become a Mac app of its own?
Decision Drivers
- The dashboard must start where no container engine runs (A start without a container engine).
- People who do not work in a terminal need an app they can install (An installable dashboard app).
- Every wiki still uses the same released dashboard (One way into every Systems42 wiki).
- People who work on the wiki on a Mac see a saved change at once, in a Mac app (A Mac-native dashboard app).
Considered Options
For the machine without a container engine (2026-11-20):
- A start with uv only. Every release carries a Python package, and uv runs it. One codebase. It needs uv and a terminal.
- A start with uv, and the Python dashboard packaged as an app. The app bundles Python and the existing code. One codebase and one set of tests, an app of 30 to 50 MB.
- A start with uv, and a Go shell around the Python dashboard. A Go app starts a bundled Python server. One codebase for the pages, two runtimes in one app.
- A start with uv, and a second implementation in Go. A small app without a runtime to bundle. Two codebases that must show the same pages.
For the Mac app of its own (2026-11-22):
- A. The Go app only. No further codebase. Pages stay in the browser and change after a reload.
- B. A window with a web view for the Go app. The same pages in a window of the app. Little new code. Still a local server, and menus and windows around web pages.
- C. A third implementation in Swift. It reads the wiki folder directly, follows the files and draws its own windows. A third codebase.
Decision Outcome
Chosen options: 4 and C. Gernot Starke wants the Go implementation as a second version of the dashboard and the Swift implementation as a third, and accepts that it is more work. For the first question Claude recommended option 2, because it keeps one codebase.
The decision has three parts:
- uv. Every release carries a Python package (a wheel) on its GitHub release, next to the container image.
./dashboard.sh uvruns the package of the release the wiki names. This amends Releases are container images, pinned per wiki, which set a Python package aside because it needs Python on every machine: uv fetches Python itself. - Go. A second implementation of the dashboard in Go is delivered as an installable app, for macOS first. It lives in the dashboard's repository (The dashboard lives in its own repository, with its requirements and its code) and shares the release number of the Python dashboard.
- Swift. A third implementation in Swift is a Mac-native app. It ships next to the Go app, lives in the same repository and shares the release number (Grilling session on the Mac-native app).
The three implementations are equal products. For what a page shows, the Python dashboard is the reference (The Python dashboard is the reference for the other implementations).
Consequences
- Good: the dashboard runs without a container engine, in three ways.
- Good: the container start stays as it is.
- Good: on a Mac the wiki shows in a window that follows the files, without a server on the machine.
- Bad: every page and every later feature is built and tested three times, in Python, in Go and in Swift.
- Bad: the implementations can drift apart. A test that compares the pages of the Python and the Go dashboard for the same wiki has to hold these two together.
- Bad: the Swift app produces no HTML, so it is compared on data taken from the Go dashboard, not on pages. Differences in what a reader sees can pass this test.
- Bad: the Swift app has no shared session (Shared session in a workshop). A workshop still needs one of the other two.
- Bad: one installed app serves every wiki on the machine, so a wiki cannot hold the app to its release as it holds the image.
- Bad: an app for macOS must be signed and notarised, which needs an Apple developer account. This holds for both apps.
More Information
The plan for the Go implementation is issue #80. The plan for the Swift implementation is issue #112.
The file keeps its first name, because code and documents outside the wiki link to it.
DR-008 draftThe public website is built by a custom Python script for GitHub Pages
Context and Problem Statement
The dashboard needs a public website at dashboard.systems42.org so people can see the product, browse a live demo and read install instructions before installing anything (A public website for the dashboard, A demo to try without installing). The live demo must render the exact pages of the dashboard itself.
How should the public website and its live demo be built and hosted?
Decision Drivers
- A visitor must try the dashboard without installing anything or creating an account (Show what Systems42 can do, A demo to try without installing).
- Every change on
mainshould build and publish automatically from this repository with no server to maintain (The website is built and published from the repository). - The site must not require running an unauthenticated dashboard server on the public internet (The dashboard is a proof of concept, not production-ready for every environment).
Considered Options
- Custom Python build script (
site/build.py) plus GitHub Pages. A Python script renders the few site pages with Jinja and imports Python dashboard directly to export the live demo as static HTML. GitHub Actions builds and publishes the output to GitHub Pages. - Static site generator (Jekyll, Hugo or MkDocs) plus a separate demo exporter. A site generator builds the marketing and documentation pages, while a separate Python step exports the dashboard demo and merges the two outputs.
- Hosted live dashboard server. Run the dashboard container on a public server behind a reverse proxy for the demo alongside a static site.
Decision Outcome
Chosen option: 1, custom Python build script plus GitHub Pages, because the demo can only be produced by the dashboard's own code. That export already requires Python and Jinja, and the remaining website pages are few enough to share the same template language without introducing a second build toolchain. Hosting static files on GitHub Pages eliminates server operations, hosting cost and public-server security exposure.
Consequences
- Good: one build tool (Python and Jinja) produces both the website and the live demo inside Public website builder.
- Good: zero server operations and zero hosting cost on GitHub Pages.
- Good: the build script checks every internal link across the site and demo before publishing.
- Bad: website layout features that a site generator ships out of the box (feeds, pagination, blog archives) would have to be built manually if ever needed.
- Bad: the demo export is coupled to Python dashboard's Python internals and does not exercise interactive workshop sessions.
Confirmation
make site and the GitHub Actions site workflow run site/build.py on every pull request and push to main and fail if any internal link in the exported site or demo is broken.
More Information
Confirmed by Gernot Starke on 2026-11-22 in Solution strategy of the dashboard and moved from solution strategy to a standalone decision record in Grilling session on modularizing the solution strategy.
DR-009 draftPages are rendered on the server from HTML templates
Context and Problem Statement
The dashboard renders Markdown wiki pages, lists, matrices and diagrams for every current browser, including phones and tablets (Usable on phone and tablet, Works in every current browser), and must also export cleanly to static HTML for the public demo (A demo to try without installing). Both a Python implementation and a Go implementation serve the same views (The Python dashboard is the reference for the other implementations).
How should the dashboard assemble and deliver its web pages to the browser?
Decision Drivers
- Pages must work across current desktop and mobile browsers without heavy client dependencies (Usable on phone and tablet, Works in every current browser).
- Every diagram node must remain accessible as a plain HTML link beside the picture.
- Static HTML export for the public demo must work without running a headless browser (A demo to try without installing).
- Codebase and build setup should stay small and free of a frontend bundler.
Considered Options
- Server-rendered HTML templates with minimal JavaScript. The server renders complete HTML pages from templates, uses Mermaid for static diagrams and ships small vendored JavaScript only where interactivity is needed (search popup, session heartbeat and interactive graph layout per Interactive diagrams are projected on the server and laid out in the browser).
- Client-side single-page application (SPA). The server exposes a JSON API and a JavaScript framework (such as React, Vue or Svelte) renders all views in the browser.
Decision Outcome
Chosen option: 1, server-rendered HTML templates with minimal JavaScript, because it avoids a JavaScript build pipeline, renders cleanly on phones and screen readers with text links beside every diagram, simplifies automated route-parity checks between Python dashboard and Go dashboard, and allows Public website builder to export the live demo by saving HTTP responses directly.
Consequences
- Good: zero frontend build tooling (no Node bundler required to run or build the dashboard).
- Good: Python and Go implementations share the same static CSS, vendored scripts and HTML structure, making HTML parity testing straightforward.
- Good: static demo export saves rendered HTML straight from route handlers.
- Bad: richer client-side interactions (such as drag-and-drop editing or complex stateful client views) require targeted JavaScript modules or a future shift to another UI architecture.
- Bad: template logic has to stay aligned between Jinja2 in Python and template rendering in Go.
Confirmation
Route-parity tests (tests/test_parity.py) compare rendered HTML responses of Python dashboard and Go dashboard, and make site exports all demo routes to static HTML without executing client-side JavaScript.
Out of scope
The Mac-native app draws its pages itself and serves no HTML (A Mac-native dashboard app). This decision covers the Python and the Go dashboard.
More Information
Recorded as an architectural decision rather than a fixed solution-strategy pillar because upcoming implementations may choose a different UI rendering approach (Grilling session on modularizing the solution strategy). Pairs with Interactive diagrams are projected on the server and laid out in the browser for interactive networks.