Skip to content

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 zero-ckf, partial-ckf, or full-ckf.

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 coverage, effective_mode, tier_cap,

dict[str, Any]

and reason.

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.