Skip to main content

How Engine learns — and does not learn

Engine does not use “learning” as an umbrella term for every state change. The current implementation adapts durable preferences and routines through fixed evidence gates. It does not train model weights and does not turn observation or repeated behavior into authorization.

Status: explicit corrections, plugin-neutral behavior import, preference candidates, routine shadowing, GoalSpec versioning, and rollback are Implemented and Fake/simulation-tested. Online weight training and automatically created mini-brains are Roadmap.

From instruction to intent to bounded discovery

These are three different sources of information:

  1. Instruction: an owner says what they want, such as “keep the reserve between these declared bounds.” Engine can compile that into a proposed durable intent, but still validates its entities, capabilities, constraints, and mandate.
  2. Intent: an accepted GoalSpecV2 records the desired state as ACHIEVE or MAINTAIN. It is durable operational state with an explicit authority boundary, not a prompt remembered by a model.
  3. Discovery: later observations may suggest that a declared preference or routine could be useful. Discovery creates an inert candidate with provenance. It is not a new instruction and is never permission.

The candidate may proceed only through fixed evidence, conflict, shadow, and promotion gates. Even a successful promotion can change only a namespaced preference or routine that was already declared and exactly scoped. Discovery cannot add targets, entities, capability families, risk, privacy access, mandate duration, parameter ceilings, or authorization.

owner instruction
-> validated durable intent
-> observed experience
-> bounded candidate
-> evidence + shadow + conflict gates
-> approval or exact pre-delegated promotion
-> normal policy/authorization/oracle lifecycle

At every arrow, a brain may help describe or cluster evidence, but deterministic contracts decide identity, scope, thresholds, promotion, and rollback.

Five things that remain separate

ConceptMeaningExample
StateCurrent target facts, goals, and beliefs at a logical observation boundaryLight is off; warehouse bin contains two crates
ExperienceHistorical actions, receipts, effects, corrections, and outcomesThis route ended partial; this setting changed externally five times
Preferences/routinesVersioned operational configuration derived through explicit or gated evidenceDesired reserve band; daily “off” routine
WeightsTrained model parameters in a versioned artifactA future vision or motion model
Context projectionTemporary, bounded input for a brain callOnly entities and observations around this goal

A state change requires no training. A preference promotion is not a new neural model. A new model artifact is not current world state.

How experience is already used

Engine has several distinct mechanisms that are sometimes loosely called “learning.”

1. Experience changes later routing

The original 0.1 fixtures record observed effects and specialist outcomes. A negative specialist outcome can change the next specialist selection after restart. The grid world uses an observed obstacle to replan.

Fake/simulation-tested. This is a transparent heuristic/state reducer, not weight training.

2. Observed successful plans can be reused

V2 can cache an exactly typed plan when an effect oracle has established achieved: true. Reuse requires the same goal version, situation key, capability manifest fingerprint, and mandate. A known situation can therefore be handled without another model call.

Implemented. This is deterministic memoization of observed success, not generalization to arbitrary new situations.

3. Explicit owner corrections

An explicit correction becomes OBSERVED preference evidence, is validated against the namespaced PreferenceSpecV1, and is written directly into a new GoalSpecV2 version. The old version and value remain auditable.

Implemented. A correction may only change an already declared preference; it adds no target, capability, or mandate.

4. Inferred preference adaptation

A plugin may publish cursor-based BehaviorBatchV1 signals through an optional ExperienceProvider. The Heart:

  1. validates provider and plugin identity;
  2. stores signals exactly once with a durable cursor;
  3. checks the declared preference and value schema;
  4. links only when plugin, target, entity, capability, selector, and preference match an active goal;
  5. preserves unknown signals as unlinked evidence instead of discarding them or granting authority.

An unexplained external change remains INFERRED: the system does not know whether a person, Flow, another integration, or chance caused it.

Preference gates

A shadow_low_risk preference candidate requires at least:

  • five equivalent examples;
  • spread across at least three UTC dates;
  • at least 80% value consistency;
  • at least 80% context consistency;
  • no explicit conflict;
  • an active mandate with learning.low-risk;
  • exact plugin, target, entity, and capability scope;
  • a shadow period of at least seven days.

On promotion, Engine creates a new GoalSpecV2 version, preserves evidence and outcomes, invalidates relevant plan reuse, and keeps an exact rollback patch.

Important evidence boundary

The current preference-only code uses an evidence-consistency outcome after the fixed shadow period. That is enough to test the versioning and rollback route, but not to claim that a physical preference causes better effects. Where a preference affects execution or a physical effect, independently observed outcome evidence remains a required later product gate.

This nuance prevents “the user often did this” from being renamed “Engine knows this works better.”

Routine learning

Routines have a stronger counterfactual shadow route. Plugins declare static RoutineTemplateSpecV1 templates and a deterministic RoutineCompiler. Core interprets only generic guard, recurrence, conflict, and lifecycle contracts.

The pipeline is:

plugin behavior signals
-> fixed evidence gates (5 examples, 3 days, 80%)
-> compiled inert RoutineSpec + GoalSpec
-> at least 7 days of shadow, without dispatch
-> only real trigger opportunities count
-> at least 3 closed opportunities
-> at least 80% later observed agreement
-> ready_for_approval OR promotion inside exact delegated privilege
-> active routine + goal + mandate
-> observe/act/oracle through the normal v2 lifecycle

A missing opportunity does not count as agreement. An uncertain guard fails closed. Conflicts, cooldowns, recurrence, and rate limits are deterministic and durable.

Normal promotion and delegated privilege

Without explicit promotion privilege, a successful routine can only become ready_for_approval. The owner activates it explicitly.

engine.plugin/v3 stores promote_proven_routines separately from privileges to control existing goals or instantiate goal templates. Any generic automatic promotion must still require DELEGATED, an enabled exact enrollment, the same real shadow gates, plugin-owned low-risk scope, and a fresh lifecycle binding. The current legacy AutonomyProfileV1 records are retained for audit and compatibility; engine yolo now changes only the global mode and never creates one. Mode alone therefore cannot promote a routine.

An external opposing change temporarily receives actuator ownership. An explicit conflict, or three opposing changes within seven days, rolls back the routine, linked goal, and mandate.

This route is Fake/simulation-tested, not physically certified.

What Engine does not learn

The current Engine:

  • does not train a foundation model;
  • does not fine-tune the general brain online;
  • does not change weights on an edge device;
  • does not create new plugin families automatically;
  • does not infer permission from repetition;
  • does not widen targets, entities, risk, privacy, or mandate duration;
  • does not call a model prediction an observation;
  • does not use embeddings or free-form descriptions as canonical identities;
  • does not autonomously write code or skills into the production runtime.

Can Engine “learn” a new device?

Only within an already declared contract. A provider may discover new instances of an enrolled capability family. The plugin then supplies the entity, observations, and exact family binding. A completely unknown family becomes opaque, QUERY, and read-only.

Mutation of a genuinely new device type requires:

  • a versioned plugin manifest;
  • schemas, units, risk/privacy, and limits;
  • controller, executor, and effect oracle;
  • a fake/simulator and conformance evidence;
  • explicit enrollment/mandate;
  • where relevant, a target controller and independent safety plane.

That is plugin development, not silent online learning.

Future mini-brains

A mini-brain is an optional specialist, for example for perception, anomaly detection, route selection, or a control residual. It receives no authority of its own and must never replace a hard-realtime controller without target-specific evidence.

Before such a learned component enters a correctness- or safety-relevant path, the project constitution requires at least:

  • a measured limitation of a simpler deterministic/classical baseline;
  • exact input, output, and unit contracts;
  • supported targets/versions and safe operating envelope;
  • uncertainty/defer behavior and fallback;
  • training-data provenance and a reproducible manifest;
  • held-out evaluation and preregistered thresholds;
  • latency, quantization, and hardware measurements;
  • artifact identity, rollout, and rollback.

Training is off-device by default; online updates are a separate, later hypothesis. A mini-brain must earn its complexity and can be removed again if the baseline proves equal or better.

That rule has now produced one concrete negative result. EXP-2026-003 tested a small local English/Dutch warehouse-intent Cell. English improved, but Dutch tied the classical baseline, so the preregistered gate rejected deployment. No Cell is currently registered. See Engine Cell for the metrics and permanent authority boundary.

Summary

QuestionAnswer today
Does Engine learn from explicit corrections?Yes, as a versioned GoalSpec preference
Does Engine learn patterns/routines?Yes, through fixed evidence and shadow gates
Does Engine use prior observed success?Yes, for bounded plan reuse/routing
Does Engine learn permissions?No
Does Engine train model weights?No
Does Engine autonomously create mini-brains?No, roadmap after evidence of need
Is fake learning physical effect evidence?No

See All modes for learning and routine statuses and The end goal for the role of mini-brains in the longer-term direction.