Beta

Context Engine Blueprint

Borrowed from the “golden nuggets” doc to keep the derived → session-aware → ambient progression front-and-center before we build anything.

References: Full flow · Phase 2. Context powers Session nav, AI helpers, and the Grid composer.

Tier 1 — Derived Context

No new APIs; pure functions derive context from existing data.

Inputs

  • Current route (signals/resources/sessions)
  • Selected Section or Session
  • Recent joins (featured signals, assigned resources)

Outputs

  • Location label (“Week 5”, “Session: AI Ethics”)
  • Relevant nodes (signals/resources attached)
  • Simple hints (“Resources due soon”)

Tier 2 — Session-Aware Context

Enhance sessions with memory/artifacts and feed them into context.

Inputs

  • Enhanced session (focus_mode, activities, memory)
  • Universal block references
  • Session chains (continues_from, branches_to)

Outputs

  • Session summary panel
  • “Continue session” callouts
  • AI prompt context (decisions, open questions)

Tier 3 — Ambient AI Context

Context feeds suggestions, auto-highlights, AI helpers.

Inputs

  • Grid composer state
  • Recent nodes + active queries
  • Feature flags (aiContextHints)

Outputs

  • Subtle hints (“Looks like you’re drafting a PRD”)
  • AI suggestions scoped to session intention
  • Cross-session pattern detection