Leer en español · Lire en français · Auf Deutsch lesen
Section 11.4 of 11.8 · Advanced · 28 min read
Architecture governance in agile organisations
Video lesson
5 min · narrated, with captionsListen only (audio)
Read the transcript
How does an organisation with many autonomous teams keep its architecture coherent, without making everyone wait for approval? This lesson shows how governance can work so well that teams barely notice it.
A city can't ask the mayor to approve every new kitchen. Instead, it sets a few principles, such as keeping the streets walkable. It has building codes that inspectors check automatically. And it keeps a committee for the few decisions that really need one, such as a new bridge. Residents do most things themselves, but for anything that affects the neighbours, they're expected to ask the neighbours first. Architecture governance in agile organisations works the same way.
Governance makes sure significant decisions are made well, fit the organisation's goals, and are actually followed. It uses four kinds of instrument. A principle gives durable direction and leaves room for judgement. For example, each piece of business data has exactly one owning service. A standard is a specific, mandatory choice, such as every service emitting traces and structured logs in the same way. A guardrail keeps teams within safe limits as they work, usually automatically. For example, the pipeline rejects container images from unapproved registries, with no queue at all. A gate stops work until someone approves it, such as a security sign-off before processing a new category of personal data. Prefer guardrails wherever a rule is objective, and keep gates early and few.
Here's the difference in practice. With a gate, a team designs, then waits weeks in a review board's queue. If the design is rejected, it's redesigned, and waits again. With guardrails, the team decides, and the pipeline checks the objective rules automatically, through policy as code and fitness functions. The change can reach release in minutes. Underneath, a paved road of templates and platform makes the supported way the easy way, so most teams conform without being told.
TOGAF, the Open Group's enterprise architecture framework, gives each principle four parts. First, a short, memorable name, such as the platform's principle: one owner for every fact. Then a statement: the rule in one or two unambiguous sentences. A rationale explains the business benefit, and the implications say what the principle requires in practice, including what it costs. Two tests catch weak principles. Could a sensible organisation choose the opposite? "Systems should be secure" fails, because nobody chooses insecurity. "Prefer buying to building for generic capabilities" passes. And does it settle a real decision? If nobody can name a choice it would settle, it's a slogan.
If no board decides, who does? In the advice process, described by Andrew Harmel-Law in 2021, anyone may make an architectural decision. But first, they must seek advice from everyone meaningfully affected, from people with relevant expertise, and often from an open advisory forum that meets weekly. The forum gives advice; it doesn't decide. The decision-taker must hear the advice, but need not follow it. The aim is broad input, not consensus, and accountability stays with whoever decides. The decision and the advice received are recorded together, in an Architecture Decision Record, or ADR. And shared principles and a technology radar inform every decision.
Thoughtworks has published its Technology Radar twice a year since 2010. It places technologies in rings, each with a short written reason. Many organisations build their own. Adopt means proven and recommended. Trial means worth pursuing on a project that can handle the risk. Assess means worth exploring, to understand its effect. And Hold, called Caution in the most recent editions, means proceed with care. On an internal radar, Hold gently says no new uses, without forbidding what already exists.
Here's how it fits together. The ordering team wants to replace its polling outbox relay with change data capture, using a tool called Debezium, which no team has used before. It drafts a decision record and presents it at the advisory forum. The platform, data and security teams comment, and the forum suggests considering the cloud provider's managed option. The team accepts most of the advice, but rejects the managed option because of its portability principle, and records why. It adds guardrails: a fitness function keeping event delay under two seconds at the ninety ninth percentile, and an alert on replication slot lag. Debezium enters the radar in Trial, limited to ordering, and polling relays move to Hold. After a quarter, the radar group reviews the experience. If it's positive, Debezium moves to Adopt. Nothing waited in a queue: the decision took about a week.
The full section has three worked principles, policy as code, and a guide to who decides what. Next, in Section eleven point five, we look at Team Topologies. See you there.
What you need to know
- Architecture governance makes sure significant decisions are made well, consistently with the organisation's goals, and actually followed; its purposes include alignment, risk and compliance, limiting unnecessary diversity, protecting shared qualities and spreading learning.
- Principles give durable direction, standards make specific choices mandatory, guardrails keep work within limits automatically, and gates stop work for approval; prefer guardrails where rules are objective and keep gates early and few.
- TOGAF-style principles have a name, statement, rationale and implications; a good principle could reasonably be chosen the other way and settles real decisions.
- In the advice process (Andrew Harmel-Law, 2021) anyone may make an architectural decision after seeking advice from those affected and from experts, recorded in an ADR; an advisory forum gives visibility but does not decide.
- A technology radar places technologies in rings such as Adopt, Trial, Assess and Hold with written reasons; an internal radar records the organisation's own experience and steers new choices.
- Policy as code (for example Open Policy Agent with Rego) and fitness functions automate compliance and produce audit evidence as a by-product.
What architecture governance is for
Architecture governance is the set of practices by which an organisation makes sure its significant technical decisions are made well, are consistent with its goals and are actually followed. It answers four questions: who may make which decisions, how they should make them, what direction they should take, and how anyone knows whether the result conforms.
The purposes are practical. Governance aligns technology with strategy, so that fifty teams do not choose fifty ways to store customer data. It manages risk and compliance: data protection, security, accessibility and sector regulation all need evidence that rules are followed. It limits unnecessary diversity, because every additional database, language or messaging product needs skills, patching and on-call support. It protects qualities that no single team owns, such as end-to-end latency, security and cost. And it spreads learning, so that a lesson paid for by one team is not paid for again by the next.
Agile organisations feel a tension here. The Agile Manifesto's principle that the best architectures emerge from self-organising teams (Section 1.8) pulls towards autonomy; scale, regulation and shared infrastructure pull towards alignment. Henrik Kniberg's descriptions of Spotify's engineering culture popularised the phrase aligned autonomy for the goal: teams free to decide how, within a shared understanding of what and why. Governance is the machinery that makes that possible. Done badly, it becomes the slow approval process of Section 11.2; done well, teams barely notice it, because the right thing is also the easy thing.
Principles, standards, guardrails and gates
Governance uses four kinds of instrument, which differ in how much they constrain and when they act. Principles express durable direction and leave room for judgement. Standards are specific, mandatory choices (all services expose OpenTelemetry traces; all public APIs are described in OpenAPI). Guardrails keep teams within safe limits while they work, usually automatically and continuously. Gates stop work until someone approves it.
Instruments of governance
| Instrument | Example | Strength | Risk |
|---|---|---|---|
| Principle | Each piece of business data has exactly one owning service | Guides many decisions, including unforeseen ones | Too vague to act on, or ignored in practice |
| Standard | All services emit OpenTelemetry traces and structured JSON logs | Consistency, shared tooling, easy onboarding | Becomes outdated; blocks better options; exceptions pile up |
| Guardrail | The pipeline rejects container images from unapproved registries | Continuous, fast, objective, no queue | Only works for rules a machine can check; can be bypassed if nobody owns it |
| Gate | Security sign-off before processing a new category of personal data | Accountable human judgement for high-stakes, irreversible decisions | Delay, late feedback, avoidance and rubber-stamping |
Gates versus guardrails
The modern consensus, though not a universal one, is to prefer guardrails over gates wherever a rule can be stated objectively, to keep gates for the few decisions where accountable human judgement is genuinely required, and to hold those gates early and time-boxed. A paved road (Netflix's term; Spotify calls it a golden path) complements both: when the supported way of building a service already includes approved images, logging, security scanning and deployment, most teams conform without being told, and governance effort can concentrate on deliberate departures. Section 10.7 covers the platforms that provide such roads.
Writing architecture principles
TOGAF, the Open Group's enterprise architecture framework (the TOGAF Standard, 10th Edition, 2022), gives a widely used template for principles with four parts. The name is short and memorable. The statement says the rule in one or two unambiguous sentences. The rationale explains the business benefit, in terms that a non-technical sponsor could accept. The implications say what the principle requires in practice: what must be done, what it costs and what it rules out. TOGAF also lists criteria for a good set of principles: understandable, robust (precise enough to decide difficult cases), complete, consistent and stable.
Two tests catch most weak principles. First, could a sensible organisation choose the opposite? "Systems should be secure" fails; nobody would choose insecurity. "Prefer buying to building for generic capabilities" passes, because some organisations rightly prefer to build. Second, does the principle change a real decision? If no one can name a choice it would settle, it is a slogan. Andrew Harmel-Law asks for a set that is neither too small to cover the key needs nor too large for teams to remember, sourced from the teams themselves and tied to business strategy, rather than general coding maxims or practices. Fewer, sharper principles are remembered and used; long lists are not.
Worked example
Worked example: three principles for the food-delivery platform
Written by the architects with the team leads, discussed at the advisory forum and published alongside the radar. Each follows the TOGAF structure.
| P1 name | One owner for every fact |
|---|---|
| Statement | Each kind of business data (orders, menus, courier positions, payments) has exactly one owning service, which alone writes it; others use its API or its events. |
| Rationale | Shared writable data couples teams' releases and makes errors untraceable (Section 7.1). Clear ownership lets teams change their schemas and deploy independently, which is how the business ships weekly. |
| Implications | No service reads or writes another's tables. Reporting uses published events or a warehouse. New data needs a named owner before it is stored. A fitness function checks database credentials per service. |
| P2 name | Asynchronous between domains |
| Statement | Domains integrate through published events by default; synchronous calls across domains are used only where the user is waiting for the answer. |
| Rationale | Synchronous chains multiply unavailability and add latency (Section 6.1); the Friday peak and partner outages are the business's biggest operational risks. |
| Implications | Teams design for eventual consistency and idempotent consumers. Each synchronous cross-domain call has a timeout, a fallback and a latency budget. More operational investment in the broker and tracing. |
| P3 name | Buy generic, build core, stay portable |
| Statement | Generic capabilities (identity, payments, email, monitoring) are bought or used as managed services; differentiating capabilities (dispatch optimisation, restaurant tools) are built. Business logic stays behind ports, not inside a provider's proprietary services. |
| Rationale | Engineering time is the scarcest resource and should go where the business competes (core subdomains, Section 5.7), while avoiding lock-in that would weaken negotiating power (Section 10.8). |
| Implications | Build-versus-buy is an explicit question in every relevant ADR. Managed services are accessed through adapters. Some managed features with deep lock-in are declined even when convenient. |
Each principle settles real, recurring choices, and a sensible organisation could choose otherwise.
Implications include costs, not only benefits.
P1 and P2 are partly enforceable as guardrails; P3 needs human judgement, so it is applied through the advice process.
Decentralised decision-making: the advice process
If decisions are no longer funnelled through a board, who makes them? Andrew Harmel-Law's article Scaling the Practice of Architecture, Conversationally (martinfowler.com, December 2021) proposed an answer borrowed from self-managing organisations: the advice process. Its single rule is that anyone may make an architectural decision, provided that before deciding they seek advice from everyone who will be meaningfully affected and from people with relevant expertise. The decision-taker must hear and record the advice but need not follow it; the aim is broad input, not consensus. Accountability stays with the person or team who decides, which is what makes the rule work: people who know they own the consequences seek advice seriously.
Harmel-Law describes four supporting elements. Decision records (ADRs, Section 4.5) are the thinking and recording tool, and include the advice received, from whom and when. An architecture advisory forum, typically weekly for about an hour and open to anyone, gives visibility to new spikes, proposed decisions and revisited ones; crucially, it offers advice but does not decide. Team-sourced architectural principles give shared direction. And an internal technology radar shows the organisation's current technology landscape and stance.
The advice process
The advice process has failure modes worth knowing. Decision-takers may consult only the people likely to agree; a published list of who must be consulted for which kinds of decision (security for anything touching personal data, the platform team for new infrastructure) helps. Advice may be sought too late, after the code is written; making the proposed ADR the start of the work, not the end, helps. And some people find it uncomfortable at first that the forum does not decide. In regulated environments the process can coexist with a small number of formal gates, applied only where the law or the organisation's risk appetite demands them.
Technology radars
Thoughtworks has published its Technology Radar twice a year since 2010. Each edition places a hundred or so blips (techniques, tools, platforms, and languages and frameworks: the four quadrants) in rings that express a recommendation. Adopt means proven and recommended; Trial means worth pursuing on a project that can handle the risk; Assess means worth exploring to understand its effect; and the outermost ring, called Hold for most of the radar's history and Caution in its most recent editions, means proceed with care. Each blip has a short written rationale, which is the most valuable part.
Many organisations build their own radar, for themselves rather than the industry. Thoughtworks provides an open-source Build Your Own Radar tool that renders a radar from a spreadsheet or CSV file with the columns name, ring, quadrant, isNew and description. The value lies less in the picture than in the process: teams nominate blips, a small group with representatives from many teams discusses them, rings are assigned with a written reason, and the radar is refreshed every quarter or half-year. A Hold ring is a gentle but effective governance tool: it says "no new uses" without forbidding what already exists. A radar differs from an approved-technology list in being explicitly provisional and reasoned, and in recording what the organisation has learned, including its mistakes.
Worked example
Worked example: a radar entry and the decision record behind it
The ordering team wants to replace its polling outbox relay (Section 6.7) with change data capture using Debezium, which reads the database's write-ahead log and publishes changes to Kafka. No team has used Debezium before, so the decision affects the platform team, which runs Kafka Connect, and the data team, which owns database operations.
| 1. Draft | The team writes ADR-0031 with status Proposed and presents it at the weekly advisory forum |
|---|---|
| 2. Seek advice | Platform, data and security teams comment on the pull request; the forum suggests considering the cloud provider's managed CDC |
| 3. Decide | The ordering team accepts most advice, rejects the managed option because of principle P3 (portability), and records why |
| 4. Guard | A fitness function on event delay (p99 under 2 s) and an alert on replication slot lag are added |
| 5. Radar | Debezium enters the radar in Trial, limited to ordering; polling relays move to Hold |
| 6. Review | After a quarter the radar group reviews the experience; if positive, Debezium moves to Adopt and the ADR's review note is closed |
The radar entry is the short public summary; the ADR holds the reasoning and the advice. Each points to the other.
Trial is limited in scope, which keeps the decision reversible while the organisation learns.
Nothing waited in a queue: the decision took about a week, most of it spent collecting genuinely useful advice.
name,ring,quadrant,isNew,description
Debezium for outbox relay,Trial,Tools,TRUE,"Change data capture from the order database's write-ahead log to Kafka, replacing polling relays. Trial in ordering only; see ADR-0031. Owner: ordering team. Review: Q3."
Polling outbox relay,Hold,Techniques,FALSE,"Adds load and latency at peak; no new uses. Existing relays move when Debezium leaves Trial."# ADR-0031: Use Debezium change data capture for the ordering outbox relay
Status: Accepted (2026-05-14) Decision-taker: Priya N., ordering team
Context: The polling relay queries the outbox table every 500 ms. At 100 orders/s
it adds measurable database load and up to 1 s of event delay to dispatch.
Options: (1) tune polling; (2) Debezium CDC on the write-ahead log; (3) managed CDC
from the cloud provider.
Decision: Option 2, for the ordering service only, as a Trial on the radar.
Advice received:
- Platform team (2026-05-06): supports; will run Kafka Connect, needs runbook.
- Data team (2026-05-07): concern about replication slot growth if Connect stops;
asks for an alert on slot lag. Accepted.
- Security (2026-05-08): CDC user must have replication rights only. Accepted.
- Advisory forum (2026-05-09): suggested option 3; rejected for portability (P3).
Consequences: lower load and delay; a new component to operate; slot-lag alert
and a fitness function on event delay (p99 under 2 s) added.
Review: after one quarter, or before any second service adopts it.The role of enterprise architecture today
Enterprise architecture (Section 1.2) has had an uneasy reputation in agile organisations: central teams producing frameworks, standards and approval processes that delivery teams experienced as obstacles. The role has been changing. In organisations where it works well, enterprise architects curate the principles and the radar rather than dictating them, maintain the map of business capabilities and systems that no single team can see, make or facilitate the genuinely organisation-wide one-way-door decisions (identity, core data, cloud strategy, major vendors), run the advisory forum, and shape the platform and paved road with platform teams.
Gregor Hohpe's image of the architect who rides the elevator between the boardroom and the engine room (Section 11.7) describes the skill this needs: translating strategy into technical direction and technical constraints into business language. Practitioners still disagree about how much central authority is healthy. Some argue that a strong central function is essential in regulated, merger-heavy or highly integrated enterprises; others argue that most of its value can be delivered through platforms, principles and advice. The answer depends on the organisation's size, regulation and how much of its systems landscape is genuinely shared.
Compliance through automation
Whatever the organisational model, the cheapest compliance is automated. Fitness functions (Section 11.3) check architectural characteristics. Policy as code does the same for organisational rules: the rules are written in a machine-readable language, kept in version control, reviewed and tested like code, and evaluated automatically against infrastructure definitions, deployment manifests or API requests. Open Policy Agent, a graduated Cloud Native Computing Foundation project, is a widely used general-purpose engine with its own policy language, Rego; Conftest applies Rego policies to configuration files in a pipeline, and admission controllers such as OPA Gatekeeper or Kyverno enforce policies inside Kubernetes clusters.
Automated compliance has a further benefit that regulated organisations value highly: evidence. A pipeline log showing that every release passed the same checks is far stronger evidence for an auditor than a signed form, and it is produced at no extra cost.
package main
import rego.v1
# Guardrail: images must come from the organisation's scanned registry
deny contains msg if {
input.kind == "Deployment"
some c in input.spec.template.spec.containers
not startswith(c.image, "registry.fooddelivery.example/")
msg := sprintf("%s: image %s is not from the approved registry", [input.metadata.name, c.image])
}
# Guardrail: every container declares a memory limit
deny contains msg if {
input.kind == "Deployment"
some c in input.spec.template.spec.containers
not c.resources.limits.memory
msg := sprintf("%s: container %s has no memory limit", [input.metadata.name, c.name])
}Balancing autonomy and alignment
The practical question is which decisions are governed how. A useful rule follows from Section 1.6: the more reversible and local a decision, the closer to the team it should be made; the more irreversible and widely felt, the more advice and, occasionally, approval it needs. The table sets out a typical allocation; each organisation tunes its own.
Who decides what
| Kind of decision | Who decides | Mechanism | Example |
|---|---|---|---|
| Local and reversible | The team | Team judgement; ADR if significant | A library inside one service; internal module structure |
| Affects other teams, reversible at moderate cost | The team, after advice | Advice process, advisory forum, radar | Adopting Debezium; a new event published to others |
| Organisation-wide or hard to reverse | Named senior decision-taker after wide advice | Advice process with enterprise architects; principle or radar change | Choice of identity provider; primary cloud provider |
| Objective, checkable rules | Nobody case by case | Guardrails: policy as code and fitness functions | Approved image registries; no public storage buckets |
| Regulated or high-stakes | Accountable approver | Early, time-boxed gate with evidence | Processing health data; safety-related functions |
Governance should itself be measured. Useful signals are how long significant decisions take from proposal to acceptance, how many exceptions to standards are requested and granted, what share of services are on the paved road, how many Hold technologies are still spreading, and whether incidents trace back to decisions that skipped advice. If decisions are slow, governance is too heavy; if incidents keep tracing back to unconsulted decisions, it is too light.
Decision guide
Decision guide: gate, guardrail or advice?
Use this when deciding how a particular rule or kind of decision should be governed.
- Can the rule be stated objectively and checked by a machine?YesMake it a guardrail: policy as code or a fitness function in the pipeline, with an owner and an exception route.NoContinue.
- Is the decision local to one team and cheap to reverse?YesLet the team decide; record an ADR if it is significant.NoContinue.
- Does law, regulation or the organisation's risk appetite require an accountable sign-off?YesUse a gate, but hold it early, time-box it and make the evidence it needs explicit.NoContinue.
- Is it a one-way door affecting many teams?YesUse the advice process with wide consultation, including enterprise architects, and a named senior decision-taker.NoUse the advice process: consult those affected and the experts, then decide and record.
Check your understanding
What is the difference between a guardrail and a gate?
A guardrail keeps work within limits continuously, usually through automated checks, without stopping it; a gate stops work until someone approves it.
What are the four parts of a TOGAF-style architecture principle?
Name, statement, rationale and implications.
In the advice process, who makes the decision and must they follow the advice?
The person or team taking the decision, who must seek and record advice from those affected and from experts but need not follow it.
What does placing a technology in a radar's Hold ring usually mean for existing uses?
It means no new uses should start; existing uses are not forbidden, though they may be migrated over time.
Sources and further reading
Have a question about this section? ArchitectBot, the course’s AI study assistant, answers from the course first.
Ask: “We have twelve product teams and one architecture board that everyone complains about. How would we introduce the advice process and a technology radar without losing control of security and data decisions?”