The previous module ended with a statement and a list. The statement: the Rutaverde platform is designed, measured, and ready to be operated, but it is not built. The list, of questions no diagram answers: who chooses the cloud provider, who validates the retention periods, when the core is migrated, who checks that the nineteen ADRs are followed, in what order everything gets built with 22 developers who also maintain RouteManager, and what is done with a ten-year-old monolith and an unsupported Java runtime. They all have something in common: they begin with "who" or "when," not with "how." In this module, Marta and Daniel move to the foreground, and you with them: the architect stops being only the person who designs and also becomes the person who helps decide, plan, and sustain what has been decided. We start with the question that puts the others in order: who decides what, under what rules, and how compliance is checked. That is governance.
Warning. This lesson deals with legal and contractual matters: data protection, retention periods, contracts with providers. The periods, clauses, and criteria that appear are a teaching example with fictitious data. In a real case they must be reviewed by legal counsel, data protection, and regulatory compliance professionals.
Contents
- Governance and management: two different things
- The objectives of IT governance
- Reference frameworks: COBIT, ITIL, ISO/IEC 38500, and TOGAF
- Architecture governance: bodies and decision rights
- Principles, standards, and the technology catalog
- Exceptions and compliance verification
- Risks and regulatory compliance
- Vendor governance: choosing the cloud provider
- Governance indicators
- Rutaverde's governance model
- Governance and management: two different things
The two terms are used as synonyms, and they are not:
| Governance | Management | |
|---|---|---|
| Question | Are we doing the right thing? Who decides? | Are we doing it well? |
| Activities | Evaluate, direct, and monitor | Plan, build, operate, and measure |
| Produces | Objectives, rules, decision rights, risk limits | Plans, systems, services, reports |
| Who | Senior management and the bodies it delegates to | Managers and their teams |
| Example at Rutaverde | "No personal data leaves the EU"; "the cost does not exceed €600,000 a year" | Configuring guardrail B-01; reviewing the monthly bill |
IT governance is therefore the set of structures, rules, and control mechanisms with which an organization makes sure that its technology serves its objectives, at a risk and a cost accepted by whoever answers for the business.
Rutaverde already governs without having called it that. When Daniel set the RTO at two hours and the ceiling at €600,000, he was governing. When Íñigo designed the backups that meet that RTO, he was managing. What is missing is making it explicit and stable: until now, each decision has been made by gathering whoever seemed appropriate. With nineteen ADRs, five cloud accounts, and a two-year program ahead, that is no longer enough.
- The objectives of IT governance
Almost all frameworks agree on five objectives. For each one, the question senior management asks and what Rutaverde already has:
| Objective | Management's question | What already exists at Rutaverde |
|---|---|---|
| Business alignment | Is technology heading where the company is heading? | The goal of 20 cities and 200,000 shipments a day turned into NFR-06 and NFR-07; principle P5 |
| Value delivery | Does what is invested produce results? | The cost per shipment from ADR-018; the impact analysis from ADR-019 |
| Risk management | Do we know the risks and have we decided what to do about each one? | The threat register from ADR-013; risks accepted and signed off in each ADR |
| Resource management | Do we have the right people, capacity, and providers? | The capacity plan from ADR-014; 35 people in technology |
| Performance measurement | How do we know it is going well? | SLOs and error budget; the catalog of indicators from ADR-015 |
The work of this lesson is not to invent any of this, but to give it an owner, a calendar, and a body that looks at it.
- Reference frameworks: COBIT, ITIL, ISO/IEC 38500, and TOGAF
There are frameworks that gather decades of experience. You do not need to memorize them; you need to know which question each one answers so you can turn to the right one.
| Framework | What it is | What it contributes | When to turn to it |
|---|---|---|---|
| ISO/IEC 38500 | A short IT governance standard aimed at senior management | Six principles (responsibility, strategy, acquisition, performance, conformance, and human behavior) and the evaluate, direct, monitor cycle | To explain to senior management what its role is |
| COBIT | An IT governance and management framework, widely used in auditing | A catalog of governance and management objectives, with practices and metrics, and a sharp separation between the two | To design or audit the control system |
| ITIL | A set of best practices for IT service management | Practices for incidents, changes, problems, service levels, the service catalog | To organize day-to-day operations |
| TOGAF | An enterprise architecture framework | A phased architecture development method and a chapter on architecture governance: board, contracts, compliance | To govern architecture decisions |
How they fit together:
flowchart TB
DIR["Senior management: evaluates, directs, and monitors - ISO/IEC 38500"]
GOV["Governance and control system - COBIT"]
ARCH["Architecture governance - TOGAF"]
SVC["Service management - ITIL"]
DIR --> GOV
GOV --> ARCH
GOV --> SVC
ARCH -->|"what is built and under what rules"| SVC
SVC -->|"incidents, costs, and measurements"| ARCH
Two warnings about their use:
- They are catalogs, not recipes. None is implemented in full. You take what solves a problem you actually have.
- Size matters. Designed for organizations of thousands of people, applied to the letter in one of 35 they produce committees with nothing to discuss. Principle P3, simple first, holds for the organization too.
Rutaverde already uses pieces of all of them without naming them: the severities and the post-incident reviews are ITIL practices; the architecture domains from the first module come from TOGAF.
- Architecture governance: bodies and decision rights
The architecture board
The classic body is the architecture review board (ARB): a group that reviews significant decisions, maintains the principles and standards, and grants exceptions. It has a bad reputation, sometimes deserved: a board that meets once a month to approve everything that gets built is a bottleneck that teams learn to work around.
A lightweight board is distinguished by four traits:
- It reviews decisions, not projects. Its raw material is the ADR, which already exists. It does not ask for new documents.
- It only sees what is significant. The filter is the one from the first module: structure, priority attributes, cost of reversal, several teams, external dependency, or exception to a principle.
- It decides in writing and with a deadline. Reversible decisions are reviewed asynchronously, by commenting on the ADR in the repository. The meeting is reserved for what needs discussion.
- It includes those who build. If there are only architects, the board dictates. If there are developers and operations, it agrees.
Decision rights
The most important question in governance is who decides what. If it is not written down, every decision starts with an argument about who has to make it. Rutaverde defines three levels:
| Level | Which decisions | Who decides | How it is recorded |
|---|---|---|---|
| 1. Team | The non-significant ones: internal design of a module, libraries within the catalog, refactorings | The owning team | In the code and its review |
| 2. Architecture board | The significant, reversible ones: a new pattern, a contract between modules, a technology in the "trial" ring | The board; Marta approves | ADR |
| 3. Technology steering committee | The irreversible or expensive ones: provider, core migration, recurring cost above €25,000 a year, acceptance of a high risk, contractual commitments | The committee; Daniel approves | ADR signed off by the committee |
To distribute responsibilities within each decision, a RACI matrix is used. Each letter is a role:
- R, responsible: whoever does the work.
- A, accountable: whoever answers for the result and has the final say. Only one per row.
- C, consulted: whoever must give an opinion beforehand.
- I, informed: whoever must know afterward.
| Decision or activity | Daniel, business | Marta, architecture | Íñigo, operations | Clara, security | Development teams | Legal and finance |
|---|---|---|---|---|---|---|
| Program priorities and budget | A | R | C | C | I | C |
| Significant architecture decision (ADR) | I | A | C | C | R | — |
| Irreversible decision or one above €25,000 a year | A | R | C | C | I | C |
| Internal design of a module | — | C | — | — | A and R | — |
| Exception to a principle or standard | I | A | C | C | R | — |
| Acceptance of a high risk | A | C | C | R | I | C |
| Choice of a critical provider | A | C | R | C | I | C |
| Retention periods and data processing agreements | I | C | I | R | I | A |
| Release of a change to production | — | — | I | — | A and R | — |
| Declaration of a disaster | A | C | R | C | I | I |
Three readings of the table:
- Marta does not approve everything. She approves the ADRs and the exceptions. The internal design of a module belongs to the team, and so does the release to production: it is guaranteed by the pipeline from ADR-016, not by a signature.
- Daniel approves whatever commits money, risk, or contracts. That is consistent with what he already did in ADR-018 and ADR-019.
- The last row already existed. ADR-019 set it: Íñigo proposes, Daniel decides. The matrix generalizes that pattern.
A common mistake when building a RACI is to put two accountable people "so that there is consensus." Two accountable people mean that, when they disagree, nobody decides.
- Principles, standards, and the technology catalog
The board does not govern by opinion. It governs with three instruments, from the most general to the most concrete:
| Instrument | What it says | Example at Rutaverde | Changes |
|---|---|---|---|
| Principles | How to reason | P1 to P7 | Almost never |
| Standards | What is required | TLS on every hop; logs in JSON with no personal data; the tags from B-08; an ADR template with a security section and a cost estimate | With an ADR |
| Technology catalog | What to build with | PostgreSQL, OpenTelemetry, AMQP, OCI images | Every six months |
The catalog is often presented as a technology radar with four rings:
- Adopt: the default option. Using it requires no justification.
- Trial: it is used in a real, bounded case in order to learn.
- Assess: it is being studied; it is not yet used in production.
- Retire: nothing new is started with it, and what exists has an exit date.
technology_radar:
review: semiannual
next_review: 2027-06
adopt:
- { name: PostgreSQL, use: relational database, origin: ADR-006 }
- { name: OpenTelemetry, use: "metrics, traces, and logs", origin: ADR-015 }
- { name: Managed AMQP messaging, use: events between services, origin: ADR-007 }
- { name: OpenID Connect, use: identity of people and services, origin: ADR-009 }
- { name: Declarative infrastructure as code, use: every resource, origin: ADR-016 }
trial:
- { name: Containers on a managed service, use: Tracking and Notifications, origin: ADR-016 }
- { name: Fitness functions in the pipeline, use: dependency rules between modules }
assess:
- { name: Managed PostgreSQL for the core, condition: core migration ADR }
- { name: Managed Kubernetes, condition: more than 5 services in the cloud, origin: ADR-016 }
retire:
- { name: Unsupported Java runtime, exit: 2027-06-30 }
- { name: 37-step manual deployment, exit: 2027-03-31 }
- { name: Single database user, exit: 2027-06-30 }
- { name: Sessions in instance memory, exit: 2027-06-30 }
- { name: Direct reads of other modules' tables from Reports, exit: 2027-10-31 }- Each entry under
adoptcites the ADR that justifies it (origin). The radar decides nothing by itself: it summarizes decisions already made, so that a team can find them without reading nineteen documents. - The entries under
assesscarry acondition: what would have to happen for them to move up a ring. It is the same device as the triggers in ADR-006. - Those under
retirecarry anexitdate. A "retire" ring without dates is a list of good intentions. The dates in this example will be confirmed when the program is planned. - What does not appear on the radar is not forbidden: it has to go through the board. That is the difference between a catalog and an allowlist.
- Exceptions and compliance verification
The exception process
Every rule will have cases in which complying with it today is worse than not complying. Governance without an exception process does not prevent exceptions: it makes them invisible. A well-handled exception has five elements: which rule is not being met, why, what risk is being taken on, who answers for it, and when it expires.
exceptions:
- id: EXC-001
rule: "Nothing runs in production less than 6 months from its end of support (ADR-015)"
scope: the monolith's Java runtime, with support expired
reason: the upgrade requires adapting and testing the whole monolith
risk: high; there are no security patches
compensating_controls: edge WAF, dc-app zone with no outbound internet access, reinforced monitoring
owner: monolith team
approved_by: technology steering committee
granted: 2026-12-03
expires: 2027-06-30
exit_plan: upgrade to a supported version
- id: EXC-002
rule: "P1: every piece of data has a single owner"
scope: Reports reads tables belonging to other modules
reason: the published views from ADR-006 do not exist yet
risk: medium
compensating_controls: Reports reads only from the db-02 replica
owner: monolith team
approved_by: architecture board
granted: 2026-12-03
expires: 2027-10-31
exit_plan: published views per moduleEXC-001is approved by the committee and not by the board, because the risk is high: the table of levels says so.compensating_controlslists the controls that reduce the risk while the exception lasts. An exception is not permission to do nothing.expiresis the field that distinguishes an exception from a waiver. Rutaverde sets a maximum of twelve months and a single renewal; a second renewal requires changing the rule or executing the plan.
Verifying that the ADRs are followed
An accepted ADR is an intention. There are three ways to check that reality follows it, from least to most reliable:
| Mechanism | What it consists of | Limitation |
|---|---|---|
| Periodic review | Every quarter the board goes over the ADRs in force: is the context still true? Has what was decided been built? | It depends on the memory and candor of those present |
| Review at change time | Whoever reviews a code or infrastructure change checks that it respects the ADRs that affect it | It depends on the reviewer knowing them |
| Fitness functions | Automated checks, run in the pipeline or periodically, that fail when the system drifts away from a decision | They only work for what can be expressed as a test |
The fitness function is the most valuable idea of the three: turning an architecture decision into a test that runs by itself. Rutaverde already has several without having called them that:
| Decision | Fitness function that already exists |
|---|---|
| Guardrails B-01 to B-08 from ADR-011 | Policy as code in the pipeline: a resource outside the EU is not deployed |
| NFR-04, validated in ADR-017 | Performance baseline: the pipeline fails if the p95 worsens by more than 10% |
| Infrastructure as code from ADR-016 | Drift detection between what is declared and what is deployed |
| Signed images from ADR-011 | The deployment rejects an unsigned image |
It is principle P6 applied to governance: if a check repeats, automate it. We will develop this idea, with new examples, when we talk about continuous evaluation.
- Risks and regulatory compliance
Risks
Governing risk does not mean eliminating it, but making sure that every relevant risk has an assessment, a response, and an owner, and that whoever accepts it has the authority to do so. Rutaverde uses the scale from the security module, likelihood from 1 to 3 times impact from 1 to 3, and an escalation rule:
| Risk level | Who can accept it | Review |
|---|---|---|
| Low, 1 or 2 | The owning team | Annual |
| Medium, 3 or 4 | The architecture board | Semiannual |
| High, 6 or 9 | The committee, with Daniel's signature | Quarterly |
The registers already exist, scattered: the threat register from ADR-013, the accepted risks at the end of each ADR, the continuity risks from ADR-019. Governance gives them a single owner, Clara for the security ones and Marta for the rest, and a fixed date on the calendar.
Regulatory compliance
Compliance is the part of risk that is imposed from outside: laws, contracts, and standards. For Rutaverde, three fronts:
- Data protection (GDPR). What personal data is processed, on what basis, for how long, who is the controller and who the processor, and which third parties are involved.
- Contracts with customers. The 99.5% SLA and its penalties.
- Contracts with providers. What each third party commits to doing with the data and with the service.
Two GDPR concepts that shape the architecture:
| Role | What it is | At Rutaverde |
|---|---|---|
| Data controller | Whoever decides why and how the data is processed | The merchant, with respect to its recipients' data. Rutaverde, with respect to its employees and its customers' contacts |
| Data processor | Whoever processes data on behalf of the controller, following its instructions | Rutaverde, with respect to the recipients' data |
| Sub-processor | A third party to which the processor entrusts part of the processing | The cloud provider, the SMS and email provider, the maps provider, the identity provider, the observability provider |
The practical consequence: every merchant must have a data processing agreement with Rutaverde, and Rutaverde must have a contract with each sub-processor that passes on the same obligations. The architecture can make this easier, for example with events that carry no personal data and with everything in the EU, but it does not replace the contract.
The picture is completed by the organizational controls, which no system applies by itself:
- Onboarding: every account is created in the identity provider from the onboarding record in human resources, with the role for the position.
- Offboarding: the account is deactivated on the same day the person leaves the company.
- Access review: every quarter, each manager confirms the roles of their team; Clara reviews the grants of
role-platform-admin. - Audit: an annual external review of security and data protection, whose conclusions go into the risk register.
- Vendor governance: choosing the cloud provider
A modern platform depends on third parties for critical functions. Governing them means keeping a register with four questions per provider: how much we depend on it, what data we entrust to it, what it guarantees us, and how we would get out.
| Provider | Criticality | Sub-processor? | Exit plan | Status |
|---|---|---|---|---|
| Public cloud | Very high | Yes | Standards from NFR-13; annual exit plan | Chosen in this lesson |
| Identity | Very high | Yes | OpenID Connect is a standard | Defined in ADR-009; contracted when the program starts |
| Managed edge | High | Yes, in transit | Configuration as code | Defined in ADR-012; contracted when the program starts |
| Observability | Medium | Yes, with no personal data | OpenTelemetry is a standard | Under selection; decision in February 2027 |
| SMS and email | High for notifications | Yes | Second provider | Open decision: second provider |
| Maps and geocoding | Medium, there is a fallback | Yes | Own interface | In force |
| Accounting ERP | Low | No | — | In force |
Choosing the cloud provider
ADR-002 decided to go to the cloud and left the provider unchosen. Several later decisions are waiting on that choice, among them the spending commitment from ADR-018. It is a level 3 decision: expensive to reverse, contractual, and involving personal data. Íñigo prepares it, with Marta and Clara, and Daniel approves it.
Three candidates are compared, which we will call A, B, and C so as not to depend on brands:
- Provider A: a large global provider, with the broadest catalog of services. A region in the EU with three zones. The most expensive. It is the one two people on the team know.
- Provider B: a large global provider, with a three-zone region in the Iberian Peninsula and a connection point for the private link less than 5 ms from Zaragoza. It has all the managed services the ADRs call for.
- Provider C: a European provider, the cheapest and with the best contractual terms. Its catalog is short: it offers neither managed AMQP messaging nor a managed container service, which would have to be self-operated.
The criteria and their weights are set before scoring, and they come from the requirements:
| Criterion | Weight | Where it comes from |
|---|---|---|
| Managed services required by the ADRs, in an EU region with at least two zones | 25% | ADR-006, 007, 008, 010, and 016; principle P3 |
| Estimated total cost over three years, including data egress | 20% | NFR-12, ADR-018 |
| Portability and use of standards | 15% | NFR-13 |
| Connectivity with the Zaragoza data center | 15% | ADR-002, ADR-019 |
| Compliance and contract: data processing agreement, certifications, right to audit | 15% | NFR-09 |
| Team experience and available support | 10% | 6 people in operations |
Scores from 1 to 5, and the weighted total:
| Criterion | Weight | A | B | C |
|---|---|---|---|---|
| Managed services | 25% | 5 | 4 | 2 |
| Three-year cost | 20% | 3 | 4 | 5 |
| Portability | 15% | 3 | 4 | 4 |
| Connectivity | 15% | 3 | 5 | 4 |
| Compliance and contract | 15% | 4 | 4 | 5 |
| Experience and support | 10% | 4 | 3 | 2 |
| Weighted total | 3.75 | 4.05 | 3.65 |
The calculation for B, as a check: 4 × 0.25 + 4 × 0.20 + 4 × 0.15 + 5 × 0.15 + 4 × 0.15 + 3 × 0.10 = 1.00 + 0.80 + 0.60 + 0.75 + 0.60 + 0.30 = 4.05.
Reading it, with the rules from the first module:
- B wins by a real margin, 0.30 over A and 0.40 over C.
- C has a veto. A 2 on the heaviest criterion means self-operating the event bus and the containers, with six people in operations. It contradicts P3 and ADR-016.
- B's disadvantage is the team's experience, and that is dealt with through training, not through a different choice.
- It is half a one-way door. The standards from NFR-13 make the exit cheaper, but they do not make it free. That is why the ADR includes an exit plan.
# ADR-021: Choice of public cloud provider
Status: Accepted
Date: 2026-12-10
Participants: Daniel (business), Íñigo (operations), Marta (architecture),
Clara (security), legal counsel, finance
## Context
ADR-002 decided on a public cloud in the EU without choosing a provider.
The spending commitment from ADR-018, the sub-processor contract, and
the construction of all the cloud services depend on the choice.
## Options considered
A. Global provider with the broadest catalog: 3.75.
B. Global provider with a nearby three-zone region: 4.05.
C. European provider with a short catalog: 3.65, with a veto on services.
## Decision
We will contract provider B. We will use a single EU region, with
zones A and B. Only services with a standard equivalent will be used
(PostgreSQL, AMQP, OCI, Redis-compatible, OpenTelemetry); any other
requires an ADR. The sub-processor contract is signed. The one-year
spending commitment from ADR-018 is activated on the stable base; none
longer than one year until the core migration is decided. An exit plan
is drawn up and reviewed every year.
## Security
Data affected: all of the platform's data in the cloud (Personal).
New third party: provider B, as sub-processor.
Requires threat modeling: no; the model from ADR-011 does not change.
## Consequences
Positive: construction is unblocked; savings of €9,300 a year from the
commitment. Negative: the team must be trained on provider B.
Risks: changes in prices or terms; mitigated with standards and an
exit plan.
Cost: no change from the estimate in ADR-018.
- Governance indicators
Governance is measured too. Few indicators, and ones somebody looks at:
| Indicator | What it reveals | Target |
|---|---|---|
| Time from when an ADR is proposed until it is decided | Whether the board is a bottleneck | 10 business days or fewer |
| ADRs in force with their review up to date | Whether decisions are kept alive | 100% |
| Expired exceptions left unresolved | Whether exceptions are truly temporary | 0 |
| Entries in the "retire" ring past their date | Whether obsolescence is managed | 0 |
| Calendar reviews carried out on their date | Whether the calendar is kept | 90% or more |
| High risks with no owner or no quarterly review | Whether risk has an owner | 0 |
| Fitness functions passing | Whether the system follows the decisions | 100% on the main branch |
The first is the most important for the health of the model: if deciding takes a month, teams will stop asking.
- Rutaverde's governance model
Two bodies and nothing more
With 35 people in technology, the model must be proportionate. Two bodies:
| Technology steering committee | Architecture board | |
|---|---|---|
| Chaired by | Daniel | Marta |
| Members | Marta, Íñigo, Clara, and finance; legal when the matter calls for it | Íñigo, Clara, a lead developer from each of the three teams, and you, who keep the agenda and the minutes |
| Frequency | Quarterly, 90 minutes | Biweekly, 60 minutes; reversible matters, asynchronously within 5 business days |
| Decides | Level 3: budget, providers, high risks, irreversible decisions | Level 2: ADRs, standards, radar, low- and medium-risk exceptions |
| Receives | Cost per shipment, SLOs, high risks, program progress, governance indicators | Proposed ADRs, exceptions, results of the reviews |
Is it lightweight? The math: the board is 7 people, 26 one-hour sessions: 182 hours a year. The committee, 5 people, 4 sessions of 90 minutes: 30 hours. In total, 212 hours, out of the roughly 59,500 annual hours of 35 people: 0.36% of capacity.
The review calendar
The previous modules kept leaving periodic reviews behind, each in its own ADR. Gathered into a single calendar, with an owner:
| Review | Frequency | Owner | Origin |
|---|---|---|---|
| Cost per shipment and per-service allocation | Monthly; to the committee every quarter | Íñigo | ADR-018 |
| Alert noise: which ones fired and which ones required an action | Monthly | Íñigo | ADR-015 |
| Backup restore test | Monthly | Íñigo | ADR-019 |
| ADRs in force and exceptions | Quarterly | Marta | This lesson |
| Capacity plan | Quarterly, and 8 weeks before each peak season | Íñigo | ADR-014 |
| Access and roles | Quarterly | Clara | This lesson |
| Obsolescence inventory | Quarterly | Íñigo | ADR-015 |
| Tabletop drill | Quarterly | Íñigo | ADR-019 |
| Technology radar | Semiannual | Marta | This lesson |
| Technical recovery drill | Semiannual: February and September | Íñigo | ADR-019 |
| Threat register | Annual, and before each peak season | Clara | ADR-013 |
| Critical providers and cloud exit plan | Annual | Íñigo | ADR-021 |
| External audit of security and data protection | Annual | Clara | This lesson |
| General architecture review | Annual, in January | Marta | Developed later on |
And three one-off tasks that were pending: the threat modeling exercises required by ADR-015, ADR-016, and ADR-019 are scheduled for January, February, and March 2027, one a month, with Clara as owner.
# ADR-020: Architecture governance model
Status: Accepted
Date: 2026-12-03
Participants: Daniel (business), Marta (architecture), Íñigo (operations),
Clara (security)
## Context
Nineteen ADRs recorded and none built. Decisions have been made by
gathering whoever seemed appropriate; there is no rule about who
decides what, and no review of what has been decided.
## Options considered
A. Carry on as before.
B. Two lightweight bodies, three decision levels, and a calendar.
C. An architecture office with prior approval of every change.
## Decision
We will adopt option B. Technology steering committee, quarterly,
chaired by Daniel. Architecture board, biweekly, chaired by Marta,
with one developer per team. Three decision levels; level 3 includes
what is irreversible, what exceeds €25,000 a year, and high risks.
Semiannual technology radar. Exceptions with a maximum expiration of
12 months and one renewal. A single review calendar. Every decision
that can be verified automatically will have a fitness function.
## Consequences
Positive: every decision has an owner and a deadline; the ADRs are
reviewed.
Negative: 212 hours of meetings a year.
Risks: the board becoming a bottleneck; this is watched with the
decision-time indicator.
Cost: no infrastructure cost.Closing the legal validation
The oldest loose end remained: the retention periods, proposed in ADR-010 and marked ever since as "pending legal validation." On 15 December 2026, Clara and Marta review them with legal counsel and the data protection officer. The result:
| Data | Proposed | Result of the validation |
|---|---|---|
| Tracking data | 90 days after delivery | Validated |
| Recipient's phone and email | 90 days | Validated |
| Recipient's name and address | 12 months | Validated, because of the claims period |
| Delivery photos | 12 months | Validated; the deletion at 365 days from ADR-014 is confirmed |
| Courier location | 30 days | Validated with conditions: notice to the workforce and an impact assessment |
| Shipment events, with no direct personal data | 13 months | Validated |
| Weekly report of flagged deliveries (G-02) | Undefined | New: detail for 90 days; after that, aggregated data only |
| Logs and audit | 30 days and 12 months | Validated |
| Monthly database backups | 12 months | Modified: 6 months, with a deletion log that is reapplied after any restore |
| Billing data | Not on the list | New: 6 years, by legal obligation; they do not follow the operational periods |
Three things change from what technology had proposed, and all three show why the validation was not a formality:
- The backups. A piece of data deleted at 12 months would live on for another year in a monthly backup. Legal cuts those backups to 6 months and requires that, if a backup is restored, the deletions be reapplied before service resumes. It is a new requirement for the restore runbook.
- Billing. It has a period imposed by law, longer than any operational period. The per-module schema separation from ADR-006 makes it possible to apply it to
billingalone. - Courier location. The period was right, but two actions that are not technical were missing.
It is also confirmed that Rutaverde acts as the data processor for the recipients' data. Two pieces of contractual work follow from that, which are not architecture but which the architecture had to leave ready: a data processing addendum in the contract of the 1,200 merchants, added at each renewal, and a register of sub-processors, with a signed contract with each one.
# ADR-022: Validated retention periods and contractual framework for data processing
Status: Accepted
Date: 2026-12-17
Participants: Clara (security), Marta (architecture), Daniel (business),
legal counsel, data protection officer
## Context
ADR-010, ADR-014, ADR-015, and ADR-019 set retention periods as
proposals pending legal validation.
## Decision
The periods in the validation table are approved. Clarifies ADR-010
(billing, 6 years, and the G-02 report, 90 days, are added) and ADR-019
(monthly backups: 6 months instead of 12; deletion log reapplied after
every restore). Rutaverde is the data processor for the recipients'
data: a data processing addendum with each merchant and a contract
with each sub-processor. Courier location requires notice to the
workforce and an impact assessment before going into production.
## Consequences
Positive: NFR-09 no longer has pending periods. Negative: the restore
runbook gains a step; 1,200 contracts to update at their renewals.
Risks: regulatory changes; annual review with legal counsel.
Cost: legal counsel, charged to the program budget.Common Mistakes and Tips
- Confusing governing with controlling. Governance that requires approval for everything does not reduce risk: it moves it to the shortcuts teams invent to get around it.
- Copying a whole framework. COBIT or TOGAF implemented to the letter in a small company produce paperwork. Take the piece that solves your problem.
- A board made up only of architects. Without those who build and operate, decisions are not followed.
- Two accountable people in one RACI row. If there are two, there is none.
- Exceptions with no expiration date. They become the norm.
- A radar without the "retire" ring, or with it and without dates.
- Treating compliance as something to be sorted out at the end. The 12-month backups were already designed when legal corrected them; asking earlier would have been cheaper.
- Choosing a provider out of familiarity. The team's experience is a criterion, with its weight; it is not the criterion.
- Measuring governance by the number of meetings. It is measured by decision time and by the decisions that remain in force.
- Tip: whenever a matter is stuck, first ask who has to decide it. If nobody knows, that is the problem, not the matter itself.
Exercises
Exercise 1
For each case, state which decision level it belongs to (1, team; 2, board; 3, committee) and why:
- The monolith team wants to split the 6,000-line shipments class into five classes.
- A team proposes using a document database for the notification templates.
- Íñigo proposes signing a three-year spending commitment with provider B, with a 45% discount.
- A team wants to change the TTL of the tracking cache from 30 to 45 seconds.
- Clara proposes accepting that the old app keep running for three more months on an unpatched version of Android.
Exercise 2
Daniel thinks cost should weigh more in the choice of provider. Redo the matrix with 30% for the three-year cost and 15% for managed services, without changing the other weights or the scores. Does the winner change? What do you conclude?
Exercise 3
A team asks to deploy in the cloud a small service that generates labels in PDF format, using a serverless function exclusive to provider B. Write the exception or the decision that applies: which rule it affects, who approves it, and under what conditions.
Solutions
Solution 1
- Level 1. It is the internal design of a module: it does not change the published interface or affect other teams. It does not need an ADR.
- Level 2. It introduces a technology that is not on the radar: it affects operations, backups, and security. It requires an ADR and, if accepted, it would enter the "trial" ring.
- Level 3. It is a contractual commitment, hard to reverse, and it also contradicts ADR-021, which limits commitments to one year until the core migration is decided. The committee decides, and it would require an ADR that supersedes that part.
- Level 2, by the asynchronous route. The TTL appears in ADR-005 and affects a priority attribute, the delay with which the recipient sees the status. But it is reversible in minutes: a review of the ADR in the repository is enough, with no meeting.
- Level 3. It is the acceptance of a high risk, with personal data on the devices. Clara prepares it and Daniel signs it, as an exception with an expiration date and compensating controls.
Solution 2
| A | B | C | |
|---|---|---|---|
| Services, 15% | 0.75 | 0.60 | 0.30 |
| Cost, 30% | 0.90 | 1.20 | 1.50 |
| Portability, 15% | 0.45 | 0.60 | 0.60 |
| Connectivity, 15% | 0.45 | 0.75 | 0.60 |
| Compliance, 15% | 0.60 | 0.60 | 0.75 |
| Experience, 10% | 0.40 | 0.30 | 0.20 |
| Total | 3.55 | 4.05 | 3.95 |
B still wins, but C comes within a tenth of a point: a difference that the first module taught us not to treat as real. The conclusion is not that the decision is immature, but that the outcome depends on the veto: with these weights, what separates B from C is no longer the score but C's 2 on managed services, which forces Rutaverde to self-operate the bus and the containers. It is explained to Daniel like this: C is cheaper on the provider's bill and more expensive in operations people, a cost the matrix does not capture in the cost row.
Solution 3
It affects NFR-13 and ADR-021: "only services with a standard equivalent will be used; any other requires an ADR." It is not a temporary exception to a rule but a new decision: therefore, a level 2 ADR, which Marta approves at the board, unless the cost exceeds €25,000 a year. Minimum content:
- Context: label generation is an irregular workload, with peaks in the morning, ideal for a serverless model.
- Options: keep it in the monolith; a container on the managed service, like Tracking; an exclusive serverless function.
- Conditions if the third is accepted: the logic is isolated behind an interface of its own, so that the provider-specific code is confined to an adapter; the exit cost is documented, estimated in days of work; it enters the radar in the "trial" ring; it is reviewed after six months.
- Security: the labels contain name and address, personal data; it must comply with the guardrails and go through threat modeling.
The board's most likely answer, because of P3, would be the second option: there is already a standard way to deploy a small service, and adding a second execution model for a single case multiplies what operations has to know.
Conclusion
Governing is making sure that the right thing is done and that someone with authority has decided it; managing is doing it well. We have seen the five objectives of IT governance, four reference frameworks worth knowing as catalogs rather than recipes, and the instruments of architecture governance: a lightweight board that reviews decisions and not projects, decision rights written down in levels and in a RACI matrix with a single accountable person per row, principles, standards, and a technology radar with retirement dates, exceptions that expire, and three ways to verify compliance, of which the fitness function is the one that scales best. We have added risk, regulatory compliance, and vendor governance.
At Rutaverde, three decisions tie up as many loose ends. ADR-020 creates the technology steering committee and the architecture board, with three decision levels and a single review calendar, at a cost of 0.36% of capacity. ADR-021 chooses provider B with a weighted matrix and an exit plan. ADR-022 validates the retention periods, corrects the monthly backups, and makes clear that Rutaverde is a data processor. And two dated exceptions are on record: the unsupported Java runtime and Reports' reads of other modules' tables.
We now know who decides. What remains is the question that worries Daniel most: when all this will be up and running, and what gets delivered before the next peak season. There are nineteen design decisions to build, 22 developers who cannot stop maintaining RouteManager, and a date that does not move. In the next lesson we will turn the target architecture into a roadmap: phases, dependencies, estimates with their uncertainty, risks, and a realistic allocation of people.
Technological Architecture Course
Module 1: Fundamentals of Technological Architecture
- Introduction to Technological Architecture
- System Design Principles
- Components of a Technological Architecture
- Architecture Models
- Non-Functional Requirements and Quality Attributes
- Architecture Decisions and Trade-off Analysis
Module 2: Designing Scalable Systems
- Scalability Concepts
- Scalable Design Patterns
- Load Balancing
- Caching and In-Memory Storage
- Data Layer Scalability: Replication and Partitioning
- Asynchronous Communication: Message Queues and Events
- High Availability and Resilience
Module 3: Security in Technological Architecture
- Security Fundamentals
- Authentication and Authorization
- Data Protection
- Cloud Security
- Network Security and Zero Trust Architecture
- Threat Modeling
Module 4: Efficiency and Optimization
- Resource Optimization
- Monitoring and Maintenance
- Process Automation
- Performance Evaluation
- Technology Cost Management (FinOps)
- Business Continuity and Disaster Recovery
Module 5: Managing Technological Architecture
- IT Governance
- Technology Project Management
- Documentation and Communication
- Evaluation and Continuous Improvement
- Technical Debt and the Evolution of Legacy Systems
