Decision log
Example Lending keeps decision records in each team’s repository (ADR-001); this page collects them in one place. Each record names the principles (P1 to P8, from the worked example), requirements (R-) and quality scenarios (QS-) it serves, so you can trace any design choice back to a reason. Requirements and scenarios are defined on the quality scenarios page.
The program started in January 2026; dates are fictional.
| ADR | Decision | Status | Team | Traces to |
|---|---|---|---|---|
| 001 | Record architecture decisions in each team’s repository | Accepted | Architecture | Governance |
| 002 | Managed containers and managed data services on one cloud provider | Accepted | Platform | P7, QS-03, QS-06 |
| 003 | The application service is the single system of record for applications | Accepted | Journey | P2, R-07 |
| 004 | Record reason codes at decision time | Accepted | Decisioning | P1, R-01, R-08, QS-07 |
| 005 | Rules plus an explainable scorecard, no opaque models | Accepted | Decisioning | P1, R-01, QS-08 |
| 006 | Buy identity verification and e-signature | Accepted | Journey | P3 |
| 007 | Keep an append-only decision log | Accepted | Decisioning | P6, R-02, QS-07 |
| 008 | Publish events through a transactional outbox | Accepted | All | P4, QS-05 |
| 009 | Integrate with the servicing system through events and an adapter | Accepted | Payments | R-04 |
| 010 | Fund through the bank’s payment API, with idempotency and daily reconciliation | Accepted | Payments | R-05, R-10, QS-05 |
| 011 | Run the decision service in parallel with the batch before switching | Accepted | Decisioning | P8 |
| 012 | Roll out by channel behind feature flags | Accepted | Journey | P8 |
| 013 | Every model feature is reviewed by compliance before use | Accepted | Decisioning | P1, R-11 |
| 014 | Workload identity and a secrets manager, no shared service accounts | Accepted | Platform | P6, R-09 |
| 015 | OpenTelemetry and SLOs on the two journeys that matter | Accepted | Platform | QS-03 |
| 016 | Add instant payments as a second funding rail | Proposed | Payments | Phase H change |
ADR-001: Record architecture decisions in each team’s repository
Section titled “ADR-001: Record architecture decisions in each team’s repository”Status: Accepted, January 2026. Traces to: governance tailoring.
Context. Two solution architects and four teams were making decisions in meetings and chat. Nobody could later say why a choice was made.
Decision. Each significant decision is a short Markdown record in the owning team’s repository, using the headings on this page. Decisions that depart from a principle go to the fortnightly design review; the rest are reviewed in the pull request.
Alternatives. A central architecture wiki (drifts from the code); a modeling tool (too heavy for the team’s size).
Consequences. Decisions live next to the code they affect and change through the same review. This page is generated from the repositories.
ADR-002: Managed containers and managed data services on one cloud provider
Section titled “ADR-002: Managed containers and managed data services on one cloud provider”Status: Accepted, January 2026. Traces to: P7, QS-03, QS-06.
Context. The public website already ran on one cloud provider. The technology team is 45 people, with no dedicated database or infrastructure operations staff.
Decision. Run services on the provider’s managed container service across three availability zones, with managed PostgreSQL per service, a managed Kafka-compatible event stream and object storage. Keep a warm standby in a second region for disaster recovery.
Alternatives. Self-managed Kubernetes (more control, more operational load than the team can carry); multi-cloud (no requirement justified the cost).
Consequences. Faster delivery and less operational work; dependence on one provider, accepted and recorded. Exit cost reduced by using open interfaces (PostgreSQL, Kafka API, OpenTelemetry).
ADR-003: The application service is the single system of record for applications
Section titled “ADR-003: The application service is the single system of record for applications”Status: Accepted, February 2026. Traces to: P2, R-07.
Context. Applications previously existed as web form data, rekeyed records and branch paper. Reconciling them caused errors.
Decision. The application service owns every application, whether it comes from the web or a branch. Other services receive application data through its API or events and never keep a master copy.
Alternatives. Keep the origination system as the record during transition (would have kept rekeying alive until stage 3).
Consequences. Branches move to the same flow in stage 3 (ADR-012). Reporting reads copies in the data platform, labeled as copies.
ADR-004: Record reason codes at decision time
Section titled “ADR-004: Record reason codes at decision time”Status: Accepted, March 2026. Traces to: P1, R-01, R-08, QS-07.
Context. Regulation B requires lenders to give declined applicants the specific principal reasons for the decision. The first design generated reasons later, when the notice was produced. The design review found that a rule or model change between decision and notice could produce reasons that didn’t match the actual decision.
Decision. The decision service produces up to four reason codes when it makes the decision, from the failed policy rules and the scorecard attributes that cost the most points. They’re stored with the decision and passed to the notice service in the decision event.
Alternatives. Generate reasons at notice time (rejected for the reason above).
Consequences. Reason codes are part of the decision contract and tested like any output. Changing the reason-code mapping is a versioned strategy change.
ADR-005: Rules plus an explainable scorecard, no opaque models
Section titled “ADR-005: Rules plus an explainable scorecard, no opaque models”Status: Accepted, March 2026. Traces to: P1, R-01, QS-08.
Context. The credit team wanted a model that improves on the old batch rules. Compliance needs every decision to have accurate, specific reasons, which the CFPB has said applies even to complex models.
Decision. Decisions combine policy rules (eligibility, affordability, fraud flags) with a points-based scorecard whose contribution per attribute is visible. Rules, scorecards and pricing grids are versioned artifacts in a strategy registry, approved by credit and compliance, and deployed without code changes.
Alternatives. A gradient-boosted model with post-hoc explanations (more accurate in testing, but explanations would need validation the team couldn’t yet provide); keep batch rules only (no improvement).
Consequences. Lower model accuracy than the best tested alternative, accepted. Revisit when the team can validate explanation methods; recorded as a revisit trigger.
ADR-006: Buy identity verification and e-signature
Section titled “ADR-006: Buy identity verification and e-signature”Status: Accepted, February 2026. Traces to: P3.
Context. Identity verification and e-signature are commodities with specialist vendors and regulatory track records.
Decision. Buy both, integrated through their APIs behind adapters in the application service. Each vendor signs an architecture contract covering data handling, availability, audit evidence and exit.
Alternatives. Build in-house (no advantage, high risk).
Consequences. Two vendor dependencies with per-transaction cost. Adapters keep switching cost low; vendor outages are handled by queuing (QS-10 applies the same pattern to the bureau).
ADR-007: Keep an append-only decision log
Section titled “ADR-007: Keep an append-only decision log”Status: Accepted, March 2026. Traces to: P6, R-02, QS-07.
Context. Regulation B requires records of consumer credit applications to be kept for 25 months after notifying the applicant. Example Lending’s compliance team set a 7-year policy to cover disputes and examinations. The records must be shown to be unaltered.
Decision. Every decision is written as an immutable record (inputs, credit report reference, rule and model versions, score, outcome, reason codes, timestamps) to object storage with a write-once retention lock of 7 years, replicated to the standby region.
Alternatives. Keep decisions only in the decision service database (can be altered; harder to prove integrity).
Consequences. Storage cost is small. Deleting a record early is technically impossible, so data subject requests and legal holds follow a documented process. Retrieval for compliance is through the workbench (QS-07).
ADR-008: Publish events through a transactional outbox
Section titled “ADR-008: Publish events through a transactional outbox”Status: Accepted, February 2026. Traces to: P4, QS-05.
Context. Services must publish events (application submitted, decision made, loan funded) reliably. Writing to the database and then publishing can lose events if a service crashes between the two.
Decision. Each service writes its events to an outbox table in the same transaction as its state change. A relay publishes them to the event stream. Consumers are idempotent, keyed on the event ID, because delivery is at least once.
Alternatives. Publish directly after commit (can lose events); distributed transactions (not supported by the managed services, and fragile).
Consequences. Small delay between commit and publication (median under one second). Every consumer keeps a processed-event table. See data and events.
ADR-009: Integrate with the servicing system through events and an adapter
Section titled “ADR-009: Integrate with the servicing system through events and an adapter”Status: Accepted, February 2026. Traces to: R-04.
Context. The servicing system can’t change in this program (R-04). It exposes an old SOAP interface for creating loans.
Decision. A servicing adapter, owned by the payments team, consumes “loan funded” events and creates the loan through the SOAP interface. It retries with backoff and alerts after 30 minutes of failure. No other service calls the servicing system.
Alternatives. Each service calls the servicing system directly (spreads a fragile dependency); nightly file (too slow for next-day servicing).
Consequences. The servicing system’s quirks are contained in one place, ready to be replaced when servicing is modernized.
ADR-010: Fund through the bank’s payment API, with idempotency and daily reconciliation
Section titled “ADR-010: Fund through the bank’s payment API, with idempotency and daily reconciliation”Status: Accepted, May 2026. Traces to: R-05, R-10, QS-05.
Context. Funding was a manual file upload to the bank’s portal. Next-business-day funding requires automation, and a duplicate payment is the costliest possible defect.
Decision. The funding service sends one ACH credit per loan through the partner bank’s payment API, using the loan ID as the idempotency key, and records every movement in a double-entry ledger. Payments are submitted for the bank’s same-day ACH windows. Settlement and return files are reconciled against the ledger every day; breaks open a case for funding operations.
Alternatives. Keep file uploads, automated (no idempotency or real-time status from the bank).
Consequences. Funding depends on the bank’s API availability; payments queue and catch up if it’s down. ACH returns (for example, closed accounts) are handled as events, not exceptions. See payments architecture.
ADR-011: Run the decision service in parallel with the batch before switching
Section titled “ADR-011: Run the decision service in parallel with the batch before switching”Status: Accepted, April 2026. Traces to: P8.
Context. Switching credit decisions to a new system is the riskiest change in the program. A mistake affects real customers and credit losses.
Decision. For four weeks, the decision service decides every application in shadow mode, alongside the batch, without acting. Differences are reviewed daily by credit. Switch only when agreement on outcomes is above 98% and every difference is explained.
Alternatives. Switch directly with a rollback plan (too risky); A/B split of live traffic (harder to explain to compliance).
Consequences. Four weeks added to stage 2. The comparison found two rule translation errors before any customer was affected. See migration and cutover.
ADR-012: Roll out by channel behind feature flags
Section titled “ADR-012: Roll out by channel behind feature flags”Status: Accepted, March 2026. Traces to: P8.
Context. Changing every channel at once would make any failure company-wide.
Decision. New capabilities go live behind feature flags, first for a small share of web applicants, then all web, then branches. Each step has a success measure and a tested switch back.
Alternatives. Big-bang launch (rejected under P8).
Consequences. Both flows run side by side for a while, which costs support effort. Flags are removed within one month of full rollout, tracked as work items.
ADR-013: Every model feature is reviewed by compliance before use
Section titled “ADR-013: Every model feature is reviewed by compliance before use”Status: Accepted, May 2026. Traces to: P1, R-11.
Context. The decisioning team proposed adding the applicant’s postcode area to the scorecard because it improved accuracy. Compliance flagged that location can act as a stand-in for protected characteristics, a fair-lending risk.
Decision. The postcode feature is rejected. From now on, every proposed model attribute and policy rule is reviewed by compliance before entering the strategy registry, and the registry enforces the approval.
Alternatives. Use the feature with monitoring (rejected: the risk is in the design, not just the outcome).
Consequences. Slightly lower model accuracy. A new approval step, which takes about a week. Principle P1 gained an explicit implication.
ADR-014: Workload identity and a secrets manager, no shared service accounts
Section titled “ADR-014: Workload identity and a secrets manager, no shared service accounts”Status: Accepted, February 2026. Traces to: P6, R-09.
Context. The old platform used shared service accounts with passwords in configuration files.
Decision. Services authenticate to each other and to cloud resources with workload identity. Remaining secrets (vendor API keys) live in the secrets manager, rotated automatically where vendors support it. People reach production only through just-in-time access, logged.
Alternatives. Keep shared accounts with vaulted passwords (still shared, still hard to rotate).
Consequences. Every access is attributable. Vendor key rotation depends on each vendor; manual rotation is scheduled quarterly where needed. See the threat model.
ADR-015: OpenTelemetry and SLOs on the two journeys that matter
Section titled “ADR-015: OpenTelemetry and SLOs on the two journeys that matter”Status: Accepted, March 2026. Traces to: QS-03.
Context. The old platform had server logs only. Incidents were found by customers.
Decision. Every service is instrumented with OpenTelemetry, with trace context carried through events. SLOs are defined on two user journeys, “get a decision” and “get funded”, and alerts fire on error-budget burn rate, not on server metrics. See operations.
Alternatives. Vendor agents per service (lock-in, inconsistent data).
Consequences. Instrumentation work in every service. On-call pages dropped while detection improved.
ADR-016: Add instant payments as a second funding rail
Section titled “ADR-016: Add instant payments as a second funding rail”Status: Proposed, October 2026. Traces to: phase H change request.
Context. The partner bank now supports instant payments. Funding the same day, even on weekends, would beat competitors. Instant payments can’t be reversed.
Decision (proposed). Add instant payments as a second rail in the funding service, used for loans under $10,000 after all fraud checks pass, with ACH kept as the default and fallback. The ledger and reconciliation model stay the same.
Alternatives. Replace ACH entirely (higher cost per payment, no reversal).
Consequences. Fraud checks must be complete before sending, since there’s no recall. To be decided at the December design review, after a cost and fraud analysis.
Related pages
Section titled “Related pages”Written and edited by Abhinav Taduka, enterprise software architect.
New pages are added regularly. Follow Abhinav on LinkedIn to see them first.