A Typed Transition Kernel for Auditable Epistemic Systems
Public source edition. Original dates, research statuses, numerical results and stated limits belong to this source. Any private material is identified by a custody notice in the text.
A Typed Transition Kernel for Auditable Epistemic Systems
Author: E. M. Honeycutt III Affiliation: Honeycutt Ai Labs, Princeton, TX License: CC BY-NC 4.0 (Creative Commons Attribution-NonCommercial 4.0 International)
The short version
Contemporary reasoning systems frequently collapse several logically distinct operations into a single mutable state: updating confidence in a hypothesis, changing its administrative disposition, granting or revoking authority, restoring prior state, and altering the presentation of an answer. This creates a class of failures in which an operation valid in one plane silently modifies another. A formatting event may alter substantive state; a restore operation may resurrect revoked authority; a correction may bypass later protections; or repeated events may be applied inconsistently after replay.
We present a typed transition kernel for auditable epistemic systems in which these effects are represented as typed conformance obligations and made mechanically testable. The kernel models execution as a deterministic transition
$$ (S,e)\rightarrow(S',r), $$
where (S) is the complete typed state, (e) is an admissible event, (S') is the resulting state, and (r) is an auditable receipt. The architecture distinguishes Bayesian belief state, hypothesis lifecycle state, authorization and revocation state, provenance and lineage state, and affect/rendering state. Events are admitted only when their declared effect domain and preconditions permit the resulting mutation.
The system formalizes a PASS/PARK/OPEN/PROPOSE/PROMOTE/FAIL hypothesis lifecycle while explicitly separating those administrative labels from probabilistic belief. It further defines replay protection, freshness ordering, restore and correction semantics, lineage-aware authorization, revocation supersession, explicit revocation relaxation, and a kernel-wide protection-monotonicity invariant. A canonical selector algebra reduces protection comparison over potentially large request domains to a finite partition problem.
The resulting design treats epistemic governance as a state-transition problem rather than a prompting convention. Its principal claim is architectural: safety, provenance, and epistemic discipline become substantially more testable when prohibited cross-plane effects are represented as invariant violations rather than behavioral expectations.
Introduction
Reasoning systems routinely maintain more than one kind of state, even when their implementation represents that state as undifferentiated text or mutable objects.
A system evaluating a hypothesis may simultaneously need to represent:
- how strongly the evidence supports the hypothesis;
- whether the hypothesis is currently open, parked, promoted, passed, or failed;
- which evidence and provenance records justify the current state;
- which operations are authorized;
- which previously granted operations have been revoked;
- which historical state may legitimately be restored;
- how a result should be rendered to a user.
These quantities are related, but they are not interchangeable.
A new observation may alter posterior probability without changing administrative status. An operator may park a hypothesis without changing its probability. A revocation may prohibit an operation without changing belief in the proposition that motivated it. A stylistic event may make an answer terse or expansive while having no legitimate effect on evidence, hypothesis state, authorization, or provenance.
When these effects are not separated, systems admit state transitions that are locally plausible but globally invalid.
Consider a restore operation. A naive implementation may deserialize an earlier snapshot and replace the current state. If an authorization present in the old snapshot was subsequently revoked, literal restoration resurrects authority that no longer exists. The restore operation is internally consistent with the historical snapshot but inconsistent with the current protection state.
The same structural problem appears elsewhere. A supersession event can accidentally weaken an active prohibition. A correction event can overwrite evidence introduced after the corrected state. Two different event planes can reuse an identifier and defeat replay protection. A rendering policy can mutate substantive state if both are represented in a shared mutable object.
These are not primarily language-model errors. They are transition-system errors.
This paper therefore adopts a narrower formulation:
> An epistemic runtime should define which state components each event is permitted to change, which components it must preserve, and which global invariants must remain true after every admissible transition.
The proposed kernel implements this formulation through typed state, typed events, deterministic transitions, explicit receipts, and property-based verification.
Design Principle: Separate State by Effect Domain
Let the full system state be represented as
$$ S = (B,H,E,A,R,L,P,V), $$
where:
- (B) is Bayesian belief state;
- (H) is hypothesis and administrative lifecycle state;
- (E) is evidence and provenance state;
- (A) is active authorization state;
- (R) is revocation and prohibition state;
- (L) is lineage and historical state;
- (P) is presentation or affect policy state;
- (V) is kernel metadata; see the Structure of V section for its internal structure.
The exact representation is implementation-dependent. The important constraint is that the components remain semantically distinct.
For every event type (T), define an allowed mutation set
$$ M(T)\subseteq {B,H,E,A,R,L,P,V}. $$
An event is invalid if its execution changes a protected component outside (M(T)).
For example, an affect event may satisfy
$$ M(\texttt{AFFECT_EVENT})\subseteq{P,V_{\text{affect}},V_{\text{shared}}}. $$
It follows that
$$ B'=B,\quad H'=H,\quad E'=E,\quad A'=A,\quad R'=R,\quad L'=L $$
must hold for every successful affect transition, and the epistemic-plane partition of (V) must additionally be unchanged (see the Structure of V section).
This converts the informal statement that "tone must not change belief" into a property-based test: a shadow-state comparison before and after each handler's execution detects any handler that writes outside its declared (M(T)). The enforcement gap for effect separation is covered by the property-based test suite in the Property-Based Verification section ("Effect separation"), which treats M(T) declarations as test oracles rather than self-enforcing axioms.
Structure of V
The kernel metadata component (V) is not a monolithic store. It is partitioned into three non-overlapping sub-components:
- $V_{\text{shared}}$: common metadata accessible to all event types; includes kernel version counter and event timestamp records.
- $V_{\text{epistemic}}$: epistemic-plane metadata; includes the replay log for epistemic events, freshness ordering state, and lineage version markers. Write-protected from all non-epistemic event handlers. No affect event, policy event, or presentation event may write to $V_{\text{epistemic}}$.
- $V_{\text{affect}}$: affect-plane metadata; includes presentation session counters, tone-selection records, and rendering event replay state.
The partitioning rule is:
$$ M(\texttt{AFFECT_EVENT})\cap V_{\text{epistemic}}=\emptyset. $$
This makes the cross-plane isolation claim in the Cross-Plane Event Identity section a write-time constraint rather than a lookup-time fix. An affect event that reaches a handler touching $V_{\text{epistemic}}$ is rejected as a type error, not merely distinguished at replay-lookup time.
Belief Is Not Status
A central distinction in the kernel is between probabilistic belief and administrative disposition.
Let
$$ B_t(H_i)=P_t(H_i) $$
denote the system's current probability assigned to hypothesis (H_i).
Separately, define an administrative state
$$ \sigma_t(H_i)\in { \text{OPEN}, \text{PROPOSE}, \text{PROMOTE}, \text{PASS}, \text{PARK}, \text{FAIL} }. $$
The kernel enforces a one-way separation: administrative transitions do not modify belief state, but certain administrative transitions may use belief-state quantities, such as a probability threshold, as one input among several admissibility preconditions. This is a one-way coupling, not full orthogonality.
For example,
$$ P(H_i)=0.71 $$
does not imply
$$ \sigma(H_i)=\text{PROMOTE}. $$
Promotion may additionally require provenance completeness, replication, threshold satisfaction, operator authority, or the absence of unresolved contradicting evidence. Meeting a belief threshold is, at most, a necessary precondition for PROMOTE; it is not sufficient, and the transition itself produces no change to (B).
Likewise,
$$ \sigma(H_i)=\text{PARK} $$
does not imply that the posterior has been reduced. PARK is an administrative operation specifying that the hypothesis is retained but not currently advanced.
The enforced invariant is directional: (sigma) transitions are admitted only when they satisfy their full admissibility predicate, and they are prohibited from writing to (B). The converse, that (B) updates may not depend on (sigma), is not asserted; a belief update may legitimately consult administrative status (e.g., to determine which hypotheses are currently in scope for evidence accumulation).
Core Transition Form
Every kernel operation has the form
$$ K(S,e)=(S',r). $$
An event (e) contains at minimum:
$$ e = ( id, type, actor, lineage, base_version, payload ). $$
Depending on event type, additional fields may include authorization references, evidence identifiers, supersession links, selector domains, or correction targets.
A receipt (r) records the disposition of the event and sufficient information to audit the transition.
Conceptually,
$$ r = ( event_id, status, old_version, new_version, effects, reason ). $$
The kernel is deterministic with respect to canonical state: for any two states (S) and (S') that are canonically equivalent, that is, [S] = [S'] under the semantic equivalence relation defined on state components, and for any event (e),
$$ K(S,e)=K(S',e). $$
Two states are canonically equivalent when they agree on all semantic content of each component (B, H, E, A, R, L, P, V), regardless of internal representational choices such as the ordering of revocation records or the serialization format of evidence entries. The equivalence relation must be defined per component by any conforming implementation, and the determinism invariant is testable by submitting the same event to two independently serialized but semantically identical states and confirming identical output.
However, submitting the same event to a state in which that event has already been committed is not treated as a second execution. Replay protection returns the existing disposition or rejects the duplicate according to the event contract. Same-key, different-payload collisions, where two distinct events share an identifier, are classified as a distinct third case: the kernel must detect the payload divergence and reject the second event as a collision error, not suppress it silently as a replay.
Transition Admissibility
An event is admissible only if all relevant preconditions hold.
A generic admissibility predicate may be written
$$ \mathcal{A}(S,e)= C_{\text{schema}} \land C_{\text{version}} \land C_{\text{freshness}} \land C_{\text{lineage}} \land C_{\text{authorization}} \land C_{\text{domain_effect}} \land C_{\text{invariants}}. $$
Schema validity establishes that the event is well typed.
Version validity prevents stale writers from silently overwriting newer state.
Freshness ordering prevents an older event from becoming authoritative merely because it arrives later.
Lineage validation prevents state or authority belonging to one branch from being applied to an incompatible branch.
Authorization validation establishes whether the actor possesses the capability required for the transition.
Effect-domain validation establishes whether the requested operation lies within the permitted mutation set (M(T)) for the event type. This is distinct from selector-domain validation in the Protection Monotonicity and Canonical Selector Algebra sections, which govern the request domain (D) over which protection rules apply. Throughout this paper, "effect domain" refers to (M(T)); "request domain" refers to (D); "selector domain" refers to the input space of a specific selector rule.
Finally, global invariant checks ensure that an otherwise locally valid operation does not produce a forbidden system state.
Restore Is a Transition, Not Time Travel
A restore event does not replace the present with an earlier snapshot.
Instead, it proposes that selected historical state components become the basis of a new current state while all non-restorable protections remain governed by present constraints.
Let $S_\tau$ be an earlier state and $S_t$ the current state. A naive restore computes
$$ S_{t+1}=S_\tau. $$
The typed kernel instead applies a restore operator
$$ S_{t+1}= \mathcal{R}(S_t,S_\tau,e). $$
Restorable and Non-Restorable Components
The restore operator requires a partition of state components into restorable and non-restorable sets. This partition is defined by two axioms.
AXIOM-R1 (Default partition). Authorization state A and revocation state R are non-restorable by default. Their values in $S_{t+1}$ are always taken from $S_t$, not from $S_\tau$, unless the restore event carries an explicit, separately authorized relaxation contract. Components B, H, E, L, and P are restorable subject to declared restrictions. Kernel metadata V follows the plane partition: $V_{\text{epistemic}}$ is non-restorable, while $V_{\text{shared}}$ and $V_{\text{affect}}$ are restorable only when the event contract permits.
AXIOM-R2 (Typed authority-bearing evidence screen). The state schema must enumerate every evidence type capable of carrying an authorization or capability. A restore event is inadmissible if any such typed record in the proposed $S_\tau.E$ carries authority absent from or revoked in the current $S_t.A \cup S_t.R$. This closes the structural cross-component resurrection path for the declared schema. Detecting authority implied only by arbitrary free text or semantic entailment is outside the kernel guarantee and requires a separately specified classifier or oracle.
The admissibility predicate for a restore event therefore includes, in addition to the standard $C_{\text{authorization}}$ check, an authority-bearing-type scan over $S_\tau.E$ against the current protection state.
For protected dimensions, restoration must preserve the stronger applicable protection. If $\preceq$ denotes the protection ordering, then for every request-domain element (x),
$$ \text{Protection}_{t+1}(x) \succeq \text{Protection}_t(x) $$
unless the event is an explicitly authorized protection-relaxation operation (the Relaxation Requires Its Own Event Type section).
Consequently, restoring a snapshot containing an authorization that was subsequently revoked does not reactivate that authorization, because (A) and (R) are non-restorable by AXIOM-R1, and any evidence records that would re-derive the authorization are blocked by AXIOM-R2.
The historical fact that the authorization once existed remains part of the ledger. Its former operational force does not.
Revocation and Supersession
Revocation is modeled as first-class state rather than deletion of an authorization record.
A revocation identifies:
- the authority or capability affected;
- its selector domain;
- its lineage scope;
- its precedence;
- its effective state;
- any supersession relationship.
If revocation (R_2) supersedes revocation (R_1), ordinary supersession must not produce weaker protection on any portion of the domain previously protected by (R_1), unless the reduction is performed through a separately typed relaxation operation.
For ordinary supersession,
$$ \text{Protection}(R_2,x) \succeq \text{Protection}(R_1,x) $$
for every (x) in the effective selector domain of the predecessor, subject to any stronger active prohibitions imposed elsewhere.
This rule prevents a superficially valid successor object from acting as an implicit revocation rollback.
Relaxation Requires Its Own Event Type
Protection decreases are semantically different from ordinary policy replacement.
The kernel therefore introduces a distinct transition:
$$ \texttt{RELAX_REVOCATION}. $$
The operation is admissible only under an authorization contract specifically granting relaxation authority.
A reduction cannot be encoded as:
- a normal supersession;
- a restore;
- a correction event (an event targeting a specific prior state record for amendment; see the Correction Events section);
- a policy update;
- a lineage change;
- a replay;
- or a replacement authorization.
This gives the kernel a simple meta-rule:
> If protection becomes weaker, the ledger must contain an authorized event whose declared semantic purpose is protection relaxation.
A decrease without such an event is either rejected before commit or classified as an invariant failure if produced by kernel implementation error.
Correction Events
A correction event targets a specific prior state record and proposes an amendment to it. Its permitted mutation set is:
$$ M(\texttt{CORRECTION})\subseteq{H,E,L,V_{\text{shared}}}. $$
Correction events are prohibited from writing to authorization state (A), revocation state (R), or epistemic-plane kernel metadata $V_{\text{epistemic}}$. This restriction, combined with the relaxation-exclusivity rule, means a correction cannot achieve a protection decrease: the only components it may amend are those that do not govern protection levels, and any authority-encoding content in an amended evidence record is subject to the AXIOM-R2 screen on any subsequent restore that would include it.
The correction event admissibility predicate additionally requires that the proposed amendment does not overwrite evidence introduced after the corrected state record; it may only target the record it declares, leaving all later evidence intact.
Protection Monotonicity
Define a request domain (D) and a canonical protection function
$$ \Pi_S:D\rightarrow\mathcal{P}, $$
where $\mathcal{P}$ is a totally ordered set of protection levels.
The totality of $\mathcal{P}$ is an explicit axiom of the kernel: for any two protection levels $p_1,p_2 \in \mathcal{P}$, either $p_1 \preceq p_2$ or $p_2 \preceq p_1$. Protection levels that are merely partially ordered would leave the monotonicity comparison undefined for incomparable pairs; the kernel does not admit protection schemas that produce incomparable levels on the same request-domain element.
For all ordinary transitions,
$$ \forall x\in D: \Pi_{S'}(x)\succeq\Pi_S(x). $$
Only transitions explicitly authorized to decrease protection may violate this monotonic direction.
This invariant applies across event types rather than being embedded independently in each implementation. A new event type is not safe merely because its author omitted code referring to revocations. The new transition must still satisfy the global protection invariant.
Canonical Selector Algebra
Directly testing protection over every possible request is generally impossible. The kernel therefore represents protected domains using canonical selectors.
Selectors may include:
- exact values;
- finite sets;
- wildcards;
- bounded integer intervals;
- unbounded intervals;
- conjunctions of independent dimensions.
The finite-partition reduction described below applies under the following axiom, which must be satisfied by any conforming protection-rule schema:
AXIOM-S (Selector-defined rules). Every protection rule is defined over the selector algebra above. Protection rules that depend on dynamic predicates not reducible to the selector forms, such as rules conditioned on wall-clock time or external state, require separate handling outside the canonical partition reduction and must be identified as non-selector rules in the authorization schema. The finite-partition guarantee applies only to selector-defined rules.
Normalization transforms semantically equivalent selectors into a canonical representation.
For interval selectors, endpoints induce a finite partition of the numeric domain. Given all relevant endpoints,
$$ a_1<a_2<\cdots<a_n, $$
the domain can be divided into cells consisting of endpoint singletons and open intervals between consecutive endpoints, together with required unbounded exterior cells.
Each cell receives a canonical representative.
Because selector membership is constant within every such cell, the protection function is also constant within each cell provided all active protection rules are selector-defined (AXIOM-S).
Thus the universal comparison
$$ \forall x\in D: \Pi_{S'}(x)\succeq\Pi_S(x) $$
reduces to a finite comparison over representatives
$$ \forall c\in \text{Cells}(D): \Pi_{S'}(\text{rep}(c)) \succeq \Pi_S(\text{rep}(c)). $$
The finite-partition construction therefore converts a potentially unbounded protection-comparison problem into an exact finite procedure, subject to AXIOM-S.
Affect and Rendering Isolation
Systems commonly adapt tone, verbosity, formatting, or other presentation properties in response to user interaction.
These operations are legitimate, but they occupy a different effect plane from epistemic state.
Define
$$ e_a=\texttt{AFFECT_EVENT}. $$
Its permitted mutation set is
$$ M(\texttt{AFFECT_EVENT})\subseteq{P,V_{\text{affect}},V_{\text{shared}}}. $$
As established in the Structure of V section, $V_{\text{epistemic}}$ is outside $M(\texttt{AFFECT_EVENT})$. This is a write-time constraint: an affect handler that attempts to write to $V_{\text{epistemic}}$ is rejected before commit.
For every such event,
$$ \text{Projection}{\text{epistemic}}(S') = \text{Projection}{\text{epistemic}}(S). $$
The protected projection includes at least:
- posterior probabilities;
- hypothesis membership;
- lifecycle status;
- evidence records;
- authorization;
- revocation;
- lineage;
- promotion thresholds;
- epistemic-plane replay state ($V_{\text{epistemic}}$).
The architecture therefore permits adaptive rendering while forbidding affective feedback from functioning as an undeclared evidence channel or from interfering with epistemic replay protection.
Cross-Plane Event Identity
Replay protection creates an additional subtlety.
If event identifiers are assumed globally unique but implementations allocate them independently within different event planes, an affect event and epistemic event can collide.
The kernel must therefore either:
- guarantee globally unique event identifiers; or
- define event identity as a compound key such as
$$ (\text{type},\text{event_id}). $$
Tests must explicitly cover collisions between event planes.
The compound-key mechanism is a lookup-time fix: it ensures that the kernel correctly identifies which events have been replayed within their own plane. The write-time complement, restricting $M(\texttt{AFFECT_EVENT})$ from touching $V_{\text{epistemic}}$, closes the path by which an affect event could mark an epistemic event as already-committed before the epistemic event is processed. Both mechanisms are required; neither is sufficient alone.
A collision must never cause:
- an epistemic event to be incorrectly classified as replayed because an affect event used the same local identifier;
- an affect event to inherit authorization from an epistemic event;
- restore or replay behavior to cross event planes.
Property-Based Verification
The transition system is particularly suited to property-based testing because its important guarantees are universal rather than example-specific.
Representative properties include:
Probability conservation
Where the belief representation requires normalization,
$$ \sum_i P(H_i)+P(H_\perp)=1. $$
Effect separation
For every affect event,
$$ B'=B,\ H'=H,\ E'=E,\ A'=A,\ R'=R,\ L'=L,\ V_{\text{epistemic}}'=V_{\text{epistemic}}. $$
Replay idempotence
Replaying a committed event must not produce a second substantive mutation. Same-key, different-payload events must be rejected as collision errors, not silently suppressed.
Freshness ordering
A stale event cannot overwrite state produced by a later admissible event.
Restore non-resurrection
If authority was revoked after snapshot $S_\tau$, restoring $S_\tau$ cannot reactivate it. This property is testable because the restorable partition is defined by AXIOM-R1 and the typed evidence screen is defined by AXIOM-R2. Tests must cover both direct authority-state restoration and authority-bearing evidence records.
Supersession non-bypass
Ordinary supersession cannot weaken the effective protection of its predecessor.
Relaxation exclusivity
A protection decrease cannot be successfully encoded using any transition other than the explicitly authorized relaxation transition. This property is testable for correction events because M(CORRECTION) is specified in the Correction Events section and excludes A, R, and V_epistemic.
Cross-plane collision isolation
Equal local identifiers in different event planes cannot suppress, authorize, replay, or mutate one another. This holds by the compound-key mechanism at lookup time and by the V-partitioning constraint at write time.
Protection monotonicity
For every non-relaxing transition and every cell in the canonical selector partition,
$$ \Pi_{S'}(\text{rep}(c)) \succeq \Pi_S(\text{rep}(c)). $$
These properties test the architecture at the level where many state-governance failures actually occur: interaction between individually reasonable operations.
Failure Semantics
The kernel distinguishes expected rejection from invariant failure.
A rejected event is one whose requested transition is inadmissible according to its contract. Examples include stale versions, insufficient authorization, invalid lineage, and attempts to use ordinary supersession to reduce protection.
These are normal kernel outcomes.
An invariant failure is different. It indicates that the kernel admitted an operation but the produced state violates a condition that every valid implementation is required to preserve.
This distinction allows tests and production telemetry to separate hostile or malformed requests from defects in the transition engine itself.
Discussion
The architecture does not attempt to solve epistemology by type declaration.
Typing cannot determine whether evidence is true, whether a prior is well chosen, or whether a hypothesis set adequately represents reality.
Its contribution is narrower.
Once a system has declared what it currently believes, what evidence it possesses, what actions are authorized, and what protections apply, the transition kernel prevents unrelated operations from silently rewriting those facts.
This creates a stronger boundary between reasoning and control.
Bayesian updates modify belief because evidence warrants a belief update.
Administrative transitions modify workflow state because explicit criteria are satisfied.
Authorization events modify capability because an authorized principal granted capability.
Revocations modify capability because authority was withdrawn.
Relaxation modifies protection because an independently authorized operation explicitly permitted protection to decrease.
Affect events modify presentation because presentation adaptation was requested or selected.
None of these operations gains authority over the others merely because all are processed by the same runtime.
Conclusion
Auditable reasoning requires more than recording final answers. It requires controlling how the state producing those answers may change.
The typed transition kernel presented here treats epistemic runtime behavior as a deterministic, contract-governed state machine. Its central design rule is effect separation: events receive explicit mutation authority, and everything outside that authority is invariant.
Combined with replay protection, lineage validation, restore semantics with an explicit restorable-partition axiom, correction event typing, explicit revocation relaxation, canonical selector partitions under a totality axiom, V-component plane partitioning, and kernel-wide protection monotonicity, this produces a framework in which many subtle governance failures become mechanically testable.
The broader implication is straightforward: when belief, status, authority, protection, provenance, and presentation have different semantics, they should also have different transition types.
That separation turns epistemic discipline from an instruction into a testable conformance property.
Relationship to the reference implementation
T-002 is an implementation-independent specification. A separately documented DataCurrent reference core, staged for the research workspace public identity, implements overlapping but not identical invariants. Its tests are evidence only for the rows marked implemented or partial below; they do not validate the unimplemented parts of this specification.
| T-002 construct | Reference-core analogue | Status |
|---|---|---|
| typed effect-domain mutation boundaries | immutable plane-owned state and cross-plane identity tests | implemented analogue; state schemas differ |
| deterministic transition receipts and exact replay | idempotent receipt return for committed event identity | implemented analogue |
| authorization and stale-version rejection | single-use, version-bound authorization lifecycle | partial analogue |
| PASS/PARK/OPEN/PROPOSE/PROMOTE/FAIL lifecycle | administrative-plane state machine | partial analogue |
| restore partition AXIOM-R1 and typed evidence screen AXIOM-R2 | no complete matching restore contract | not implemented |
| canonical selector algebra for protection comparison | no matching selector-partition implementation | not implemented |
| rejected-event versus invariant-failure taxonomy | closed transition outcomes and property-test failures | partial analogue |
The current reference-core record reports 113 standard-library tests and a 12,300-case isolation matrix. Those counts support the implemented analogue only. A conforming T-002 implementation would additionally need complete event coverage, mediation of every handler by the mutation checker, and implementation evidence for the restore and selector obligations.
Related work
Session types and effect systems provide established ways to make interaction and computational effects explicit (Dezani-Ciancaglini et al. 2006; Lucassen and Gifford 1988; Plotkin and Pretnar 2009). Event sourcing and CQRS separate durable event history from derived views (Fowler 2005; Young 2010), while idempotent processing addresses safe repetition under retries (Helland 2012). W3C PROV supplies a standard vocabulary for entities, activities, agents, and derivation (Missier, Belhajjame, and Cheney 2013). T-002 does not claim those component disciplines as original. Its narrower contribution is their composition with an explicit restore partition, typed correction events, protection-monotonic selector algebra, and a failure-semantics distinction in one conformance specification.
Runtimes and their contribution
Authorship and all research judgments are the author's alone. Machine runtimes assisted with editorial restructuring, notation repair, implementation-state reconciliation, and adversarial review. The related reference core predates this finalization pass and remains separate from the specification. No runtime is credited with proving conformance, executing the restore contract, or establishing novelty.
References
Dezani-Ciancaglini, M., Mostrous, D., Yoshida, N., and Drossopoulou, S. (2006). Session Types for Object-Oriented Languages. ECOOP 2006, LNCS 4067, 328–352.
Plotkin, G., and Pretnar, M. (2009). Handlers of algebraic effects. ESOP 2009.
Lucassen, J. M., and Gifford, D. K. (1988). Polymorphic effect systems. POPL 1988.
Fowler, M. (2005). Event Sourcing. martinfowler.com.
Young, G. (2010). CQRS Documents. https://cqrs.files.wordpress.com/2010/11/cqrs_documents.pdf
Helland, P. (2012). Idempotence is not a medical condition. ACM Queue.
Missier, P., Belhajjame, K., and Cheney, J. (2013). The W3C PROV family of specifications for modelling provenance metadata. EDBT 2013.
Public source text and line addresses
# A Typed Transition Kernel for Auditable Epistemic Systems **Author:** E. M. Honeycutt III **Affiliation:** Honeycutt Ai Labs, Princeton, TX **License:** CC BY-NC 4.0 (Creative Commons Attribution-NonCommercial 4.0 International) --- ## The short version Contemporary reasoning systems frequently collapse several logically distinct operations into a single mutable state: updating confidence in a hypothesis, changing its administrative disposition, granting or revoking authority, restoring prior state, and altering the presentation of an answer. This creates a class of failures in which an operation valid in one plane silently modifies another. A formatting event may alter substantive state; a restore operation may resurrect revoked authority; a correction may bypass later protections; or repeated events may be applied inconsistently after replay. We present a typed transition kernel for auditable epistemic systems in which these effects are represented as typed conformance obligations and made mechanically testable. The kernel models execution as a deterministic transition $$ (S,e)\rightarrow(S',r), $$ where (S) is the complete typed state, (e) is an admissible event, (S') is the resulting state, and (r) is an auditable receipt. The architecture distinguishes Bayesian belief state, hypothesis lifecycle state, authorization and revocation state, provenance and lineage state, and affect/rendering state. Events are admitted only when their declared effect domain and preconditions permit the resulting mutation. The system formalizes a PASS/PARK/OPEN/PROPOSE/PROMOTE/FAIL hypothesis lifecycle while explicitly separating those administrative labels from probabilistic belief. It further defines replay protection, freshness ordering, restore and correction semantics, lineage-aware authorization, revocation supersession, explicit revocation relaxation, and a kernel-wide protection-monotonicity invariant. A canonical selector algebra reduces protection comparison over potentially large request domains to a finite partition problem. The resulting design treats epistemic governance as a state-transition problem rather than a prompting convention. Its principal claim is architectural: safety, provenance, and epistemic discipline become substantially more testable when prohibited cross-plane effects are represented as invariant violations rather than behavioral expectations. ## Introduction Reasoning systems routinely maintain more than one kind of state, even when their implementation represents that state as undifferentiated text or mutable objects. A system evaluating a hypothesis may simultaneously need to represent: 1. how strongly the evidence supports the hypothesis; 2. whether the hypothesis is currently open, parked, promoted, passed, or failed; 3. which evidence and provenance records justify the current state; 4. which operations are authorized; 5. which previously granted operations have been revoked; 6. which historical state may legitimately be restored; 7. how a result should be rendered to a user. These quantities are related, but they are not interchangeable. A new observation may alter posterior probability without changing administrative status. An operator may park a hypothesis without changing its probability. A revocation may prohibit an operation without changing belief in the proposition that motivated it. A stylistic event may make an answer terse or expansive while having no legitimate effect on evidence, hypothesis state, authorization, or provenance. When these effects are not separated, systems admit state transitions that are locally plausible but globally invalid. Consider a restore operation. A naive implementation may deserialize an earlier snapshot and replace the current state. If an authorization present in the old snapshot was subsequently revoked, literal restoration resurrects authority that no longer exists. The restore operation is internally consistent with the historical snapshot but inconsistent with the current protection state. The same structural problem appears elsewhere. A supersession event can accidentally weaken an active prohibition. A correction event can overwrite evidence introduced after the corrected state. Two different event planes can reuse an identifier and defeat replay protection. A rendering policy can mutate substantive state if both are represented in a shared mutable object. These are not primarily language-model errors. They are transition-system errors. This paper therefore adopts a narrower formulation: > An epistemic runtime should define which state components each event is permitted to change, which components it must preserve, and which global invariants must remain true after every admissible transition. The proposed kernel implements this formulation through typed state, typed events, deterministic transitions, explicit receipts, and property-based verification. ## Design Principle: Separate State by Effect Domain Let the full system state be represented as $$ S = (B,H,E,A,R,L,P,V), $$ where: - (B) is Bayesian belief state; - (H) is hypothesis and administrative lifecycle state; - (E) is evidence and provenance state; - (A) is active authorization state; - (R) is revocation and prohibition state; - (L) is lineage and historical state; - (P) is presentation or affect policy state; - (V) is kernel metadata; see the Structure of V section for its internal structure. The exact representation is implementation-dependent. The important constraint is that the components remain semantically distinct. For every event type (T), define an allowed mutation set $$ M(T)\subseteq \{B,H,E,A,R,L,P,V\}. $$ An event is invalid if its execution changes a protected component outside (M(T)). For example, an affect event may satisfy $$ M(\texttt{AFFECT\_EVENT})\subseteq\{P,V_{\text{affect}},V_{\text{shared}}\}. $$ It follows that $$ B'=B,\quad H'=H,\quad E'=E,\quad A'=A,\quad R'=R,\quad L'=L $$ must hold for every successful affect transition, and the epistemic-plane partition of (V) must additionally be unchanged (see the Structure of V section). This converts the informal statement that "tone must not change belief" into a property-based test: a shadow-state comparison before and after each handler's execution detects any handler that writes outside its declared (M(T)). The enforcement gap for effect separation is covered by the property-based test suite in the Property-Based Verification section ("Effect separation"), which treats M(T) declarations as test oracles rather than self-enforcing axioms. ### Structure of V The kernel metadata component (V) is not a monolithic store. It is partitioned into three non-overlapping sub-components: - $V_{\text{shared}}$: common metadata accessible to all event types; includes kernel version counter and event timestamp records. - $V_{\text{epistemic}}$: epistemic-plane metadata; includes the replay log for epistemic events, freshness ordering state, and lineage version markers. **Write-protected from all non-epistemic event handlers.** No affect event, policy event, or presentation event may write to $V_{\text{epistemic}}$. - $V_{\text{affect}}$: affect-plane metadata; includes presentation session counters, tone-selection records, and rendering event replay state. The partitioning rule is: $$ M(\texttt{AFFECT\_EVENT})\cap V_{\text{epistemic}}=\emptyset. $$ This makes the cross-plane isolation claim in the Cross-Plane Event Identity section a write-time constraint rather than a lookup-time fix. An affect event that reaches a handler touching $V_{\text{epistemic}}$ is rejected as a type error, not merely distinguished at replay-lookup time. ## Belief Is Not Status A central distinction in the kernel is between probabilistic belief and administrative disposition. Let $$ B_t(H_i)=P_t(H_i) $$ denote the system's current probability assigned to hypothesis (H_i). Separately, define an administrative state $$ \sigma_t(H_i)\in \{ \text{OPEN}, \text{PROPOSE}, \text{PROMOTE}, \text{PASS}, \text{PARK}, \text{FAIL} \}. $$ The kernel enforces a one-way separation: administrative transitions do not modify belief state, but certain administrative transitions may use belief-state quantities, such as a probability threshold, as one input among several admissibility preconditions. This is a one-way coupling, not full orthogonality. For example, $$ P(H_i)=0.71 $$ does not imply $$ \sigma(H_i)=\text{PROMOTE}. $$ Promotion may additionally require provenance completeness, replication, threshold satisfaction, operator authority, or the absence of unresolved contradicting evidence. Meeting a belief threshold is, at most, a necessary precondition for PROMOTE; it is not sufficient, and the transition itself produces no change to (B). Likewise, $$ \sigma(H_i)=\text{PARK} $$ does not imply that the posterior has been reduced. PARK is an administrative operation specifying that the hypothesis is retained but not currently advanced. The enforced invariant is directional: (sigma) transitions are admitted only when they satisfy their full admissibility predicate, and they are prohibited from writing to (B). The converse, that (B) updates may not depend on (sigma), is not asserted; a belief update may legitimately consult administrative status (e.g., to determine which hypotheses are currently in scope for evidence accumulation). ## Core Transition Form Every kernel operation has the form $$ K(S,e)=(S',r). $$ An event (e) contains at minimum: $$ e = ( id, type, actor, lineage, base\_version, payload ). $$ Depending on event type, additional fields may include authorization references, evidence identifiers, supersession links, selector domains, or correction targets. A receipt (r) records the disposition of the event and sufficient information to audit the transition. Conceptually, $$ r = ( event\_id, status, old\_version, new\_version, effects, reason ). $$ The kernel is deterministic with respect to canonical state: for any two states (S) and (S') that are canonically equivalent, that is, [S] = [S'] under the semantic equivalence relation defined on state components, and for any event (e), $$ K(S,e)=K(S',e). $$ Two states are canonically equivalent when they agree on all semantic content of each component (B, H, E, A, R, L, P, V), regardless of internal representational choices such as the ordering of revocation records or the serialization format of evidence entries. The equivalence relation must be defined per component by any conforming implementation, and the determinism invariant is testable by submitting the same event to two independently serialized but semantically identical states and confirming identical output. However, submitting the same event to a state in which that event has already been committed is not treated as a second execution. Replay protection returns the existing disposition or rejects the duplicate according to the event contract. Same-key, different-payload collisions, where two distinct events share an identifier, are classified as a distinct third case: the kernel must detect the payload divergence and reject the second event as a collision error, not suppress it silently as a replay. ## Transition Admissibility An event is admissible only if all relevant preconditions hold. A generic admissibility predicate may be written $$ \mathcal{A}(S,e)= C_{\text{schema}} \land C_{\text{version}} \land C_{\text{freshness}} \land C_{\text{lineage}} \land C_{\text{authorization}} \land C_{\text{domain\_effect}} \land C_{\text{invariants}}. $$ Schema validity establishes that the event is well typed. Version validity prevents stale writers from silently overwriting newer state. Freshness ordering prevents an older event from becoming authoritative merely because it arrives later. Lineage validation prevents state or authority belonging to one branch from being applied to an incompatible branch. Authorization validation establishes whether the actor possesses the capability required for the transition. Effect-domain validation establishes whether the requested operation lies within the permitted mutation set (M(T)) for the event type. This is distinct from selector-domain validation in the Protection Monotonicity and Canonical Selector Algebra sections, which govern the request domain (D) over which protection rules apply. Throughout this paper, "effect domain" refers to (M(T)); "request domain" refers to (D); "selector domain" refers to the input space of a specific selector rule. Finally, global invariant checks ensure that an otherwise locally valid operation does not produce a forbidden system state. ## Restore Is a Transition, Not Time Travel A restore event does not replace the present with an earlier snapshot. Instead, it proposes that selected historical state components become the basis of a new current state while all non-restorable protections remain governed by present constraints. Let $S_\tau$ be an earlier state and $S_t$ the current state. A naive restore computes $$ S_{t+1}=S_\tau. $$ The typed kernel instead applies a restore operator $$ S_{t+1}= \mathcal{R}(S_t,S_\tau,e). $$ ### Restorable and Non-Restorable Components The restore operator requires a partition of state components into restorable and non-restorable sets. This partition is defined by two axioms. **AXIOM-R1 (Default partition).** Authorization state A and revocation state R are non-restorable by default. Their values in $S_{t+1}$ are always taken from $S_t$, not from $S_\tau$, unless the restore event carries an explicit, separately authorized relaxation contract. Components B, H, E, L, and P are restorable subject to declared restrictions. Kernel metadata V follows the plane partition: $V_{\text{epistemic}}$ is non-restorable, while $V_{\text{shared}}$ and $V_{\text{affect}}$ are restorable only when the event contract permits. **AXIOM-R2 (Typed authority-bearing evidence screen).** The state schema must enumerate every evidence type capable of carrying an authorization or capability. A restore event is inadmissible if any such typed record in the proposed $S_\tau.E$ carries authority absent from or revoked in the current $S_t.A \cup S_t.R$. This closes the structural cross-component resurrection path for the declared schema. Detecting authority implied only by arbitrary free text or semantic entailment is outside the kernel guarantee and requires a separately specified classifier or oracle. The admissibility predicate for a restore event therefore includes, in addition to the standard $C_{\text{authorization}}$ check, an authority-bearing-type scan over $S_\tau.E$ against the current protection state. For protected dimensions, restoration must preserve the stronger applicable protection. If $\preceq$ denotes the protection ordering, then for every request-domain element (x), $$ \text{Protection}_{t+1}(x) \succeq \text{Protection}_t(x) $$ unless the event is an explicitly authorized protection-relaxation operation (the Relaxation Requires Its Own Event Type section). Consequently, restoring a snapshot containing an authorization that was subsequently revoked does not reactivate that authorization, because (A) and (R) are non-restorable by AXIOM-R1, and any evidence records that would re-derive the authorization are blocked by AXIOM-R2. The historical fact that the authorization once existed remains part of the ledger. Its former operational force does not. ## Revocation and Supersession Revocation is modeled as first-class state rather than deletion of an authorization record. A revocation identifies: - the authority or capability affected; - its selector domain; - its lineage scope; - its precedence; - its effective state; - any supersession relationship. If revocation (R_2) supersedes revocation (R_1), ordinary supersession must not produce weaker protection on any portion of the domain previously protected by (R_1), unless the reduction is performed through a separately typed relaxation operation. For ordinary supersession, $$ \text{Protection}(R_2,x) \succeq \text{Protection}(R_1,x) $$ for every (x) in the effective selector domain of the predecessor, subject to any stronger active prohibitions imposed elsewhere. This rule prevents a superficially valid successor object from acting as an implicit revocation rollback. ## Relaxation Requires Its Own Event Type Protection decreases are semantically different from ordinary policy replacement. The kernel therefore introduces a distinct transition: $$ \texttt{RELAX\_REVOCATION}. $$ The operation is admissible only under an authorization contract specifically granting relaxation authority. A reduction cannot be encoded as: - a normal supersession; - a restore; - a correction event (an event targeting a specific prior state record for amendment; see the Correction Events section); - a policy update; - a lineage change; - a replay; - or a replacement authorization. This gives the kernel a simple meta-rule: > If protection becomes weaker, the ledger must contain an authorized event whose declared semantic purpose is protection relaxation. A decrease without such an event is either rejected before commit or classified as an invariant failure if produced by kernel implementation error. ### Correction Events A correction event targets a specific prior state record and proposes an amendment to it. Its permitted mutation set is: $$ M(\texttt{CORRECTION})\subseteq\{H,E,L,V_{\text{shared}}\}. $$ Correction events are prohibited from writing to authorization state (A), revocation state (R), or epistemic-plane kernel metadata $V_{\text{epistemic}}$. This restriction, combined with the relaxation-exclusivity rule, means a correction cannot achieve a protection decrease: the only components it may amend are those that do not govern protection levels, and any authority-encoding content in an amended evidence record is subject to the AXIOM-R2 screen on any subsequent restore that would include it. The correction event admissibility predicate additionally requires that the proposed amendment does not overwrite evidence introduced after the corrected state record; it may only target the record it declares, leaving all later evidence intact. ## Protection Monotonicity Define a request domain (D) and a canonical protection function $$ \Pi_S:D\rightarrow\mathcal{P}, $$ where $\mathcal{P}$ is a totally ordered set of protection levels. The totality of $\mathcal{P}$ is an explicit axiom of the kernel: for any two protection levels $p_1,p_2 \in \mathcal{P}$, either $p_1 \preceq p_2$ or $p_2 \preceq p_1$. Protection levels that are merely partially ordered would leave the monotonicity comparison undefined for incomparable pairs; the kernel does not admit protection schemas that produce incomparable levels on the same request-domain element. For all ordinary transitions, $$ \forall x\in D: \Pi_{S'}(x)\succeq\Pi_S(x). $$ Only transitions explicitly authorized to decrease protection may violate this monotonic direction. This invariant applies across event types rather than being embedded independently in each implementation. A new event type is not safe merely because its author omitted code referring to revocations. The new transition must still satisfy the global protection invariant. ## Canonical Selector Algebra Directly testing protection over every possible request is generally impossible. The kernel therefore represents protected domains using canonical selectors. Selectors may include: - exact values; - finite sets; - wildcards; - bounded integer intervals; - unbounded intervals; - conjunctions of independent dimensions. The finite-partition reduction described below applies under the following axiom, which must be satisfied by any conforming protection-rule schema: **AXIOM-S (Selector-defined rules).** Every protection rule is defined over the selector algebra above. Protection rules that depend on dynamic predicates not reducible to the selector forms, such as rules conditioned on wall-clock time or external state, require separate handling outside the canonical partition reduction and must be identified as non-selector rules in the authorization schema. The finite-partition guarantee applies only to selector-defined rules. Normalization transforms semantically equivalent selectors into a canonical representation. For interval selectors, endpoints induce a finite partition of the numeric domain. Given all relevant endpoints, $$ a_1<a_2<\cdots<a_n, $$ the domain can be divided into cells consisting of endpoint singletons and open intervals between consecutive endpoints, together with required unbounded exterior cells. Each cell receives a canonical representative. Because selector membership is constant within every such cell, the protection function is also constant within each cell provided all active protection rules are selector-defined (AXIOM-S). Thus the universal comparison $$ \forall x\in D: \Pi_{S'}(x)\succeq\Pi_S(x) $$ reduces to a finite comparison over representatives $$ \forall c\in \text{Cells}(D): \Pi_{S'}(\text{rep}(c)) \succeq \Pi_S(\text{rep}(c)). $$ The finite-partition construction therefore converts a potentially unbounded protection-comparison problem into an exact finite procedure, subject to AXIOM-S. ## Affect and Rendering Isolation Systems commonly adapt tone, verbosity, formatting, or other presentation properties in response to user interaction. These operations are legitimate, but they occupy a different effect plane from epistemic state. Define $$ e_a=\texttt{AFFECT\_EVENT}. $$ Its permitted mutation set is $$ M(\texttt{AFFECT\_EVENT})\subseteq\{P,V_{\text{affect}},V_{\text{shared}}\}. $$ As established in the Structure of V section, $V_{\text{epistemic}}$ is outside $M(\texttt{AFFECT\_EVENT})$. This is a write-time constraint: an affect handler that attempts to write to $V_{\text{epistemic}}$ is rejected before commit. For every such event, $$ \text{Projection}_{\text{epistemic}}(S') = \text{Projection}_{\text{epistemic}}(S). $$ The protected projection includes at least: - posterior probabilities; - hypothesis membership; - lifecycle status; - evidence records; - authorization; - revocation; - lineage; - promotion thresholds; - epistemic-plane replay state ($V_{\text{epistemic}}$). The architecture therefore permits adaptive rendering while forbidding affective feedback from functioning as an undeclared evidence channel or from interfering with epistemic replay protection. ## Cross-Plane Event Identity Replay protection creates an additional subtlety. If event identifiers are assumed globally unique but implementations allocate them independently within different event planes, an affect event and epistemic event can collide. The kernel must therefore either: 1. guarantee globally unique event identifiers; or 2. define event identity as a compound key such as $$ (\text{type},\text{event\_id}). $$ Tests must explicitly cover collisions between event planes. The compound-key mechanism is a lookup-time fix: it ensures that the kernel correctly identifies which events have been replayed within their own plane. The write-time complement, restricting $M(\texttt{AFFECT\_EVENT})$ from touching $V_{\text{epistemic}}$, closes the path by which an affect event could mark an epistemic event as already-committed before the epistemic event is processed. Both mechanisms are required; neither is sufficient alone. A collision must never cause: - an epistemic event to be incorrectly classified as replayed because an affect event used the same local identifier; - an affect event to inherit authorization from an epistemic event; - restore or replay behavior to cross event planes. ## Property-Based Verification The transition system is particularly suited to property-based testing because its important guarantees are universal rather than example-specific. Representative properties include: ### Probability conservation Where the belief representation requires normalization, $$ \sum_i P(H_i)+P(H_\perp)=1. $$ ### Effect separation For every affect event, $$ B'=B,\ H'=H,\ E'=E,\ A'=A,\ R'=R,\ L'=L,\ V_{\text{epistemic}}'=V_{\text{epistemic}}. $$ ### Replay idempotence Replaying a committed event must not produce a second substantive mutation. Same-key, different-payload events must be rejected as collision errors, not silently suppressed. ### Freshness ordering A stale event cannot overwrite state produced by a later admissible event. ### Restore non-resurrection If authority was revoked after snapshot $S_\tau$, restoring $S_\tau$ cannot reactivate it. This property is testable because the restorable partition is defined by AXIOM-R1 and the typed evidence screen is defined by AXIOM-R2. Tests must cover both direct authority-state restoration and authority-bearing evidence records. ### Supersession non-bypass Ordinary supersession cannot weaken the effective protection of its predecessor. ### Relaxation exclusivity A protection decrease cannot be successfully encoded using any transition other than the explicitly authorized relaxation transition. This property is testable for correction events because M(CORRECTION) is specified in the Correction Events section and excludes A, R, and V_epistemic. ### Cross-plane collision isolation Equal local identifiers in different event planes cannot suppress, authorize, replay, or mutate one another. This holds by the compound-key mechanism at lookup time and by the V-partitioning constraint at write time. ### Protection monotonicity For every non-relaxing transition and every cell in the canonical selector partition, $$ \Pi_{S'}(\text{rep}(c)) \succeq \Pi_S(\text{rep}(c)). $$ These properties test the architecture at the level where many state-governance failures actually occur: interaction between individually reasonable operations. ## Failure Semantics The kernel distinguishes expected rejection from invariant failure. A rejected event is one whose requested transition is inadmissible according to its contract. Examples include stale versions, insufficient authorization, invalid lineage, and attempts to use ordinary supersession to reduce protection. These are normal kernel outcomes. An invariant failure is different. It indicates that the kernel admitted an operation but the produced state violates a condition that every valid implementation is required to preserve. This distinction allows tests and production telemetry to separate hostile or malformed requests from defects in the transition engine itself. ## Discussion The architecture does not attempt to solve epistemology by type declaration. Typing cannot determine whether evidence is true, whether a prior is well chosen, or whether a hypothesis set adequately represents reality. Its contribution is narrower. Once a system has declared what it currently believes, what evidence it possesses, what actions are authorized, and what protections apply, the transition kernel prevents unrelated operations from silently rewriting those facts. This creates a stronger boundary between reasoning and control. Bayesian updates modify belief because evidence warrants a belief update. Administrative transitions modify workflow state because explicit criteria are satisfied. Authorization events modify capability because an authorized principal granted capability. Revocations modify capability because authority was withdrawn. Relaxation modifies protection because an independently authorized operation explicitly permitted protection to decrease. Affect events modify presentation because presentation adaptation was requested or selected. None of these operations gains authority over the others merely because all are processed by the same runtime. ## Conclusion Auditable reasoning requires more than recording final answers. It requires controlling how the state producing those answers may change. The typed transition kernel presented here treats epistemic runtime behavior as a deterministic, contract-governed state machine. Its central design rule is effect separation: events receive explicit mutation authority, and everything outside that authority is invariant. Combined with replay protection, lineage validation, restore semantics with an explicit restorable-partition axiom, correction event typing, explicit revocation relaxation, canonical selector partitions under a totality axiom, V-component plane partitioning, and kernel-wide protection monotonicity, this produces a framework in which many subtle governance failures become mechanically testable. The broader implication is straightforward: when belief, status, authority, protection, provenance, and presentation have different semantics, they should also have different transition types. That separation turns epistemic discipline from an instruction into a testable conformance property. ## Relationship to the reference implementation T-002 is an implementation-independent specification. A separately documented DataCurrent reference core, staged for the research workspace public identity, implements overlapping but not identical invariants. Its tests are evidence only for the rows marked implemented or partial below; they do not validate the unimplemented parts of this specification. | T-002 construct | Reference-core analogue | Status | |---|---|---| | typed effect-domain mutation boundaries | immutable plane-owned state and cross-plane identity tests | implemented analogue; state schemas differ | | deterministic transition receipts and exact replay | idempotent receipt return for committed event identity | implemented analogue | | authorization and stale-version rejection | single-use, version-bound authorization lifecycle | partial analogue | | PASS/PARK/OPEN/PROPOSE/PROMOTE/FAIL lifecycle | administrative-plane state machine | partial analogue | | restore partition AXIOM-R1 and typed evidence screen AXIOM-R2 | no complete matching restore contract | not implemented | | canonical selector algebra for protection comparison | no matching selector-partition implementation | not implemented | | rejected-event versus invariant-failure taxonomy | closed transition outcomes and property-test failures | partial analogue | The current reference-core record reports 113 standard-library tests and a 12,300-case isolation matrix. Those counts support the implemented analogue only. A conforming T-002 implementation would additionally need complete event coverage, mediation of every handler by the mutation checker, and implementation evidence for the restore and selector obligations. ## Related work Session types and effect systems provide established ways to make interaction and computational effects explicit (Dezani-Ciancaglini et al. 2006; Lucassen and Gifford 1988; Plotkin and Pretnar 2009). Event sourcing and CQRS separate durable event history from derived views (Fowler 2005; Young 2010), while idempotent processing addresses safe repetition under retries (Helland 2012). W3C PROV supplies a standard vocabulary for entities, activities, agents, and derivation (Missier, Belhajjame, and Cheney 2013). T-002 does not claim those component disciplines as original. Its narrower contribution is their composition with an explicit restore partition, typed correction events, protection-monotonic selector algebra, and a failure-semantics distinction in one conformance specification. --- ## Runtimes and their contribution Authorship and all research judgments are the author's alone. Machine runtimes assisted with editorial restructuring, notation repair, implementation-state reconciliation, and adversarial review. The related reference core predates this finalization pass and remains separate from the specification. No runtime is credited with proving conformance, executing the restore contract, or establishing novelty. ## References Dezani-Ciancaglini, M., Mostrous, D., Yoshida, N., and Drossopoulou, S. (2006). Session Types for Object-Oriented Languages. *ECOOP 2006*, LNCS 4067, 328–352. Plotkin, G., and Pretnar, M. (2009). Handlers of algebraic effects. *ESOP 2009*. Lucassen, J. M., and Gifford, D. K. (1988). Polymorphic effect systems. *POPL 1988*. Fowler, M. (2005). Event Sourcing. martinfowler.com. Young, G. (2010). *CQRS Documents*. https://cqrs.files.wordpress.com/2010/11/cqrs_documents.pdf Helland, P. (2012). Idempotence is not a medical condition. *ACM Queue*. Missier, P., Belhajjame, K., and Cheney, J. (2013). The W3C PROV family of specifications for modelling provenance metadata. *EDBT 2013*.