.me Kernel Phases (0β8) β β
This document defines the behavioral contract of the .me kernel, validated by tests/phases.test.js.
Note: This page documents the semantic/runtime phases
0β8. The separate performance delivery phases (storage, bounded residency, exact search, IVF) are summarized in Kernel Benchmarks.
Each phase represents a foundational capability that builds upon the previous ones, culminating in a fully expressive, secure, and observable personal semantic engine.
Phase 0 | Identity + Secret Scope β β
Core Idea: Establish identity and introduce structural privacy through stealth roots.
me["@"]("jabellae");
me.finance["_"]("my-secret-key-2026");
me.finance.fuel_price(24.5);Expected:
me("finance")->undefinedme("finance.fuel_price")->24.5
This phase proves that secrecy is structural, not global.
Phase 1 | Structural Selectors ([]) β β
Core Idea: The kernel treats numeric and string keys as first-class structural elements.
me.fleet.trucks[1].km(1000);
me.fleet.trucks[1].fuel(200);
me.fleet.trucks[2].fuel(350);
me.fleet.trucks[2].km(1200);
me.fleet.trucks[3].km(800);
me.fleet.trucks[3].fuel(150);Expected:
- me("fleet.trucks[1].km") β 1000
- me("fleet.trucks[2].fuel") β 350
This establishes that .me is a true semantic tree, not just a plain object.
Phase 2 | Broadcast Iterator [i] + Derivation = β β
Core Idea: One rule can be applied across an entire collection declaratively.
me.fleet["trucks[i]"]["="]("efficiency", "km / fuel");Expected:
- me("fleet.trucks[1].efficiency") β 5
- me("fleet.trucks[2].efficiency") β
1200 / 350 - me("fleet.trucks[3].efficiency") β
800 / 150
This is the birth of mass reactive logic without loops or manual subscriptions.
Phase 3 | Logical Filters & Filtered Broadcast β β
Core Idea: You can query and mutate subsets of the tree using declarative predicates.
me("fleet.trucks[efficiency 1100]");
me.fleet["trucks[efficiency x.efficiency * 1.2]");Returns a projected shape while leaving original data untouched.
Phase 6 | Cross-Scope Contract Integrity β β
Core Idea: Public and secret data can participate in the same derivations securely.
me.fleet["trucks[i]"]["="]("total_cost", "fuel * finance.fuel_price");Expected:
me("fleet.trucks[2].total_cost")β350 * 24.5
The kernel correctly resolves mixed public/secret dependencies while preserving stealth.
Phase 7A | Temporal Rehydration (Memory Replay) β β
Core Idea: The entire history is portable and deterministic.
import ME from "this.me";
const memories = me.inspect().memories;
const me2 = new ME();
me2.replayMemories(memories);me2 must behave identically to the original, including secret stealth.
Phase 7B | Atomic Snapshot Rehydration β β
Core Idea: Full state portability including cryptographic planes.
import ME from "this.me";
const snapshot = me.exportSnapshot();
const me3 = new ME();
me3.hydrate(snapshot);Preserves public state, encrypted branches, secrets, and noises exactly.
Phase 8 | Incremental Intelligence + Observability β β
Core Idea: The kernel must be efficient and fully explainable.
- Derivations register precise dependencies (ref β targets).
- Only affected nodes recompute on change (inverted dependency index).
me.explain(path)provides complete traceability, including masked secret origins.- Invalid executable tokens remain declarative strings instead of arbitrary code execution.
Example:
me.fleet["trucks[i]"]["="]("total_cost", "fuel * finance.fuel_price");
me.finance.fuel_price(30);
const trace = me.explain("fleet.trucks[2].total_cost");The trace must show inputs, origins (public / stealth), masking, and dependency graph.
This progression is the real contract of .me:
From simple identity and privacy β to structural collections β to declarative logic at scale β to secure cross-scope computation β to full temporal and cryptographic portability β finally reaching observable, incremental intelligence.