CUP participants are posterior prediction mechanisms such as
contextual_memory and learned_model. Domain context features do not automatically become CUP participants.When CUP fits
Enable CUP when all of these conditions are true:- the Domain makes repeated decisions with attributable measured outcomes;
- the adaptive posterior is enabled;
- at least two posterior sources can become usable for the same relation;
- source value may be complementary, redundant, or harmful under some conditions;
- rewards can be normalized into
[0,1]; - the application can preserve pre-outcome source predictions and bind feedback to the committed decision.
How CUP enters selection
- current context
- available posterior sources
- source predictions sealed before outcome
- CUP utility adjustment
- policy selection
- measured feedback
- source and coalition utility update
Add CUP to the Domain
Enable the ordinary posterior, then addlearning.posterior.plasticity.
Choose the maximum order
With two usable sources, order 2 can represent at most three coalitions:
maximum_order expands the candidate space and evidence burden. Use a higher order only when the source count, sample budget, and evaluation design justify it.
Read the main controls
Tune thresholds only after the integration trace shows a concrete support, churn, or responsiveness problem. Preserve the full configuration and ordered event record for every test.
Make a second source usable
An empty Domain usually begins withcontextual_memory as the available posterior source. learned_model becomes usable only after training has enough admitted samples and its candidate model passes validation.
Use a training configuration that can make a validated learned-model source available:
learned_model never becomes usable, CUP has no valid multi-source test. Inspect the feedback-policy sample count, training status, validation report, model type, and posterior source list before tuning plasticity.
Bind reward to the sealed decision
CUP learns from the ordinary Domain query and feedback loop. Query first and preserve the posterior diagnostics before the outcome is visible. Then submit one measured feedback write for the executed policy.[0,1]. Supply the real relation, executed policy, and a supported decision-time context source. A valid decision_id gives the strongest sealed attribution.
Do not send a second feedback record for an unexecuted policy. Do not return a counterfactual label, future answer, source score, confidence value, or post-outcome model prediction as reward.
Inspect CUP in the response
For each candidate, inspect:Verify CUP in your integration
Use a short controlled stream before production use:- Start with fresh Domain and session state.
- Confirm that
contextual_memoryappears in posterior source diagnostics. - Admit enough attributable outcomes for the configured model-training boundary.
- Confirm that a validated
learned_modelbecomes usable. - Preserve pre-feedback source predictions for each committed decision.
- Continue feedback until effective support can reach
minimum_support. - Inspect whether CUP was eligible, whether it was applied, and which structures affected the candidate.
- Repeat selected queries with feedback disabled and confirm that learner-state fingerprints remain unchanged.
Failure checks
Ifcup_applied remains false, inspect these conditions in order:
learning.enabledis true;learning.posterior.enabledis true;learning.posterior.plasticity.enabledis true;- at least two sources appear in posterior diagnostics;
- the trained model is installed and usable;
- feedback supplies a normalized measured reward;
- feedback is attributed to the executed relation and policy;
- effective support has reached
minimum_support; - source predictions were captured before the outcome;
- the current condition has eligible candidate structures.
Choose how a Domain learns
Match the Domain to immediate feedback, transition prediction, temporal context, or delayed credit.
Use TCP
Add bounded recent history before posterior source prediction and selection.
Learn from outcomes
Bind the measured consequence to the committed decision.
Verify adaptation
Use paired streams, frozen evaluation, and learner-state fingerprints.
