Skip to content
Tools/Spec Introspection/get_lifecycle

get_lifecycle

Return the full `UPGLifecycle` definition for one entity type: initial phase, terminal phases, ordered phases with transitions and core states. Returns a descriptive message (not an error) when the type has no lifecycle.

Spec Introspectionatomic (read-only)

Arguments

entity_typestringrequired

Canonical entity type name (e.g. "feature", "hypothesis", "opportunity").

Returns

JSON: the full UPGLifecycle record, or a descriptive message.

Examples

Live call against the Notion example graph.

Input

{
  "entity_type": "hypothesis"
}

Output

{
  "entity_type": "hypothesis",
  "initial_phase": "drafted",
  "terminal_phases": [
    "validated",
    "invalidated",
    "archived"
  ],
  "phases": [
    {
      "id": "drafted",
      "label": "Drafted",
      "description": "The claim is being written. We_believe / will_result_in / we_know_when may not yet be complete. Not yet committed for testing.",
      "transitions_to": [
        "active",
        "archived"
      ]
    },
    {
      "id": "active",
      "label": "Active",
      "description": "The claim is committed and being tested. Experiments may be running; evidence may be accruing via supports/refutes edges. current_confidence updates as evidence weight shifts.",
      "transitions_to": [
        "validated",
        "invalidated",
        "archived"
      ]
    },
    {
      "id": "validated",
      "label": "Validated",
      "description": "Evidence sufficiently supports the claim. The belief held. Reopens to `active` if new evidence materially changes the picture.",
      "transitions_to": [
        "active"
      ]
    },
    {
      "id": "invalidated",
      "label": "Invalidated",
      "description": "Evidence sufficiently refutes the claim. The belief did not hold. Reopens to `active` if new evidence materially changes the picture.",
      "transitions_to": [
        "active"
      ]
    },
    {
      "id": "archived",
      "label":
… (truncated)

See Also