Skip to content

Architectural Decision Records (ADRs) Index ​

This document tracks all Architectural Decision Records for the Cadence Clinical platform categorized by functional domain.

Standard ADR Template & Scaffolding ​

  • ADR Template
  • Scaffold a new ADR with pnpm adr:new "<title>" or dotnet run --project packages/cli/src/Cadence.Cli.csproj -- scaffold adr "<title>". It writes docs/adr/YYYY-MM-DD-<slug>.md headed # ADR-<highest number + 1>: <title> and appends an entry to the end of this index; renumber it into its area's block (see the numbering rules below) and move that entry into the matching domain section.
  • Validate with dotnet run --project packages/cli/src/Cadence.Cli.csproj -- check adrs.

Numbering Rules ​

Every ADR has exactly one unique number, given on its first line as # ADR-NNNN: Title (numbers below 1000 keep their historical three-digit form, such as ADR-049). When a number was found to be shared by several files, the oldest file kept it and the later files were renumbered in date order; a renumbered ADR carries an Also known as: ADR-XXX (former number) line directly under its heading so older references still resolve. check adrs fails on duplicate numbers, a missing # ADR- heading, an ADR missing from this index or listed twice, and any link in this index that does not resolve.

Reservation rule: since the kernel work of September 2026, a new ADR takes the next free number in the block reserved for its area, not the next number after the highest one. The highest numbers belong to the Stitch block, so the scaffolder's default (one more than the highest) is wrong for every other area: renumber the heading after scaffolding (#5439 tracks fixing the scaffolder). Parallel pull requests may claim numbers at the same time, so re-check main before pushing and renumber your ADR if its number has been taken. Numbers claimed by open pull requests stay free here until those ADRs merge, so gaps in the sequence are expected.

BlockArea
2446–2459Kernel slices (command pipeline, participants, grants, visibility)
2460–2469Standards, rules and mapping
2470–2479Concepts, terminology and the protocol design
2480–2489Clinical Canvas read models
2490–2499Startup, edge and CLI hardening
2500–2509Hygiene and dispositions of ported code
2510–2519Security
2520–2529Operations and ports
2530–2539Testing and evidence
2540–2549Web and the kernel API host
2550–2559Documentation
2590–2599Clinical Canvas (continued); ADR-2591 and ADR-2592 are older Stitch-era decisions
2600–2609Kernel slices (continued)
2610–2619Scaffold service dispositions
2620–2629The eCRF on the kernel observation path
2630–2639AI agents
2640–2649Clinical operations compliance (GCP workflows)
2800–2899Google Stitch pull requests (closed; no new numbers)

An area with no block takes the next unused block of ten below 2800 and adds a row here in the same pull request.

Clinical Kernel Decisions ​

The Clinical Kernel Specification records the kernel decisions K001–K037 (§17) and the ADRs they supersede (§16). The kernel ADRs themselves are listed under "0. Clinical Kernel" below.

DecisionSubjectADR
K001Modular monolith kernel with single schemaADR-2244, ADR-2247
K002Bitemporal implementationADR-2246
K003Tenant isolation (RLS in a shared schema; DB-per-tenant upgrade path)ADR-2250
K004Policy engine (authority computed from evidence)ADR-2251
K005Concept vocabulary (Concept Registry keyed by CDISC Biomedical Concepts)ADR-2252, ADR-2470
K006Identity vault and layered identityADR-2253
K007Neo4j for the designer (dropped for v1); protocol version lifecycleADR-2245, ADR-2452, ADR-2472, ADR-2473, ADR-2474, ADR-2476
K008Rules and standards (rules as versioned data)ADR-2254
K009Lineage graphADR-2255, ADR-2471, ADR-2474
K010Command pipeline and per-tenant audit chainADR-2449
K011Simulation (evaluate-only over candidate versions)ADR-2480
K012Public NodeRef and kernel-computed zoom pathADR-2481
K013Standards Registry and MDR (tenant-scoped, governed reference data)ADR-2460
K014Explanation model produced by the rule ownerADR-2482
K015Dry-run authorization and the command catalogueADR-2483
K016Tenant-scoped search over the source tablesADR-2484
K017Participants, enrollment lifecycle and gap-free numberingADR-2453
K018Rule expression language, rule-pack format and IRuleEvaluator portADR-2461
K019Reader-facing activity stream projectionADR-2485
K020Evidence artifacts as immutable, hash-addressed versionsADR-2454
K021Grants, roles and delegation as bitemporal kernel authorityADR-2455
K022Validation findings derived from immutable runs and attested decisionsADR-2462
K023Work queues as capability-keyed definitionsADR-2486
K024Effectivity and study-site activationADR-2456
K025Expected schedule as a pure function of the protocol designADR-2487
K026Study Pulse metrics and attention rules as versioned indicatorsADR-2488
K027Grant-backed node visibilityADR-2457
K028Mapping specifications as governed concept-to-variable mapsADR-2463
K029IdentityVaultADR-2458
K031Qualifications gate capabilitiesADR-2459
K032Visit timing, anchored visits and cycles on the expected scheduleADR-2507
K033AI proposals and automation agentsADR-2489
K034Observation corrections and scoped locksADR-2620, ADR-2621
K035eCRF forms as kernel collection instances saved in one commandADR-2622
K036Typed observation valuesADR-2623
K037AI agents act through Proposals in one governed runtimeADR-2630, ADR-2632

Domain-Based Decisions Log ​

0. Clinical Kernel (K001–K037) ​

1. Core Platform & Execution Engine ​

2. API Gateway, Security & Identity ​

3. Clinical Data Interoperability & Standards ​

4. Clinical Operations & Business Modules ​

5. Compliance, Audit & Governance ​

6. Frontend & Design System ​

7. DevOps, Tooling & CI/CD ​