← Pulse

Xlab devcorpus โ€” proposal, foundation, parked

Date: 2026-05-12 Initiative: Portfolio-wide conversational search over the dev-reports corpus, powered by Gemini via Vertex AI Search Status: ๐Ÿ…ฟ๏ธ Parked after Phase 2. Foundation live (zero ongoing cost), build deferred. Resume conditions documented below. Companion: dogwood_phase01_pre_flight_2026-05-13.md


TL;DR

Walked the full arc โ€” scope, foundation, mockup, decision โ€” in one evening. Vertex AI Search engine xlab-devcorpus-app is live in audrey-experiments, indexing 58 markdown dev-reports from gs://xlab-devcorpus-md. Zero queries fired, so zero ongoing cost. The build out to a phone-friendly corpus.dare.co.uk is real โ€” about 3 hours, under $5/month โ€” but parked behind two higher-leverage threads: dogwood Phase 1 close-out tomorrow morning, and the broader pivot that AI voice for real customer problems beats AI search for self. Internal corpus chat is “mildly interesting”; customer-facing voice is the frontier.

The mockup itself is the deliverable for now โ€” a cheap deliberation before commitment, per the mockup-before-full-build pattern. NotebookLM is queued as the throwaway phone-and-voice experiment to falsify the assumption that conversational corpus access is even a habit worth tooling for.


What now exists (paid: $0, parked-cost: $0)

Resource Identifier State
GCP project audrey-experiments (#683815192069) Reused; graduates to its own project if usage justifies
GCS bucket gs://xlab-devcorpus-md us-central1, uniform access, public-access-prevention on
Corpus snapshot 58 markdown files, 426 KB One-shot upload 2026-05-12 02:47 UTC
Discovery Engine API discoveryengine.googleapis.com Enabled in audrey-experiments
Data Store dataStores/xlab-devcorpus Generic + unstructured + CONTENT_REQUIRED
Search Engine engines/xlab-devcorpus-app Standard tier + LLM add-on (generative answers)
Import op import-documents-14397311100980809223 Running at park time; indexing async

Live preview surface (no build required): https://console.cloud.google.com/gen-app-builder/engines/xlab-devcorpus-app/preview/search?project=audrey-experiments


The proposal in 60 seconds

Three artefacts and a sync trigger. GCS bucket holds the markdown corpus, Vertex AI Search Data Store indexes it, a Search App exposes conversational query with Gemini-grounded citations. A GitHub Action on devreports-content push keeps the corpus fresh (Phase 3, deferred). Scope:

In Out
All dare_*, audrey_*, dogwood_*, audit + session + narrative markdown Real-time Cloudflare analytics, live secrets, source code
Cross-portfolio queries with conversational follow-up Embedded chat widget on existing surfaces
Citations linked to source reports Anything requiring live tool-calling

Original scope: [proposal in chat 2026-05-12, captured here in this report].


Phases โ€” built vs parked

Phase What State Cost
0 Enable Discovery Engine API; check billing/quota โœ… done in 5 min $0
1 Create GCS bucket; one-shot gcloud storage cp of corpus โœ… done in 10 min $0 (storage on 426KB is rounded to free)
2 Create Data Store + Engine via REST; import op kicked off โœ… done in 15 min $0 (indexing free under quota)
3 GitHub Action auto-sync on devreports-content push ๐Ÿ…ฟ๏ธ parked โ€”
4 ~/bin/devcorpus CLI (with xlab-devcorpus-runtime-sa scoped SA) ๐Ÿ…ฟ๏ธ parked โ€”
5 corpus.dare.co.uk โ€” Pages + Worker + Access policy ๐Ÿ…ฟ๏ธ parked โ€”

Disproof criteria from the proposal still hold and now have concrete owners:

  1. Quality: smoke test โ‰ฅ15 of 20 queries return grounded, cited, correct answers. Test surface = the live console preview tomorrow.
  2. Habit: any 7-day window post-Phase-4 with zero queries โ†’ archive.
  3. Cost: unexpected spend past $20/mo at personal volume โ†’ misconfiguration.

UI sketch โ€” what corpus.dare.co.uk would have looked like

Mockup-only at park time. The mockup is the deliverable: cheap deliberation before a 3-hour build.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  devcorpus                                  [email protected]  โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                             โ”‚
โ”‚  Ask the corpus.                                            โ”‚
โ”‚                                                             โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ what changed on dashboard.dare.co.uk last week?    ๐ŸŽ™ โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚                                                             โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚                                                             โ”‚
โ”‚  The dashboard cron silently no-op'd for three days         โ”‚
โ”‚  in early May, root-caused to macOS TCC blocking launchd-   โ”‚
โ”‚  spawned shells from reading scripts in ~/Downloads ยน.      โ”‚
โ”‚  Smart Tiered Cache was enabled across the portfolio on     โ”‚
โ”‚  2026-05-11, with a 2026-05-14 re-check planned ยฒ.          โ”‚
โ”‚                                                             โ”‚
โ”‚  Sources                                                    โ”‚
โ”‚  ยน feedback_downloads_is_least_favourite                    โ”‚
โ”‚  ยฒ project_cloudflare_tiered_cache_enabled                  โ”‚
โ”‚                                                             โ”‚
โ”‚  โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€ โ”€   โ”‚
โ”‚                                                             โ”‚
โ”‚  Recent asks                                                โ”‚
โ”‚  โ€ข compare audrey vs dogwood foundation reports     3m ago  โ”‚
โ”‚  โ€ข dare canonical narrative frame                  15m ago  โ”‚
โ”‚  โ€ข narrator voice tuning current state              1h ago  โ”‚
โ”‚                                                             โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Five UI primitives: header, big input with mic, answer block, sources list (clickable, hover-preview to source report), recent-asks rail. Mobile collapses to single column. Voice via the browser’s native Web Speech API โ€” free, no extra service account.


Architecture โ€” the wiring that didn’t get built

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Mobile / desktop โ”‚
โ”‚     browser      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚ HTTPS
         โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Cloudflare edge                                  โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ Access policy: [email protected] + [email protected]  โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ Pages: corpus.dare.co.uk                   โ”‚  โ”‚
โ”‚  โ”‚   static HTML + JS frontend                โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ Worker: /api/ask                           โ”‚  โ”‚
โ”‚  โ”‚   reads GCP_SA_KEY secret (op-injected)    โ”‚  โ”‚
โ”‚  โ”‚   mints token โ†’ POST :answer               โ”‚  โ”‚
โ”‚  โ”‚   streams response back to browser         โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                    โ”‚ HTTPS, bearer auth
                    โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Vertex AI Search                                 โ”‚
โ”‚  engines/xlab-devcorpus-app                      โ”‚
โ”‚   โ””โ”€ dataStores/xlab-devcorpus                   โ”‚
โ”‚       โ””โ”€ gs://xlab-devcorpus-md/*.md             โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Thin-edge pattern โ€” Worker proxies to existing canonical source, no data duplication. Runtime auth via a scoped SA (xlab-devcorpus-runtime-sa, roles/discoveryengine.viewer, JSON key in op://Private/) so the existing audrey-vertex-sa stays single-purpose.


Decision โ€” parked, not killed

Two reasons.

1. Dogwood Phase 1 close-out is the higher-priority thread

Tomorrow’s pre-flight already caught a real production bug (worker.js Twilio Auth header still uses legacy auth_token despite API Key constants being declared). That work has actual customer-facing stakes โ€” the 7am SMS briefing breaks if it’s mishandled. Internal corpus chat doesn’t compete on importance.

2. AI voice for real customer problems > AI search for self

Stated explicitly tonight: “I would sooner develop AI VOICE for real customer problems.” Direct corollary: the same 3 hours that would build corpus.dare.co.uk would meaningfully advance the dogwood voice agent (Phase 5 in the dogwood roadmap), an audrey gift-advisor voice flow, or client-facing voice work. Internal-tool builds are an indulgence; customer-facing voice is the leverage. Park rather than kill โ€” internal tools can resume if/when habit-data justifies, but the default investment lane is outward, not inward.

New memory landed: feedback_customer_voice_over_internal_tools.


Resume conditions โ€” when to un-park

Any one of these is sufficient signal to resume:

  1. NotebookLM-as-experiment shows habit. Upload the same 58 markdown files to NotebookLM this week. Ask the same disproof query set on the phone. If you reach for it 3+ times unprompted over the next 7 days and the manual re-upload friction is starting to bite โ€” that’s the green light.
  2. A workflow demands programmatic queries. If a dev-report-publish script wants to ask the corpus “have I already written about X?” before generating a new artefact, Phase 4 (~/bin/devcorpus CLI) is the unlock.
  3. A customer engagement needs a similar surface. A client wants Q&A over their own documentation corpus โ€” devcorpus becomes the reference implementation, and corpus.dare.co.uk becomes worth building as a portable pattern.

If none of these fire within 90 days, the cleanup move is gcloud storage rm -r gs://xlab-devcorpus-md/ + delete the Data Store + delete the Engine. Cost to leave it dormant in the meantime is rounded to zero, so the default is benign neglect.


NotebookLM โ€” the cheaper experiment to run first

Concrete this-week test, not a build:

  1. Open NotebookLM on iPhone (or web).
  2. Upload ~/Code/devreports-content/*.md (drag-and-drop, ~58 files).
  3. Ask the proposal’s disproof query set: - “what changed on dashboard.dare.co.uk last week?” - “summarise the dogwood Twilio rotation” - “what memories were written from the audrey foundation work?” - “compare the dare vs dogwood gap audits”
  4. Try the voice mode on iPhone.
  5. After 7 days, ask: did I reach for this unprompted? Did manual re-upload annoy me?

Cost: 10 minutes upload + whatever ambient ask-time. Output: an honest signal on whether conversational corpus access on a phone is a habit worth investing in.


What this teaches the portfolio


Memories written tonight

File Type What it captures
feedback_adc_quota_project_header feedback Phase 0 gotcha: ADC user tokens authenticate against the SDK’s default project, not the active one; HTTP calls need the header
feedback_customer_voice_over_internal_tools feedback Strategic direction: AI voice for customers > AI search for self; reserves internal tools for customer-unblocking

Deferred per proposal until Phase 2 quality smoke-test:


Linked artefacts


Park with resume conditions, not abandonment. The foundation is free to keep; the build only commits when the habit-signal lands.