Memory-Resident Execution: Persistent Semantic Objects Without Orchestration

by Nick Clark | Published January 19, 2026 | PDF

Conventional execution models treat computation as ephemeral: a process is scheduled, a function is invoked, a workflow step fires, and the runtime — operating system, container scheduler, workflow engine, durable-task service — is left to remember what was happening on behalf of the computation. When something fails, migrates, pauses, or crosses a trust boundary, that external memory has to be reconstructed, replayed, or written off. Memory-resident execution inverts this assumption. The unit of computation is a persistent semantic object that carries its own intent, schema, policy references, lineage, and working state, and that object is admitted to execution by whatever node it encounters rather than dispatched to a node by a central planner. State travels with the object; orchestration becomes unnecessary as a structural component; servers, schedulers, and durable session controllers become optional implementation choices rather than load-bearing parts of the architecture. The result is an execution substrate in which long-horizon, policy-bound, multi-environment computation can persist, distribute, and converge without an authority that knows about all of it at once.


1. Problem and architectural premise

Distributed computation today is held together by orchestration. A scheduler decides where tasks run; a workflow engine decides which step is next; a session controller remembers what a user or agent has been doing; a durable-task service remembers half-completed transactions on behalf of code that has long since exited. Each layer addresses a real problem — failure, scale, recovery, coordination — but each does so by treating the computation itself as stateless and locating the memory of execution somewhere the computation cannot see.

This produces a recurring architectural tax. Long-running tasks become brittle dependencies on uninterrupted control planes. Multi-environment workflows require either a global planner (which centralizes trust) or fragile point-to-point coordination (which centralizes blame). Recovery after partial failure depends on replay, which depends on logs, which depend on the very services that just failed. Trust-divergent execution — where two nodes disagree about what should happen, or are not permitted to share state — is structurally awkward, because the orchestration layer assumes shared memory of the plan.

Beneath these symptoms is a single architectural premise that has gone largely unexamined: execution state does not belong to the computation. It belongs to the runtime around the computation. Memory-resident execution rejects this premise. It locates intent, context, schema, policy, and outcome inside the object that is the computation, and treats the external runtime as an environment that admits or refuses the object's next step rather than as a system that owns the object's continuity.

The premise has practical consequences. If state lives in the object, no provisioning is required to keep it alive between steps; no patching of long-lived servers is required to preserve it; no migration protocol is required to move it from one environment to another; and no centralized scheduler is required to know where it currently is. The substrate instead provides admissibility, schema enforcement, and lineage recording. Continuity is no longer a service. It is a property of the object.

2. The core primitive: the persistent semantic object

The primitive of the architecture is the persistent semantic object: a typed, schema-bound, policy-carrying, lineage-bearing entity that is the unit of both representation and execution. A semantic object holds, at minimum, a stable identity, a declared schema, an intent specification, a memory of prior execution events, a policy reference set, and a current working state. The object is content-addressed at the schema and identity level, so that any node that encounters it can verify that the object it is about to execute is in fact the object it expects.

Execution is defined as schema-bound mutation of the object's state. A node that holds the object evaluates whether the object's intent is currently executable in this environment, under this policy, against this state, with this lineage. If the evaluation admits execution, the node performs a mutation that conforms to the schema, appends a lineage entry recording what was done and under what authority, and either retains the object or forwards it. If the evaluation refuses, the object remains valid; refusal is a recorded event, not an error condition that erases progress.

Two properties distinguish this primitive from prior object-oriented or actor-style execution. First, the object's policy travels with it: an object cannot be coerced into execution outside the bands declared in its policy reference, even by a node that would otherwise be permitted to mutate similar objects. Second, the object's lineage is part of its admissibility surface: a node may refuse execution because of where the object has been or what has already been done to it, not only because of what it currently is.

Because the object carries its own schema, working state, intent, and policy, the substrate beneath it does not have to be specialized. A node may be a process, a container, a function runtime, an edge device, a browser tab, or a peer in a mesh. The substrate's only obligation is to evaluate the object honestly against its declared schema and policy and to record what it did. This is why memory-resident execution is described as no-server-required: any environment that can evaluate and mutate is sufficient; a server is one such environment, not a structural requirement.

3. Schema-bound state mutation and object-resident policy

Mutation in this model is not free. Every change to the object's working state is gated by two artifacts the object itself carries: its schema and its policy reference. The schema specifies the typed shape of admissible state and the typed signatures of admissible transitions; the policy reference specifies which transitions are permitted under which conditions, by which authorities, with which credentials, and with which side effects. A mutation that does not type-check against the schema is rejected before it is applied. A mutation that type-checks but is not authorized by the policy is recorded as a refusal and likewise not applied.

The schema is intentionally narrow. It is not a general-purpose programming language; it is a declared transition surface for the object's intent. This narrowness is what makes execution portable: any node can correctly evaluate the schema without negotiating runtime semantics with any other node. It is also what makes execution governable: the surface of possible state changes is small enough to reason about, and the bindings between schema entries and policy clauses are explicit.

Object-resident policy is the corresponding principle on the authorization side. Rather than asking an external policy decision point at each step, the object carries the policy references it was admitted under, plus the credentials and attestations that justify those references. A node evaluating the object can verify the chain locally; it does not need to be online with a central authority to make a correct admit/refuse decision. This is what allows execution to proceed across trust-divergent and intermittently connected environments without forcing a global control plane.

Schema-bound mutation and object-resident policy compose into a simple invariant: every transition the object undergoes is typed, authorized, and recorded by the object itself. The lineage entry produced by each transition contains the schema version applied, the policy reference satisfied, the credential presented, the prior state hash, and the new state hash. Replay, audit, and divergence detection are all consequences of this invariant rather than additional services that must be deployed alongside the runtime.

4. No-server-required execution and stateful object lineage

Because state lives in the object, the node that executes the next step does not need to be the node that executed the previous one. The object can be parked in any storage that preserves its bytes, retrieved by any node authorized to evaluate it, and resumed without re-instantiation. There is no session to recover, no virtual machine image to keep warm, no actor mailbox to migrate. The lineage entries inside the object are the recovery record; the schema and policy inside the object are the resumption contract.

Stateful object lineage is the structural log that makes this safe. Each lineage entry is cryptographically chained to the prior entry's state hash, so that any divergence — two nodes attempting to mutate the same object from the same prior state, or a node attempting to forge a prior state — is detectable on subsequent evaluation. Forks are first-class: when two nodes legitimately produce different next states under different local policies, the object can carry both branches, with the branch point recorded; later evaluation can converge, prune, or maintain the divergence as policy permits.

Dormancy is also first-class. When the object's current intent is not executable in the current environment — preconditions unmet, latency too high, authority unavailable, confidence too low — the node records a deferral lineage entry and returns the object to the substrate unchanged. The object is not failed; it is dormant. Re-entry occurs whenever a node next picks the object up and finds the deferral conditions resolved. From the object's point of view, time between deferral and re-entry is simply absent from its execution history but present in its lineage.

The combination — schema-bound mutation, policy-bound authorization, lineage-recorded transitions, dormancy as a recorded state — is what allows long-horizon workflows to survive disconnection, partial failure, environment migration, and trust boundary changes without an orchestrator or a durable-task service holding the workflow's hand.

5. Latency, refusal, and failure as semantic input

Conventional runtimes treat latency, congestion, and failure as operational signals to be absorbed: retry, failover, time out, escalate. Memory-resident execution treats them as semantic input to the object. A node that cannot complete a transition records why — the preconditions that were unmet, the latency observed, the authority that refused, the uncertainty that exceeded threshold — as a structured deferral or refusal entry in the object's lineage. The next node to evaluate the object reads those entries and uses them to refine intent, narrow scope, change route, or remain dormant longer.

This converts what is normally noise into recorded evidence. An object whose lineage shows three deferrals due to insufficient credential at one class of nodes and a successful transition at another class has, in effect, learned its admissibility surface; future nodes can route accordingly without a central registry advising them. An object whose lineage shows repeated high-latency refusals at a particular endpoint can attenuate its intent toward an alternative without an external circuit breaker doing it on the object's behalf.

Critically, this distinguishes impossibility from deferral and uncertainty from denial. A retried operation in a conventional system collapses these distinctions; a lineage-recorded refusal preserves them. The object carries a faithful account of why progress did or did not occur, and that account is available to every subsequent evaluator without consulting an external log.

6. Operating parameters and engineering envelope

The architecture is parameterized along several practical axes. Object size is dominated by schema, lineage, and working state; typical objects in disclosed embodiments range from kilobytes (simple intents with short lineage) to low megabytes (long-horizon objects with rich working memory and dozens to hundreds of lineage entries). Lineage growth is bounded either by checkpoint compaction — folding earlier entries into a signed digest while preserving the chain hash — or by policy-declared retention, with typical compaction intervals every 50–500 entries depending on audit requirements.

Evaluation latency at a node is dominated by schema validation, policy chain verification, and lineage hash check. In characteristic deployments these complete on the order of single- to low-double-digit milliseconds for objects in the kilobyte range, and tens to low hundreds of milliseconds for megabyte-scale objects with deep lineage; verification cost is sub-linear in lineage length when compaction is in use. Storage between executions is any content-addressed store with integrity guarantees; there is no requirement for a specific database, queue, or workflow service.

Throughput scales horizontally because nodes do not coordinate to execute objects. Two nodes evaluating two different objects do not contend; two nodes evaluating the same object either agree on the same next state (equivalent transitions, no fork) or produce a lineage- recorded fork that policy resolves later. Concurrency is therefore a property of the object population, not of a central scheduler. Observability is obtained by streaming lineage entries to an audit sink; no separate tracing infrastructure is required to reconstruct what an object did, because the object already records it.

7. Alternative embodiments

The architecture admits several embodiments. In an in-process embodiment, persistent semantic objects live within a single application's address space and are evaluated by local handlers; the substrate is the application itself, and the value is structural governance and recovery rather than distribution. In a peer-to-peer embodiment, objects traverse a mesh of evaluating nodes with no shared coordinator; admissibility decisions are entirely local, and convergence is achieved through lineage chaining and policy-driven fork resolution.

In an edge-and-cloud embodiment, objects move freely between resource-constrained edge nodes and richer cloud nodes, with each environment evaluating only the transitions it is authorized for; an edge node may execute a low-cost transition while deferring a high-cost or high-credential transition for a cloud node to pick up later. In an agentic-workflow embodiment, the persistent semantic object is the agent: its goals, tools, memory, and policy live in the object, and any compatible runtime — local CLI, hosted endpoint, embedded device — can advance it.

In a multi-tenant embodiment, tenant boundaries are expressed as policy clauses rather than as runtime partitions; the same substrate can host objects from many tenants because each object enforces its own admissibility. In a regulated-execution embodiment, policy references encode jurisdictional, contractual, or rights constraints, and the lineage log is the audit artifact regulators consume directly. Across all embodiments, the core primitive — schema-bound, policy-bound, lineage-bearing object — is unchanged; only the substrate around it varies.

8. Composition with the broader architecture

Memory-resident execution does not stand alone. It composes with two adjacent primitives in the broader cognition architecture. With memory-native protocol, the object's state is transported using the same semantic addressing and integrity guarantees that apply to all cognition-native traffic, so that movement of the object across nodes does not require a separate transport layer or a separate trust model. The protocol's content-addressed payload semantics align directly with the object's content-addressed schema and lineage.

With adaptive indexing, the object's lineage and working state are queryable through the same indexing substrate that handles other semantic content. A long-running object can be located by intent, by schema, by policy band, or by lineage event without a separate workflow registry; an audit of all objects that touched a particular policy clause is a query against the index, not a custom report against a workflow database.

Composed with depth-selective training governance and other governed-execution primitives, memory-resident execution becomes the runtime face of the same lineage discipline applied at training time. An object whose policy requires that any model invoked on its behalf was trained under a compatible band can verify this against the training event ledger before admitting the invocation; the object's own lineage records the verification. This is the structural property that makes the broader architecture coherent: training, execution, transport, and indexing share a single attestation and lineage model, and the object is the entity that carries that model from layer to layer.

9. Prior-art distinctions

Memory-resident execution is distinct from several adjacent runtime architectures. Serverless functions (FaaS) externalize state to surrounding services and treat the function invocation as stateless; they offer no in-object policy, no in-object lineage, and no schema-bound transition surface. Kubernetes pods and similar orchestrated workload units rely on a central scheduler and on external durable state; the workload is not the unit of continuity, the controller is. Durable objects and similar centralized stateful primitives co-locate state with code but bind that code to a specific provider's runtime and routing fabric; the state lives at a coordinate the provider controls, not at a coordinate the object itself defines.

Workflow engines and durable-task frameworks (BPMN, Temporal-style replay, Step Functions) externalize the plan to the engine and reconstruct execution by replaying events into stateless code; the plan, the policy, and the lineage are all in the engine, not in the workflow. Actor systems give actors mailboxes and identity but typically do not bind schema, policy, and lineage to the actor itself, and they require a runtime that knows how to route messages between actors. Smart contracts on shared ledgers carry policy and lineage but are bound to a specific consensus substrate and a specific virtual machine, which the architecture here does not require.

The novel combination disclosed here is the binding of (a) cognition-compatible object schema, (b) schema-bound and policy-bound state mutation, (c) lineage-recorded execution including dormancy and refusal, (d) no-server-required evaluation by any compatible node, and (e) composition with a shared semantic transport and indexing substrate. No prior architecture provides all of these together, and the combination is what allows execution to persist, distribute, and remain governed without an orchestrator.

10. Disclosure scope

This article describes the structural mechanisms of memory-resident execution: the persistent semantic object, schema-bound mutation, object-resident policy, lineage-recorded transitions, dormancy and re-entry, latency and refusal as semantic input, and composition with adjacent primitives. The disclosure is at the level of architecture and method, not of any specific implementation or deployment. Concrete schemas, policy languages, lineage encodings, evaluator implementations, and substrate choices are operator decisions made under context-specific constraints.

Statements about object size, evaluation latency, and lineage growth are characteristic ranges intended to communicate that the architecture is engineering-feasible at modern distributed scales, not performance guarantees for any specific system. Properties such as governability, trust-boundary safety, recoverability, and convergence describe structural behavior of the execution model rather than claims of operational maturity, regulatory sufficiency, or production readiness; real-world execution remains implementation-dependent and subject to context-specific policy, safety, and governance constraints.

The disclosure deliberately separates the structural primitive — persistent, schema-bound, policy-bound, lineage-bearing semantic objects evaluated by any compatible node — from the surrounding implementation choices that an operator will make in deploying it. The primitive is intended to be embodied in many forms: as a library inside a single process, as a peer-to-peer mesh of evaluators, as a cloud-edge fabric, as a regulated multi-tenant substrate, or as the runtime layer beneath an agentic system. The intended scope of the disclosure is the primitive and its required compositions, not any one such embodiment.

Nick Clark Invented by Nick Clark Founding Investors:
Anonymous, Devin Wilkie
72 28 14 36 01