Skip to content
Design11 min readUpdated 27 Oct 2026

20. Evaluation

RG is a design, so this section reports what can be measured before implementation. It applies the type system to the existing design corpus and to a survey of a production platform, checks two activation protocols exhaustively within bounds, and states the hypotheses that will accept or reject the implementation. Requirements coverage is in Table 1 and Table 20.

20.1 The 2026 design corpus under Σstd#

Method#

The corpus is every definition graph published with the Reaktor documentation on 7 October 2026: 140 graphs comprising one example per kind of the 2026 catalogue (100), 30 scenario designs (mobile, web, distributed, capabilities, workflows, games, IoT, robotics), 5 nested-graph examples and 5 view examples. Together they hold 750 nodes, 1 420 ports, 648 relations and 1 420 incidences. 542 relations are binary, 88 ternary and 18 quaternary. A script, included with the paper, maps each relation to a family of Σstd. The relation kind decides, except for generic value flows, where the port profile decides. The script then normalises role names and applies the checks of Section 6.5 that are decidable on the current IR: roles (W3), nets (W4), contracts (W5), layers (W6) and locality (A1). For locality it uses region labels as a proxy for places.

Table 27. The 140 published design graphs under Σstd (anc/rg_catalog_eval.py).
Measure Result
Relations expressed in Σstd of 648: 486 connections (Session 185, Bind 141, Channel 98, Transition 62), 142 assertions, 14 containment links, 6 stream operators
Connections whose family follows from the port profile of 455 (95.4%); 277 of 298 (93.0%) without the value flows, which agree by construction; the other 31 run over ports that imply no connection family
Distinct role names (role slots) → 31 (192 → 37)
Incidence polarity versus role-derived polarity agree, 19 unspecified and now derived, 0 contradict
Ports that existed only to carry metadata of 1 420 (24.4%), replaced by assertions on elements
Ports used in more than one relation of 1 420: the net discipline already holds for 99.6%
Region labels that denote places, not scopes of 422 (63%)
The 2026 “value flow” kind, split by law Bind 94, Channel 47, Session 16, Observes 10, Derives 3, Grant 1
Bind across two host lanes, the catalogue’s places (A1)
Connection spanning layers (W6), of which a channel reified as a node , of which 28
Roles that are realizations or solvers (broker, planner, publisher, …)
Grant whose “principal” slot holds the policy that issues it
Cancellation modelled as control precedence
Route binding encoded as a boundary export
Join without an explicit continuation (W3)

Results#

Table 27 supports four claims. First, the fourteen families and the containment forest suffice for the corpus. Second, a separate relation kind is redundant. Among the connections whose ports imply a connection family, the family follows from the port profile in 95.4%. Leaving out the value flows, whose family the script takes from the profile and which therefore agree by construction, the rate is 93.0%; counting the 31 connections whose ports imply no connection family as disagreements, it is 89.3%. This is why RG types ports by family and role and derives the family of the hyperedge. The remaining 21 cases are genuine ambiguities, for example an “exclusive binding” over request–response ports, which RG forces the author to resolve. Third, the vocabulary contracts sharply. Role names fall from 123 to 31; polarity becomes derivable, with no contradictions; and almost a quarter of all ports disappear, because assertions attach to elements directly instead of to dedicated inspection ports. Fourth, the static checks find modelling errors that the structural validator accepts. Among them are bindings across hosts that hide a network boundary; grants that conflate the issuer with the principal; cancellation encoded as precedence; and brokers and planners recorded as participants of the relations they realize or compute. The 2026 “value flow” kind alone splits into six families with different laws.

Threats#

The mapping is ours, and the corpus was written by the same project’s authors and agents. Region labels only approximate places. The checks are static and cover part of 𝖶𝖥. The study shows that Σstd is sufficient and sharper for the designs Reaktor already has; it does not show that it is sufficient for systems not yet designed. H1 below tests that.

20.2 A survey of a production platform#

Method#

Seven parallel read-only surveys covered Reaktor’s modules, its tools and five systems built on its current runtime:

  • a social messaging application;

  • a knowledge-and-work system;

  • the developer workbench;

  • a business-to-business commerce prototype;

  • a back-office automation system.

The surveys were carried out by LLM-based code-reading agents under the authors’ direction. Every recorded fact cites a file and line or a section of a document, and the authors spot-checked the key claims. They produced 283 feature records, which we grouped into 150 entries and mapped onto Σstd (Table 28).

Table 28. A survey of 283 features of Reaktor and five systems built on its current runtime.
Measure Result
Features expressible with the fourteen kinds and fourteen families of 283
Entries that RG improves materially, clearly, or marginally , 69 and 5 of 150; about 30 further features are not improved: computation inside components, drawing, external platforms and human decisions
Additions the mapping required , none a new base kind or family: labels (W11), tenancy (A6), one effect lattice, schedules, traversals compiled into stores, dataset invariants, receipts bound to payloads, a render-plan protocol for pushed UI, refs and proposals, references between any elements, quotas on grants
One system, many models up to 7 models of one system in one tool, joined by names; deployment topology in 7 hand-kept places
Identity that does not survive a run observation paths with incompatible identity; joins by label
Effects lost or misreported post-commit effects without an outbox; expired deadlines reported as failures
Actions without principals approvers as free strings; self-approval possible on every tooling path
Authority and capability in code process-global service slots; 4 call styles between runtimes; 6 effect and truth vocabularies

Results#

The survey supports H1 on a broader sample than the corpus, drawn from running systems rather than designs. It also changed the design. The eleven additions in Table 28 are now part of the design, in Section 6 and Section 7 and Section 8 and Section 9, and each is a facet, a derived kind, a rule or a kernel feature.

Threats#

The mapping and the grouping are ours. The surveys read code but ran nothing. The systems were written by this project’s authors and agents.

20.3 Bounded protocol models#

Table 9 explores two protocols that activation and code push rely on. The first is ownership handover between activations. Without fencing at the receiving authority, a three-step trace accepts a write from an obsolete owner. A sender that checks its lease before every write fails on the same trace. This is the counterexample of Reaktor’s language design report [294], reproduced here with a different encoding, which changes the state counts but not the trace. With fencing, no violation exists within bounds of up to three owners, two writes each and three handovers (4 555 states). The second is effect identity under loss, duplication and retry. Without deduplication by effect identity, an effect is applied twice. With deduplication, a client that treats a timeout as “not applied” still reaches a false conclusion. Treating it as UNKNOWN is sound. These results are the reason for two design decisions: the Outcome type of Session calls, and the epoch check inside atomic(store).

20.4 Hypotheses for the implementation#

Each hypothesis has a rejection criterion. Baselines are the current runtime’s kernel, Koin and Dagger for injection, Compose Navigation for routing, direct Ktor and Hono services, Temporal for durable workflows [329], and Expo or React Native update services for code push. For the hypotheses about compilation, tools and agents (H8–H15), the baselines are the same code built without a compilation plan but with the best current build-time tools (Dagger or Hilt with R8 on Android [150, 152]), full rebuilds, the test suite run in full, random fault injection, and the same agents with file-based tools only.

  1. Coverage. The graphs of three production systems on the current runtime (both roots of a social application, a knowledge-and-work system and the workbench) convert to Σstd with no new base kind or family. Reject if any requires a kernel change.

  2. Defects. The RG checks report the known defects of the current runtime (duplicate providers of one port, unwired consumers, spans attributed by label, calls between workers modelled as local bindings), with at most 10% false positives on manual review. Reject if a known defect is missed.

  3. Kernel cost. Snapshot below 1 μs. Injection plan below 1 ms for an application of about 300 ports. Traversal throughput at least 107 incidences per second on the JVM and 106 in Hermes. Local Bind call overhead at most 5% over a direct Kotlin call. Reject if any bound is missed by a factor of two.

  4. Incrementality. Maintaining findings and plans under patches that touch at most 1% of elements costs at most 5% of recomputation. Reject if the median cost exceeds 20% of recomputation.

  5. Code push. On a mid-range Android device, a stateless region pushed in next-entry mode activates within 300 ms. Across 1 000 releases with injected faults (release during a session, lost acknowledgement, crash after commit), no call or effect is lost or duplicated. Reject on any loss or duplication.

  6. Review. In a matched study following the design of [288], developers and agents that review graph patches accept fewer invalid changes, and find injected defects faster, than with textual diffs. Reject if neither difference is significant at the 5% level.

  7. Scale. The study of H6 is repeated on systems of about 102, 103 and 104 elements. With RG, review minutes and agent round trips per accepted change grow sublinearly in system size, and exploration falls below 20% of agent round trips, from the measured 31–63% (Section 18). Reject if effort per change grows with system size at the same rate as with textual diffs.

  8. Compilation. Compiling release regions with a compilation plan (static injection, devirtualisation, specialised sessions and codecs, and initialisation at build time; Section 10.7) reduces the cold start of an edge Worker and of an Android process by at least 30%, and bundle size by at least 15%, relative to the same code with injection at run time and reflective registries. Against Dagger or Hilt with R8, it must not be slower or larger. Results on the conformance suite are identical. Reject if either reduction is below half its target, if it loses to Dagger or Hilt with R8, or if any conformance vector differs between the compiled and the interpreted region.

  9. Incremental builds. Replaying the recorded commits of the surveyed systems, the impact set of each graph diff rebuilds at most 20% of the artefacts that a full build rebuilds, at the median. Reject if any artefact whose inputs or assumptions changed is not rebuilt, which is checked by a full rebuild and a comparison of digests, or if the median exceeds 40%.

  10. Testing and faults. Over 500 historical commits, test selection by graph impact runs at most 30% of the tests at the median and never skips a test that failed. In the chat pilot with seeded defects, fault plans generated from the graph (Section 19) find at least as many distinct defects as random fault injection with the same budget. Reject if a failing test is skipped, or if the generated plans find fewer seeded defects than random injection.

  11. Agents. On change tasks drawn from the surveyed systems, the same agent resolves at least 10 percentage points more tasks with graph tools (traversals with coverage, patch operations and the kernel’s findings) than with file tools alone. Resolution is the primary endpoint, tested one-sided at the 5% level on a number of tasks fixed in advance by a power analysis for that difference; round trips, expected to fall by at least 40%, are secondary. Reject if resolution does not improve significantly, whatever happens to round trips.

  12. People and agents together. A 2×2 study crosses who works (people alone, or people with agents, following the patterns of Section 19) with what they work on (text, or the graph). Its prediction is an interaction: the graph reduces accepted invalid changes more for people with agents than for people alone, at equal or lower time per accepted change. Reject if the cell of people with agents on the graph is not better than every other cell.

  13. The twenty problems. For each problem of Section 16, defects seeded in the chat pilot by people outside the design team, drawn from the incidents reported in the cited studies, are either rejected before activation or reported in production with a witness. Reject if more than two of the twenty problems go unreported.

  14. Observability. On managed connections, at least 99% of spans, logs and metrics are joined to an element by identity, against a baseline measured on the current runtime before the change. On injected incidents, the time to identify the responsible patch falls by at least 30%. Reject if fewer than 95% are joined, or if the time to identify the patch falls by less than 15%.

  15. Composition without code. After two hours of training, product designers who do not write Kotlin compose and change features in graph-owned scopes in the workbench, as designers compose Blueprints (Section 4). Reject if defects found after admission are more than twice as frequent in their patches as in programmers’ patches for comparable tasks.