Skip to main content

All modes and statuses

“Mode” is often used conversationally for several different things. Engine keeps them separate: goal behavior, cognitive decisions, invocation duration, execution status, control layer, risk, privacy, policy, evidence, learning, routines, and a plugin kill switch are distinct axes.

Status: action lifecycle values remain v2 contracts; generic autonomy uses engine.plugin/v3. Values below are current unless marked legacy or roadmap.

1. Goal mode: GoalModeV2

ValueMeaningEnd behavior
achieveReach the desired effect onceObserved true -> completed
maintainKeep the desired effect true over timeObserved true -> monitoring; drift -> active again

Both exist now. maintain is not a realtime mode: detection latency depends on events, polling, and provider freshness.

2. Persistent goal status

In the current implementation, this is a set of stored strings, not a separate public SDK enum.

StatusMeaning
activeThe goal needs another pass
completedAn ACHIEVE goal has independently been established as true
monitoringA MAINTAIN goal is true and remains under observation
waitingWaiting for change, approval, a task poll, or another resume condition
uncertainRequired evidence or the oracle is UNKNOWN; do not treat it as false or success
degradedAn isolated goal/provider/brain route failed or exhausted its budget/circuit
abandonedA stop condition or explicit abandonment ended the goal

A COMPLETE brain decision does not directly set completed; the Heart does so only after condition/oracle evaluation.

3. Cognitive decision: DecisionKindV2

ValueIntentAuthority/effect
query_worldMore or different observation is neededNo mutation; the current Heart waits/re-observes
consult_specialistInvoke a named specialistSpecialist advice remains a proposal
propose_effectReturn a semantic ProposedActionV1Still no execution rights
waitDo nothing now and wait for relevant changeDurable waiting
completeThe brain thinks the work is completeAdvisory only; oracle/conditions decide
abandonAdvise leaving the goalHeart may record status abandoned

The v1 terms CONSULT_BRAIN and USE_TOOL are legacy. V2 deliberately has no physical USE_TOOL fast path: proposals always pass through controller, policy, authorization, executor, and oracle.

4. Invocation mode: InvocationModeV2

ValueSemanticsImplementation status
immediateDispatch returns a terminal receipt or a result that can be reconciled immediatelyImplemented and Fake/simulation-tested; used by Homey
taskDispatch returns an external handle; Heart polls, cancels at deadline, and reconstructs after restartImplemented and Fake/simulation-tested in the reference warehouse
streamLong-running stream with cursor/reconnect semanticsContract/store scaffolding; no end-to-end reference proof yet

Invocation mode describes the duration of a capability, not goal duration, risk, or autonomy.

5. Execution status: ExecutionStateV2

StatusTerminal?Meaning
requestedNoThe request has been created/recorded
acceptedNoAn external executor accepted it; a handle is required for task recovery
runningNoExecution is in progress; a handle is required
succeededYesExecutor reports successful execution; the effect still requires independent verification
partialYesOnly part was executed or achieved
failedYesExecutor reports failure
cancelledYesTask was cancelled
unknownYesThe lifecycle cannot reliably determine execution/acknowledgement

succeeded therefore means “the execution receipt succeeded,” not automatically “the goal effect was achieved.” The latter appears in EffectDeltaV1 and fresh goal evaluation.

6. Control layer: ControlLayer

ValueUse
queryObserve/query; an opaque capability must be query-only
semanticHigh-level domain effect translated by a controller into target parameters
actuatorCapability is closer to an actuator but remains outside hard-realtime control

A control layer grants no permission and does not determine the risk class by itself.

7. Risk class: RiskClass

ValueInterpretation
read_onlyNo intended world mutation
lowBounded low-risk action within enrolled limits
mediumHigher impact; policy/mandate must carry it explicitly
highCurrent policy requires approval unless the mandate explicitly allows it

This is a software taxonomy, not certification. A misclassified capability does not become physically safe because its manifest says low.

8. Privacy class: PrivacyClass

ValueMeaning
publicPublic information
localLocal operational data
sensitiveExplicit privacy permission required
cameraCamera/image data; explicit permission required

A remote model does not automatically receive all observations. Context projection and plugin needs remain separate boundaries.

9. Policy outcome: PolicyOutcome

ValueConsequence
ALLOWPolicy may create an exactly bound authorization
DENYFinal refusal for this request/state binding
REQUIRE_APPROVALAn external authorized approval is required; a brain cannot provide it
DEFERNot yet decidable/active, for example because a mandate is not yet valid

Only ALLOW reaches dispatch.

10. Evidence grade: EvidenceGrade

ValueMeaning
OBSERVEDEmitted directly by an identified sensor/tool/executor within its coverage
DERIVEDDeterministically derived from named observations
INFERREDModel or statistical conclusion
UNKNOWNInsufficient evidence
CONFLICTINGSources disagree
STALEEvidence is too old for this decision

Confidence and provenance remain separate from the grade. High confidence does not turn INFERRED into OBSERVED.

11. Preference promotion: PreferencePromotionMode

ValueMeaning
explicit_onlyOnly an explicit owner correction may change the preference
shadow_low_riskInferred evidence may enter a candidate/shadow route after fixed gates

This changes preference state, not model weights or authority scope.

12. Preference learning status: LearningStatus

StatusMeaning
candidateA candidate has been identified
shadowEvaluation period without direct authority expansion
promotedA new versioned GoalSpec preference is active
rejectedGates or outcomes did not pass
rolled_backThe exact old value was restored in a new version

In practice, the current generic route starts at shadow once the evidence gates pass; candidate remains a public contract status.

13. Routine candidate status: RoutineCandidateStatus

StatusMeaning
candidatePattern candidate
shadowCounterfactual test; dispatch count must remain zero
ready_for_approvalReal shadow opportunities and the agreement gate passed; owner approval is required
promotedRoutine, goal, and mandate were activated atomically
rejectedPattern/conflict/shadow failed
rolled_backPromotion was exactly reversed

14. Active routine status: RoutineStatus

StatusMeaning
shadowRoutine exists inertly during evaluation
ready_for_approvalReady for explicit activation
activeGuard and authority permit evaluation/goal execution
dormantGuard false, cooldown active, recurrence already handled, or override active
guard_uncertainGuard contains UNKNOWN, STALE, or CONFLICTING; fail-closed
conflictedAn opposing routine blocks or wins on priority
suspendedAuthority, rate, manifest, or another hard gate fails
rejectedRoutine was rejected
rolled_backRoutine, linked goal, and mandate were rolled back

15. Global autonomy mode: AutonomyModeV1

ModeMeaning
observeRun enrolled strategies as durable shadow; dispatch count is exactly zero
supervisedPersist proposals for owner approval; approval reobserves and reevaluates before dispatch
delegatedPermit enabled exact enrollments to instantiate templates and execute at most low-risk work
pausedContinue observation, learning, and in-flight recovery; start no strategy, brain, or dispatch work

Mode is global and revisioned by an epoch. It grants no target authority by itself. An enabled AutonomyEnrollmentV2 separately freezes exact strategy, templates, targets, entities, capabilities, context/privacy, cognition route, limits, budget, expiry, privileges, and fingerprints.

yolo is only a CLI alias: enable selects delegated, disable selects paused, and status shows generic autonomy status. It creates no enrollment. Legacy AutonomyProfileV1 rows remain audit data and grant no v3 authority. See Generic plugin autonomy.

16. Autonomy decision and cognition route

An AutonomyDecisionV1 is one of NOOP, DEFER, PROPOSE_EFFECT, PROPOSE_GOAL_CANDIDATE, REQUEST_EXECUTIVE, or REQUEST_SPECIALIST. deterministic makes zero brain calls; executive and specialist admit only their declared destination; hybrid runs the strategy first and admits at most one requested cognition call. None of these decisions is authority.

17. Homey transport mode

The Homey plugin also has an operational configuration value:

ModeBehavior
observeRead-only; recommended starting point
actThe mutation path may open, but only together with ENGINE_HOMEY_ARMED=1, allowlists, fresh state, mandate, policy, and request-bound authorization

act is therefore only a transport kill switch. It bypasses no Engine policy. Do not confuse observe/act with ACHIEVE/MAINTAIN or IMMEDIATE/TASK/STREAM.

18. CLI preview versus activation

engine setup is preview-only by default. --activate writes the goal and mandate. This is a mutation choice in the CLI, not a persistent runtime mode.

Legacy v1

V1 contains corresponding goal, invocation, and receipt values, plus Affordance (query, action, event). New product features use v2. The v2 registry projects v1 plugins as observe-only, so a v1 action affordance grants no v2 mutation rights.

See Architecture for the sequence in which these axes come together and How Engine learns for the learning gates behind the statuses.