cos_compose_chain
Build an ordered formula-role chain from TaskSignals with situation override, preset match, per-role scoring, and hard fallback. Outputs ComposedChain with provenance.
Instructions
Compose an ordered formula-role chain from TaskSignals. Strategy: situation override > preset match > per-role scoring composer > hard fallback. Returns ComposedChain with provenance (preset_id, preset_version, effective_threshold, activations).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | ||
| signals_json | Yes | ||
| situation_id | No | ||
| preset_min_score | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |