/ Burrow / Build scope Internal
Burrow·June 2026·Internal

The Burrow — build scope

For Teddi. What's shipped, what's left for Sprint 1, and the one function that unlocks "chat to your data."

← Back to product brief
What's already shipped

More is done than it looked before reading the repo. As of 11 June 2026:

Sprint 1 — before the first client invite

Four tasks. Run in this order — briefs are ready to paste into Code.

Sprint 2 — the "chat to your data" unlock

Estimated 1–2 days. MCP tools, warehouse tools, streaming, and persistence are already live. The one gap is a single function.

The problem

hildaClientContext() in src/lib/hilda/context.ts currently tells Hilda "no prior deliverables yet — don't invent history" for every non-Klaylife client — even The V Spot with 12 deliverables in Supabase.

The fix

Update hildaClientContext() to query Supabase before building the system prompt and inject:

Last 3 planning reports — deliverables table, type = planning_report, ORDER BY period_start DESC LIMIT 3
Client briefing — client_briefings — positioning, goals, audiences, constraints
Active channels — connector_config on client_profiles — which IDs are non-null
Before this lands

Enable prompt caching first. Without it, injecting deliverable history into every call gets expensive fast. Prompt caching cuts repeated input costs by up to 90%.

Sprint 3 — pre-launch polish