let s = import "schemas/backlog.ncl" in

{
  items = [

    {
      id       = "bl-001",
      title    = "Publish ontoref.dev landing page",
      kind     = 'Todo,
      priority = 'High,
      status   = 'Open,
      detail   = "Deploy assets/web/ to ontoref.dev. Prerequisite for protocol-stable state transition (ADR-001 condition).",
      related_adrs  = ["adr-001-protocol-as-standalone-project"],
      related_dim   = "protocol-maturity",
      graduates_to  = 'PrItem,
      created  = "2026-03-13",
    },

    {
      id       = "bl-002",
      title    = "First external project consuming the protocol",
      kind     = 'Todo,
      priority = 'High,
      status   = 'Open,
      detail   = "Onboard at least one project outside the stratumiops ecosystem (vapora, kogral, or syntaxis) with .ontoref/config.ncl and ontoref setup. Prerequisite for protocol-stable state transition.",
      related_adrs  = ["adr-001-protocol-as-standalone-project"],
      related_dim   = "ecosystem-integration",
      graduates_to  = 'StateTransition,
      created  = "2026-03-13",
    },

    {
      id       = "bl-003",
      title    = "ontoref keys CLI group",
      kind     = 'Todo,
      priority = 'Medium,
      status   = 'Open,
      detail   = "Add `ontoref keys list`, `keys add <label> <role>`, `keys remove <label>`, `keys rotate <label>` subcommands. list is viewer+, mutations require admin Bearer. Complements setup --gen-keys (bootstrap only) with runtime key management.",
      related_adrs  = ["adr-005-unified-auth-session-model"],
      created  = "2026-03-13",
    },

    {
      id       = "bl-004",
      title    = "Session management UI views",
      kind     = 'Todo,
      priority = 'Medium,
      status   = 'Open,
      detail   = "Per-project sessions tab in /ui/{slug}/: read-only table of active sessions (id, role, key_label, expires_at). Manage page sessions table: all sessions across all projects with revoke button. Daemon admin only for the global view.",
      related_adrs  = ["adr-005-unified-auth-session-model"],
      created  = "2026-03-13",
    },

    {
      id       = "bl-005",
      title    = "Fix Syntaxis ES→EN ontology migration errors",
      kind     = 'Bug,
      priority = 'Medium,
      status   = 'Open,
      detail   = "syntaxis-ontology crate has migration errors blocking ecosystem-integration → multi-project transition. Blocker from state.ncl ecosystem-integration dimension.",
      related_dim   = "ecosystem-integration",
      created  = "2026-03-13",
    },

    {
      id       = "bl-006",
      title    = "Accept ADR-001 (protocol as standalone project)",
      kind     = 'Todo,
      priority = 'High,
      status   = 'Open,
      detail   = "ADR-001 is currently Proposed. Acceptance condition: ontoref.dev published and at least one external project consuming the protocol. Triggers protocol-stable state transition.",
      related_adrs  = ["adr-001-protocol-as-standalone-project"],
      related_dim   = "protocol-maturity",
      graduates_to  = 'Adr,
      created  = "2026-03-13",
    },

  ],
} | s.BacklogConfig
