Table of Contents

Architecture decision records

An architecture decision record (ADR) captures one significant decision, the options that were considered and the consequences. Together they are the project's decision log, kept next to the code so the reasons are not lost.

The format is MADR. Files are named NNNN-short-title.md and numbered in the order they were written.

ADR Decision Status
0000 Record architecture decisions as ADRs Accepted
0001 Compile rule expressions to cached delegates with System.Linq.Dynamic.Core Accepted, recorded retroactively
0002 Expressions can call only registered types Accepted, recorded retroactively
0003 Report rule errors as results by default Accepted, recorded retroactively
0004 Evaluate global parameters once per execution Accepted, recorded retroactively
0005 Cache compiled rules per workflow and input shape Accepted, recorded retroactively

ADRs 0001 to 0005 describe decisions that were taken before this log existed. Their context is reconstructed from the code and the change log; they do not claim to quote the original discussions.

Adding an ADR

  1. Open an issue or discussion first for anything that changes public behavior (see GOVERNANCE.md).
  2. Copy an existing record to the next number and fill it in. Keep it short.
  3. Add it to the table above and link it from the pull request that implements the decision.
  4. Never rewrite an accepted ADR. To change a decision, add a new ADR and mark the old one Superseded by NNNN.