Describe the application interaction before configuring learners. Use defaults until the task requires additional configuration. For continuing evidence or constraints without a declared task grammar, use the State gateway.
Define the interaction
Use entities, relations, policies, hypotheses, transition mappings, grouping, and support controls as needed to express the contract.
For Domain policy selection, declare each selectable option in the top-level
hypotheses array when creating the Domain. Give competing options the same relation and each option a unique, non-null policy identifier. See Declare policy choices for a minimal example and the feedback loop.
Design examples and checks
Copy this worksheet
Copy this worksheet
Follow the example through one complete loop
Follow the example through one complete loop
The worksheet above describes one work-routing Domain. The complete interaction keeps the Domain, the current observation, the Core result, and the external consequence separate.
Preserve the returned route and record any validation or override before execution, so feedback can identify the route that actually ran.
Inspect an update
Inspect an update
When applicable evidence is admitted, support, learned relationships, policy or transition state, and a later result may change. The later result may also remain the same.Within the declared lifecycle, the Domain contract, public vocabulary, result type, and ownership boundary stay fixed. External state and external execution remain outside Core.Verify event eligibility and learner admission where exposed. Preserve the documented state changes and the later result to assess whether admitted evidence affected behavior.
What belongs in the Domain
Include public task semantics that remain stable across the intended scope:
A Domain may declare that
completed is a positive native outcome. Include a rule connecting an action to completion only when that rule is public task information.
A fresh Domain can expose the task vocabulary with an empty task-specific learning history. Core can then learn the action-effect mapping from admitted evidence.
Define one complete loop
Define one complete loop
Use the smallest loop that matches the application:
- observe
- query or select
- commit to the value actually used
- execute or use it outside Core
- observe the consequence
- record the transition or submit feedback
- query again
Choose learning only after the loop exists
Transition prediction, bounded objective scoring, and action value are different:
One Domain or several
Reuse one Domain when all of these remain compatible:- Public task semantics.
- Result contract and units.
- Consequence or feedback meaning.
- Event and episode boundary.
- State retention and evaluation lifecycle.
domain_id, so their evidence and learned state remain separate.
State lifecycle
Name the lifecycle before evaluation:
State carried from an earlier pass or episode inside the same zero-start run is within-run retention. A cold run begins with its Domain definition in place. Frozen evaluation applies acquired state with writes disabled; held-out transfer evaluates that state on the excluded partition.
Minimal route map
The Domain returned by create or read is the resolved contract and may include defaults filled by Adapt-1. Send only the fields your integration needs. Returned defaults do not need to be copied into later create requests.
Inspect admission for each configured learner and its applicable version after an event write, including when the later result remains unchanged.
Domain smell test
Domain smell test
Correct the design before implementation when any of these are true:
Choose how a Domain learns
Compare multistep action, hidden-process discovery, and structured prediction patterns.
Transition learning, advanced
Configure an observable before-state, action, target, support, grouping, and abstention contract.
Learn from outcomes
Bind decisions, commitments, execution, consequences, and scoped feedback.
Run an inspectable workflow
Preserve ordered provenance and verify the selected state lifecycle.
