sysgraph Docs
Decisions & projects

Architecture decisions (ADR)

An architecture decision record (ADR) makes the reason for a choice permanent: what the problem was, which options were weighed, what was decided and what follows from it. In sysgraph decisions live next to flows and catalog items, so while reading a flow the answer to "why is it like this?" is one click away.

The decisions screen
The decisions screen

Parts of a decision

FieldContent
TitleA short statement of the decision (e.g. "Kafka for events between services")
NumberIncreasing per workspace (ADR-0001, ADR-0002…)
Date, deciders, tagsRecord details
ContextThe problem and its constraints
OptionsThe alternatives considered, with pros and cons
DecisionWhat was chosen and how it will be applied
ConsequencesEffects, risks, follow-ups
LinksCatalog items and flows

Sections are Markdown; switch between Edit and Preview. Editing is visual (formatting shows as you type); the toolbar can switch to the Markdown text. See Markdown fields.

Lifecycle

StatusMeaningNext
ProposedUnder discussion; content can be edited and approvals are collectedAccepted, Rejected
AcceptedThe valid decision; content is lockedDeprecated, or superseded by a new decision
RejectedWill not be appliedCan be reopened (Proposed)
DeprecatedNo longer valid—
SupersededReplaced by another decision—

An accepted decision's content does not change; only links and tags can be updated. To change the decision, Supersede with a new decision opens a proposal (content and links are copied). When the new decision is accepted, the old one becomes "Superseded" and the two are linked as a chain.

Review and approval

Proposed decisions can be approved, and the number of approvals needed to accept is configurable. In cloud workspaces the decision board sets who approves and who accepts: Decision rules. When a decision's content changes, the approvals already given drop, because they were given to that text.

Linking to flows

  • Link flows from the Flows section of the decision page.
  • In a flow, add a note linked to the decision with the Decision step in the palette; clicking the note in the preview opens the decision.
  • The decision page also lists the flows that embed it as a note.

Notes pointing to a superseded decision trigger a warning in the diagram check; the Link all to … button on the decision page relinks them all to the new decision at once.

Quick decision from a flow

To record a decision while reading a flow:

  1. Open New decision from a step's menu, from the Decision step in the palette or from the decisions button in the flow bar.
  2. Write the title and a short decision. Optionally keep the flow's current state as the "before the decision" version.
  3. The decision is created, linked to the flow and to the catalog items of the related participants, and added to the flow as a note.

If the "before" version was kept, Compare with the version before the decision on the decision page shows how the flow has changed since then.

Draft with AI

Draft with AI on the decision page writes a draft of the context, options, decision and consequences from your short notes and the linked flows. Edit the draft and save it. See AI.

HTML document

To attach a decision to an issue, a wiki page or an email, or to print it, use .html on the decision or HTML on the Decisions screen. You get a single HTML file with the details (status, date, deciders, tags, approvals, superseded decisions), the sections, and optionally the linked catalog items and flows with their diagrams embedded. The list version starts with an index linking to each decision; when a search or status filter is active you choose between the decisions in the list and all decisions. The file has no scripts and can be opened offline.

Markdown import and export

  • Export: download a decision as .md with Download as Markdown, or all of them as a ZIP with an adr/ folder and an index README.md. The format is MADR-compatible, so you can keep it in your repository in a folder such as docs/adr.
  • Import: bring in Markdown files (adr-tools files included) with Import on the Decisions screen. A decision with the same id is skipped; a new decision whose number clashes is added at the end.

Activity

The Activity section at the bottom of a decision page shows who did what and when: creating, editing (which fields), approving, changing status. In the cloud the server writes the rows; in a local workspace (Lite and web) the app writes them with the same rules. They cannot be changed.