Run one complete Discovery tutorial
Create a fresh Domain, submit the included observations, inspect before/after responses, and query retained state from one Python file.
session_id: ignored for compatibility.
Choose a declaration
- Numeric
- Categorical
- Structure
- Reviewed fields
- Causal bindings
This Domain declares the numeric target and lets Adapt-1 discover the stable input projection.Send complete observations in order. The first events can return Verify:
projection_accumulating. Continue while storage succeeds and inspect the projection until it becomes ready.At query time, omit the target:Sequential Discovery
Use Sequential Discovery when actions change later states and later rewards should revise earlier choices. An opaque-action loop can expose public observation fields and legal actions while leaving their useful action values and action-effect structure for Adapt-1 to form:- query current public state
- execute the selected legal action
- observe the public next state and native reward
- return episode ID, step, next state, reward, and terminal status
- query again from retained Discovery state
learning.sequential.enabled: true with real episode, step, next-state, reward, and terminal paths. Preserve the selected policy and decision_id through execution. Inspect sequential sample counts and selection attribution before claiming that retained state influenced a later action.
See Sequential Discovery for the starting declaration and Sequential learning, advanced for the full policy, reward, training, and evaluation contract.
Executable runner pattern
The following is a zero-start online pattern shared by the Discovery paths. For separate acquisition, run the evidence-formation steps before the declared new-run boundary, then freeze the resulting state or continue adapting according to the protocol:- create a unique Domain
- send eligible events or feedback
- inspect path-specific admission on every write
- wait for usable discovered state
- query, select, or predict
- return the observable consequence when applicable
- verify that a later result uses the intended retained state
domain_id for an independent rerun. When one reported run starts empty and retains state across its own episodes, later episodes show within-run retention rather than separate acquisition. For held-out frozen evaluation, split entities or episodes before ingestion, form state only on the acquisition partition, record the final learner state and version, stop event and feedback writes, and verify state identity remains unchanged through scoring.
Common setup failures
Discovery
Understand the Discovery boundary and lifecycle.
Transition Discovery
Review projection fields, revisions, and causal bindings.
Structure Discovery
Review discovered fields, combinations, temporal relationships, and induced rules.
Sequential Discovery
Review ordered feedback, delayed credit, readiness, and action attribution.
