Where It Is Heading: a Read Model for Runtime Topology
TARGET
Today ehgraph is a single primary. The server can embed the
noetl-cluster graph and can project the instance registry into it,
behind switches that are off by default, and on the 2026-11-22 reading
that projection was idle (15.1,
15.5). Nothing in the server reads the graph.
The designs below would keep that arrangement and point more topology
questions at it. They are drafts. None of the TARGET pieces is built.
The page is TARGET.
A read model here means a picture projected from somewhere else. The registry, the event log, or another store remains the record. The graph can lag, and it can disagree with the record. Queries against it answer "what is connected to what?" for operators and agents. They do not decide a write.
Runtime topology for the interstate bus
docs/rfc/interstate-runtime-bus.md (ai-meta RFC #586) is a draft for
review dated 2026-11-16. Its own status line says nothing in the TARGET
sections is built: no code, no manifest, and no production change. It
was written against server ebd3f30d (v3.165.0), which is later than
the v3.161.2 this chapter's code facts use.
The draft's job for ehgraph is the read model of "what is connected to
what" (§5.1). The interstate layer would not read the graph to decide
where to send work. It would read the instance registry. The graph
would be fed from the registry and from events, and the draft calls it
"never authoritative". §8.3 would add handed_to and replied_to
edges from the new interstate events, described as an extension of the
delegated_to edge the server's projection already knows how to write
(src/instances/graph.rs:17 at v3.161.2). Those new edge types are
TARGET. The events they would be drawn from are TARGET too.
§0 says "ehgraph has the instance graph, written on prod (DEPLOYED)".
§5.1 labels the noetl-cluster writer "DEPLOYED". The dated reading of
2026-11-22, recorded in 15.1, is the
opposite of a write in that window:
noetl_instance_total{outcome="graph_written"} was 0 since the server
pod started on 2026-11-19, and the backup loop had shipped nothing.
The projection code exists, and the writer can be switched on, and
that counter over those three days read 0. One of the RFC sentence and
the reading needs to be updated, or a later write needs to be observed.
This page does not treat "written on prod" as a fact.
Cell topology
docs/rfc/firecracker-cells-worker-pool.md is a draft for review dated
2026-11-16. Its status line says nothing is built. A cell, in that
draft, is an isolation boundary, a runtime profile, a resource
envelope, a mailbox, and an identity (§5.3). Hosts and their profile
sets would be discovered through the existing D8 dataset. Individual
cells would not be registered cluster-wide. The host would be the
authority.
The draft says ehgraph can render cell topology — host, then cells, then profile and principal — for operators and agents, as a read model fed from D8 and from events. It says the graph is not authoritative: it is a single-primary MVP, and a view that disagrees with the hosts is a representation, not the record. That rendering is TARGET. No cell exists to render.
Peer catalog nodes
docs/rfc/distributed-playbook-catalog.md describes a catalog that, in
its "as built" section of 2026-11-10, has three phases merged (server
v3.157.0 through v3.160.0) with the flags off in production. The
ehgraph pieces of that RFC are still listed as TARGET:
- §9: peer catalog nodes in ehgraph (
origin=catalog,held_byedges), so a topology query could answer where a playbook lives. - §11, requirement 1, the TARGET column:
ehgraph held_bynodes, beside push completion and cross-instance cancel. - §12.5: a delegated call leaves no ehgraph edge. An edge from A's call to B's execution is TARGET.
The catalog's own discovery path is the instance registry and the
bloom advert, which is a different mechanism and is covered with the
catalog chapters. ehgraph is not on that path at f200516.
Read replicas are not built
docs/wiki/Roadmap.md Stage 0 is this release: one primary per domain.
Stage 1 would be a read replica that tails the change log from a
graph_version cursor and serves reads and sessions. Writes on a
replica would be rejected with UNAVAILABLE and a hint pointing at
the primary. A warm standby would be that follower plus a manual,
owner-gated promotion, needing a Kubernetes Lease and store-side
fencing. The roadmap says ehgraph will not enable role = replica or
role = standby until both exist.
At f200516 the server refuses those roles at open
(crates/ehgraph/src/lib.rs:188,
crates/ehgraph-api/src/dispatch.rs:1272-1278). The storage shape
Stage 1 would tail is already there: each namespace log is an ordered
sequence of frames keyed by graph_version, and sealed parts are
immutable (docs/wiki/Architecture.md). No code in this release
subscribes to that tail. The roadmap's trigger for starting Stage 1 is
a measurement — an RTO tighter than restoring a volume, or read load
that does not fit on one node — and that measurement is not taken.
Sharding and multi-writer are deferred on the same page. The graphs this server is for are assumed to fit on one node, up to about 10⁶ elements (GUIDANCE). Scale-out in this design is another instance, another domain, not a split namespace.