← All posts

The Missing Layer in Modern Software Architecture

Microservices gave us distribution. They didn't give us a way to change what the business decides — or a way to keep going when the business doesn't know what's next.

Modern software architectures are very good at distributing computation.

Microservices, event-driven systems, cloud infrastructure, containers, orchestration platforms — we can scale horizontally, communicate asynchronously, and let teams evolve independently. That problem is largely solved.

Which leaves a plainer question that I don't think we answer well today: when the business changes its mind, can the software adapt without turning every change into a major engineering project?

The reason it's hard is that our architectures are still designed around what we already know about the business. Businesses don't stay inside the boundaries we anticipated.

When business complexity becomes software complexity

Take a commercial event like Black Friday. A business introduces new promotional policies: combinations of discounts, customer-specific conditions, payment incentives, inventory restrictions, exceptions. Read as a requirements document, those are business changes.

Read as a change to a distributed system, they're architecture changes.

The promotion service needs an update. The basket service has to understand new discount combinations. The order service needs to accommodate different pricing outcomes. The financial layer has to recognize new adjustments, and invoice and payment still have to stay consistent. One requirement, and it reaches across several independently developed services.

The organization responds the way you'd expect: accelerated development, more conditions, emergency releases, and coordination between teams that gets harder with every additional party.

It's worth being precise about the blame here, because "microservices were a mistake" is the lazy read and it isn't what's happening. We decomposed the software. What we didn't decompose is the complexity of the business — the policies, and the responsibility for executing them, got spread across services with no sufficiently coherent abstraction or orchestration model behind them.

Three capabilities follow from that, and they're the three this piece works through:

  • Business-level abstraction. Capabilities that stay independent of the implementation details of individual services, so changing a campaign, a contract, or a financial policy doesn't mean modifying every underlying system.
  • A dynamic execution layer. A layer that can define, orchestrate, direct, and control business processes dynamically — coordinating the services you already have, introducing different execution paths, and applying policies and decisions without constantly changing the applications underneath.
  • Integrate, don't replace. Existing ERPs, CRMs, financial systems, and services keep their authority and participate in dynamically orchestrated processes, rather than being retired to make the organization more adaptable.

The missing hierarchy of abstractions

A system needs more than independent services. It needs layers that correspond to business capabilities which actually stay stable.

A financial domain makes this concrete. A purchase basket, an invoice, a contract, a subscription, a promotional campaign — five different business concepts, and all of them may need to touch a common financial capability. If each service implements its own financial calculations and transaction mechanics, you end up with five implementations of one idea and no cheap way to change any of them.

So establish a financial abstraction instead: a definition of how financial operations are represented, validated, authorized, and executed. Business services talk to that stable financial contract, while wallets, payment providers, ledgers, and accounting systems sit behind the boundary.

A promotional campaign then doesn't need to know how a wallet works. It needs to express a valid financial adjustment through a contract that already exists.

That's the distinction worth keeping. Abstraction isn't hiding implementation details; it's establishing a stable boundary around a capability that different business processes can reuse.

Domain-Driven Design, bounded contexts, hexagonal architecture, contract-driven development — all of this has been said well already, and most of it is right. What it leaves open is the harder question: even with well-designed abstractions, how does a system respond when the business introduces a scenario nobody anticipated?

The unknown is not an exception

Most application architectures are built around predefined workflows. A developer identifies the expected conditions, implements the possible transitions, defines what happens when each condition holds. This works right up to the point where the system meets a situation outside its original assumptions.

Here's a concrete version. A purchasing process has to decide whether a transaction is financially and commercially valid. It can read the customer's profile, purchase history, contract, invoice, and financial account — and the information it has isn't sufficient to make a reliable decision.

What should happen? A conventional implementation rejects the transaction, returns an error, or adds another predefined branch.

But perhaps the missing information exists in another system. Perhaps it's contained in an unstructured document. Perhaps the business needs an additional validation step, an external investigation, or a human authorization.

The important part is that we cannot know every possible information requirement when we design the original process. A system needs the ability to recognize that its current context is insufficient, and to extend the process dynamically in order to obtain what is missing. It may retrieve additional information, invoke an external capability, evaluate evidence, ask for human intervention, or use AI to interpret something that deterministic rules alone can't handle.

That's a different way of thinking about application architecture. Instead of treating every unknown scenario as a future software modification, you introduce an execution model that accommodates new requirements through composition, policies, integrations, and controlled decision-making. The system doesn't invent the missing information. It knows how to seek it, evaluate it, and decide whether it has enough evidence to continue.

Handling what was not anticipated should be an architectural capability rather than a collection of emergency implementations.

From service-oriented architecture to context-driven execution

Traditional procedural systems execute instructions. Service-oriented systems distribute capabilities across services and coordinate them through APIs, messages, and events. Both assume the shape of the work is already known.

Increasingly complex business processes need something more: a persistent execution environment that understands the evolving state of a process, its available information, its policies, and the operations it is allowed to perform. Call it a context-driven execution model:

  • Context — the evolving state and available knowledge of a process.
  • Workflows — how that context can evolve.
  • Policies — the conditions under which decisions and transitions are permitted.
  • Integrations — access to existing systems and external capabilities.
  • AI — interpretation and judgment where deterministic logic is insufficient.
  • Human intervention — authority where automated execution must stop and wait.
  • Runtime — preserves execution state, handles failures, resumes processes when their dependencies become available.

The difference shows up in practice. The system stops being a sequence of predefined service calls and starts coordinating the evolution of a business process through an execution model you can actually inspect.

It's worth naming the layer, because the term comes from networking and it's the right borrow. A network's control plane doesn't forward your packets; it decides which routes exist, applies policy, and changes them while traffic keeps flowing. This layer does the same for business processes: a control plane for business process execution. It coordinates existing services, introduces different execution paths, applies policies and decisions, and evolves a process without constantly changing the underlying applications. The services keep handling the work. The layer decides what work happens, in what order, under which rules, and what evidence is sufficient to proceed.

Why this layer must integrate rather than replace

No organization rewrites its estate every time a new business capability becomes necessary. Databases, ERPs, financial systems, CRM platforms, legacy applications, internal services — years of operational knowledge and real business authority live in there, and much of it works.

A new architectural layer should not ask them to abandon that. It should connect to existing systems through explicit integration boundaries and make their capabilities available within a unified execution model.

A single process might:

  1. Retrieve customer information from an existing CRM.
  2. Read contractual conditions from a document management system.
  3. Obtain financial information from an accounting service.
  4. Evaluate a business policy.
  5. Ask an AI model to interpret an unstructured document.
  6. Request human approval if the decision exceeds its permitted authority.
  7. Submit the validated result to the existing ERP.

None of those systems becomes part of a newly invented monolithic application. They keep performing their responsibilities. The dynamic layer coordinates them.

That separation is what lets an organization introduce new business behavior without continuously rewriting the applications that already support its operations.

The idea behind Inflowenger

The architectural motivation behind Inflowenger comes from exactly this problem. We needed an execution layer capable of managing processes whose requirements, information, and interactions cannot always be completely defined in advance.

Inflowenger treats context as the primary unit of execution. Requests, events, documents, and business objects enter the runtime as contexts, and these contexts evolve through workflow graphs containing transformations, integrations, policies, decisions, and other executable capabilities. The runtime provides the execution foundation: durable processes, loops, waits, subprocesses, recovery, and integration mechanisms.

The part we were deliberate about is that a new business capability doesn't mean another specialized feature in the runtime. The architecture relies on a small set of composable execution primitives, and new capabilities arrive through the workflow model and its extension mechanisms. That's what keeps the runtime independent of the particular business domain being implemented — the same foundation can carry financial processes, enterprise integrations, security governance, data governance, AI-native applications, and other operational systems.

FloMorphic: making dynamic processes explicit and governable

FloMorphic is that control plane made concrete. It provides a way to define, orchestrate, direct, and control processes through explicit contracts, states, transitions, policies, and approval points — with Inflowenger underneath as the foundation for context-driven execution.

Its purpose is narrower than delegating the application to an AI agent: the business process defines the boundaries within which AI can contribute judgment. A model may interpret a document, investigate a situation, or choose among available actions, but the permitted routes, available tools, context boundaries, and subsequent transitions are defined by the process.

That matters most when a process encounters insufficient information. It can route execution toward additional retrieval, external integrations, AI-assisted investigation, validation, or human intervention, and once the required information becomes available, execution resumes within the same process. The graph remains the authority over what can happen next.

Dynamic behavior, in this architecture, doesn't mean uncontrolled behavior. It means execution can evolve while the contracts and boundaries stay explicit.

A different way to think about software evolution

The consequence that matters most for how teams work is this one. In traditional application development, a new business requirement frequently becomes a new software implementation — another condition, another endpoint, another service modification, and probably another deployment.

In a context-driven architecture, some of those changes become modifications to the process itself. A new policy can be introduced. A new integration can be installed. A new decision capability can be composed. A different route can be defined, and the underlying runtime doesn't need to change.

This doesn't eliminate the need for software development, testing, security reviews, or infrastructure changes. Some changes will always require code and a deployment. What it changes is the relationship between business evolution and software evolution.

The objective is to make changing business behavior less expensive than rebuilding the software that executes it.

Beyond microservices: an architecture for uncertainty

Microservices solved important problems around decomposition, independent deployment, and distributed ownership. Decomposition alone doesn't provide adaptability, though. A system can consist of hundreds of perfectly isolated services and still be extremely difficult to evolve when business requirements change.

What's needed is an additional architectural dimension: a dynamic execution layer that connects business intent, available capabilities, evolving context, and actual execution. That's the direction behind Inflowenger and FloMorphic — not another collection of services, not another automation tool, not another AI agent framework, but a foundation in which business processes can evolve, information can be acquired when it's needed, existing systems can participate without being replaced, and intelligent capabilities can operate within explicit boundaries.

We've spent a decade making software more scalable, and it worked. The open question is whether it's time to make it more adaptable — whether a business change should modify the process rather than trigger another round of architectural surgery.

The scenarios we wrote six months ago are a guess about the business. An architecture that treats them as a contract will be wrong, and it will be wrong expensively: a six-month project every time the business changes its mind.


Inflowenger is a context runtime for building dynamic, context-driven systems. FloMorphic is its contract-driven harness for designing and executing governed, AI-native processes.

Explore: Inflowenger · FloMorphic · Architecture

Related: Context-Oriented Software Development · Pausing Is Easy, Resuming Is the Hard Part · Flow Engineering Is an Architecture