terraform-provider-stackgen

sg_diary_learning_queue (Data Source)

⚠️ Experimental — Lists the Guild diary learning review queue: proposed insights (suggestions) aggregated with any linked draft artifacts.

Prefer this when you want the same combined view as the Diary Learning UI. For a flat insights list with richer filters use sg_diary_insights. For raw daily diary markdown use sg_agent_diaries. Read-only — approve/dismiss happens outside Terraform. Respects provider workspace_id for workspace scoping.

Example Usage

# When to use: Read the Institutional Learning review queue (proposed insights
# plus any materialized draft artifacts). Pair with sg_il_reflection_config.
data "sg_diary_learning_queue" "pending" {
  status = "proposed"
  limit  = 20
}

output "queue_total" {
  value = data.sg_diary_learning_queue.pending.total
}

Schema

Optional

Read-Only

Nested Schema for items

Read-Only:

Nested Schema for items.insight

Read-Only:

Nested Schema for items.insight.evidence

Read-Only:

Nested Schema for items.insight.proposed_action

Read-Only:

Nested Schema for items.insight.proposed_action.materialized_ref

Read-Only:

Nested Schema for items.materialized

Read-Only: