Skip to content

Decision records

This page sets the rules for decision records at ConnectSoft. It is written for engineers and architects who make or review decisions that outlast a single change.

ConnectSoft keeps two kinds of decision record: - An architecture decision record (ADR) records a technical decision. - A business decision record (BDR) records a business, product or licensing decision.

Where records live

Kind Repository and folder Numbering
Technical ADR: templates, libraries, platform architecture, engineering standards ConnectSoft.Documentation/Docs/decisions/adr/ ADR-0100 and up
Company and product ADR: portfolio, roadmap, delivery model ConnectSoft.CompanyDocumentation/docs/decisions/adr/ ADR-0004 and up
BDR ConnectSoft.CompanyDocumentation/docs/decisions/bdr/ BDR-0001 and up

The two ADR series have different number ranges, so an ID is unique across both repositories.

Rules

CS-PRC-001: Record a durable technical decision as an ADR

Severity: minor · Applies to: service, library, api-client, blazor, template, docs, pipelines · Enforced by: manual · Status: active

Why

Without a record, the reason for a choice is lost and the same debate repeats. An agent or a new engineer cannot tell a deliberate choice from an accident.

Do

Write an ADR when a decision: - chooses a framework, package, database, messaging stack or hosting target; - sets a pattern or convention that several repositories follow; - changes a public contract that several services or packages share; - accepts a licence constraint or a framework support policy; - settles a conflict between documents.

Don't

Write an ADR for: - an implementation detail inside one service; - a temporary workaround; - a choice that had no real alternative.

How to check

A pull request that makes such a decision adds or updates an ADR, or links an existing one.

CS-PRC-002: Use the ADR template, number and index

Severity: minor · Applies to: docs · Enforced by: manual · Status: active

Why

A fixed shape lets readers find the decision and its consequences quickly. The index is how people and agents find records at all.

Do

  • Name the file adr-NNNN-short-title.md with the next free number in the repository's range.
  • Start with a field table: Status, Date, Deciders and Supersedes.
  • Use the sections Context, Decision, Alternatives considered, Consequences and Related.
  • Add a row to the repository's decisions/adr/index.md and an entry to the mkdocs.yml nav in the same pull request.

Don't

  • Reuse a number, even from a rejected or deleted draft.
  • Put the decision only in a page that is not a decision record.

Example

See ADR-0105: Code convention baseline for the shape.

How to check

  • The new ADR has the field table and the five sections.
  • It appears in the index and the nav.
  • Its number is not used elsewhere.

CS-PRC-003: Change a decision by status, never by rewriting history

Severity: minor · Applies to: docs · Enforced by: manual · Status: active

Why

Readers and code link to decision records. A record that silently changes meaning breaks every reference to it.

Do

  • Use the statuses Proposed, Accepted, Deprecated and Superseded.
  • Move a record from Proposed to Accepted when the owner approves it.
  • To change an Accepted decision, write a new record that supersedes it. Then set the old record's status to Superseded with a link to the new one.
  • Correct typos and broken links in place.

Don't

  • Change the decision text of an Accepted record.
  • Delete a record that has been Accepted.

How to check

The diff of an Accepted record changes only status, links or typos. A changed decision comes as a new record.

Business decision records

BDRs follow the same lifecycle. Their sections are: - Status - Context - Decision - Rationale - Business impact - Alternatives considered - Notes

How to write them is described in the CompanyDocumentation decision pages.