Skip to main content
Use this when actions affect later states and later outcomes should revise earlier choices. Preserve the legal action set and the ordered episode record. Sequential Discovery lets Adapt-1 form state-dependent action values from ordered interaction. Earlier choices can receive credit from later or terminal outcomes, so later selections can use what happened across the episode.
  1. current state -> selected action -> next state
  2. later reward or terminal outcome
  3. earlier action value is revised
  4. a later selection can change
The application declares the legal actions and the meaning of observations and rewards, including episode and reset boundaries. Adapt-1 uses admitted interaction to learn action values and assign delayed credit.
Choose the acquisition schedule separately. Sequential Discovery supports learning across episodes from empty state, separate acquisition before frozen use, and continued learning from an acquired checkpoint. State carried from earlier episodes inside one zero-start run remains within-run state. The wider Domain can use discovered, authored, or mixed structure.

When to use it

Use Sequential Discovery when all of these conditions hold: Use direct policy feedback for independent choices with an immediate attributable outcome. When actions do not alter the future state distribution, query learning.transition.futures once per step and evaluate permitted choices over the joint branches; see Probabilistic futures.

How the Discovery paths fit together

A Domain can use one path or combine compatible paths inside the same public task boundary. The paths can share observations while keeping their targets and diagnostics distinct. A transition result predicts what follows. Sequential policy state changes which action receives support because of later reward.

Learning contract

Each eligible sequential transition supplies this logical tuple:
The normal loop uses a query followed by feedback:
  1. query current state
  2. Core selects one permitted policy
  3. application executes that exact policy
  4. application observes next state and reward
  5. feedback binds the consequence to the decision
  6. later queries use retained sequential state
A decision_id gives the strongest binding to the earlier selection.

Starting declaration excerpt

Declare policies as public action identities. Adapt-1 learns action quality and trajectory value from interaction.
Use strictly lowercase policy identifiers and keep "when": [] empty for always-eligible actions (uppercase IDs are silently lowercased, and non-empty when tokens cause 100% abstention). Because exploration_mode defaults to "exploit" and allow_exploration defaults to false, keep "policy": {"exploration_mode": "auto"} here and pass "relation": "controls" with "allow_exploration": true on online queries. An empty learning.context.feature_paths list admits eligible structured leaves. Review that surface for identifiers, post-outcome values, and target leakage. Use explicit paths when the approved state representation must stay fixed. With "sequential": {"enabled": true}, Adapt-1 automatically uses the default feedback paths (metadata.episode_id, metadata.step, values.next_state, values.step_reward, and values.terminal).

Feedback shape

Return the observed successor state and reward after executing the selected policy. Declaring learning.reward.components for values.step_reward above ensures contextual and sequential learning read the same numeric reward (you can also include values.reward when reusing feedback without custom components):
Keep one learner scope across compatible episodes. Start a new episode_id at the real reset boundary, keep next_state nested as {"values": {...}}, send terminal as a JSON Boolean (true or false), and confirm credit_assignment.contextual_learning_applied: true on every write. Steps must be ordered inside each episode.

Opaque-action sequential environment

A Domain can expose public observations and legal opaque actions while leaving their useful task structure unresolved:
  1. public observation fields
  2. an action from the declared legal set
  3. observable next state and native reward
  4. retained transition and sequential evidence
  5. later action selection
Combine Transition Discovery for executable input projections and causal bindings, Sequential Discovery for state-dependent action values from ordered rewards, and Structure Discovery for useful fields, combinations, lags, and predictive rules. Enable the paths required by the task within the same Domain, and inspect Domain-level state across enabled subsystems through POST /domains/{domain_id}/explain.

Automatic, mixed, and authored setups

Choose how much state and topology structure to supply based on observability and regime dynamics:
  • Automatic Sequential Discovery (learning.context.feature_paths: []): Learns state-dependent action values and delayed credit directly from observable interaction without hand-authored feature paths, fitting initial exploration and observable-state sequential tasks.
  • Mixed setups: Keep reviewed state invariants, empirical topology inference, or bounded transition objectives fixed while Sequential Discovery learns action values over the remaining dynamics. Adding empirical topology or partial domain structure markedly improves multi-step partially observable control.
  • Authored setups: Pin explicit learning.context.feature_paths and reviewed structural or belief priors when hidden state, recurring nonlinear latent regimes (latent_belief), or multi-step partially observable control (POMDPs) govern outcomes.

Inspect the result

Inspect the feedback response for policy admission, then check sequential sample counts and learner versions alongside the policy model report. When the sequential candidate trains and passes validation, the feedback-policy report can expose model_type: "sequential_q_mlp". Bounded transition scoring can operate in the same Discovery Domain through learning.sequential.bound_transition. It forms action-conditioned state-change evidence for a declared bounded objective. Preserve its score and attribution separately from the sequential return model.

Discovery overview

Configure the public boundary and choose the Discovery paths that fit the task.

Sequential learning, advanced

Configure rewards, exploration, training, validation, attribution, and frozen evaluation.

Transition Discovery

Discover stable transition inputs and compatible causal bindings.

Structure Discovery

Discover useful fields, combinations, lags, and predictive rules.