Skip to content

Sentiment Insight Lifecycle

Governs production, permitted use, and expiry of a purpose-bound sentiment insight.

Object: sentiment-insight · States: 3 · Transitions: 2


State Diagram

flowchart LR

    %% ── classDef palette ─────────────────────────────────────
    classDef stInit  fill:#0d9488,stroke:#0f766e,color:#fff,font-weight:bold
    classDef stNorm  fill:#3b82f6,stroke:#2563eb,color:#fff
    classDef stOk    fill:#16a34a,stroke:#15803d,color:#fff,font-weight:bold
    classDef stFail  fill:#dc2626,stroke:#b91c1c,color:#fff,font-weight:bold
    classDef stHold  fill:#d97706,stroke:#b45309,color:#fff

    %% ── nodes ───────────────────────────────────────────────
    produced(["Produced"])
    active["Active"]
    expired[["Expired"]]

    %% ── transitions ─────────────────────────────────
    produced -->|"sentiment-insight-produced"| active
    active -->|"sentiment-insight-produced"| expired

    %% ── class assignments ───────────────────────────
    class produced stInit
    class active stNorm
    class expired stFail

States

State Label Description Initial Terminal
produced Produced Insight has been generated with source scope and consent basis metadata.
active Active Insight is available for its approved purpose and retention period.
expired Expired Insight is no longer available for operational use.

Transitions

From To Trigger Guards
produced active sentiment-insight-produced Purpose; source scope; and consent basis are recorded.
active expired sentiment-insight-produced Retention period or approved purpose has ended.