Activation API¶
The client.activation namespace exposes activation modes and onboarding stages for progressive feature rollout.
SDK proxy¶
crp.sdk.proxies._ActivationProxy ¶
Activation-mode proxy (SPEC-017).
Exposes mode detection, tier-cap application, and per-call coverage.
mode() ¶
Detect the current CRP activation mode.
Returns:
| Type | Description |
|---|---|
str | One of |
apply_tier_cap(quality_tier) ¶
Apply the Partial-CKF tier cap to quality_tier.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
quality_tier | str | Candidate quality tier (S/A/B/C/D). | required |
Returns:
| Type | Description |
|---|---|
str | Capped tier string. |
coverage() ¶
Return the current per-call coverage result.
Returns:
| Type | Description |
|---|---|
dict[str, Any] | Dict with |
dict[str, Any] | and |
Activation Mode¶
crp.activation.mode.ActivationMode ¶
Bases: str, Enum
The three CRP operating modes (CRP-SPEC-017 §2).
Attributes:
| Name | Type | Description |
|---|---|---|
ZERO_CKF | No active facts; CRP operates without a Contextual Knowledge Fabric. | |
PARTIAL_CKF | Some facts exist but thresholds for Full-CKF are not met. | |
FULL_CKF | Large, well-clustered knowledge fabric available for retrieval. |