Repository navigation
DQ0: the doc-search epic doc set - #1
Merged
Merged
Conversation
The doc-search epic: epic.yaml (key DQ, three milestones: the spec, the doc search on Workers and Supabase, a baseline), the README, the design (the template at 50d6bb7, how each piece maps to Cloudflare and Supabase — the edge route as an App Router route handler beside the Pages Router page, AI SDK 5's plain-text stream, the per-call client through Hyperdrive with no service-role key, upstream's migration kept and resized to Workers AI's 768 dimensions with a cosine match, the functions closed to the Data API — where the docs are embedded and why there: the build splits them into a committed index with no credential, and the deployed Worker, which holds the AI and HYPERDRIVE bindings, embeds the changed pages when the deploy's smoke POSTs /api/embeddings, one transaction per page under an advisory lock; the models, Workers AI for every embedding and the answer with OpenAI optional for the answer only; and the alternatives rejected: embedding at next build in CI, a separate indexing job, embedding on the first search, OpenAI embeddings behind the key, upstream's seed, the Data API, moving the page to the App Router), the implementation plan, the risks, the as-built status, and the three task contracts. Co-Authored-By: Claude <noreply@anthropic.com> Orun-Task: DQ-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The doc-search epic: epic.yaml (key DQ, three milestones: the spec, the doc search on Workers and Supabase, a baseline), the README, the design (the template at 50d6bb7, how each piece maps to Cloudflare and Supabase — the edge route as an App Router route handler beside the Pages Router page, AI SDK 5's plain-text stream, the per-call client through Hyperdrive with no service-role key, upstream's migration kept and resized to Workers AI's 768 dimensions with a cosine match, the functions closed to the Data API — where the docs are embedded and why there: the build splits them into a committed index with no credential, and the deployed Worker, which holds the AI and HYPERDRIVE bindings, embeds the changed pages when the deploy's smoke POSTs /api/embeddings, one transaction per page under an advisory lock; the models, Workers AI for every embedding and the answer with OpenAI optional for the answer only; and the alternatives rejected: embedding at next build in CI, a separate indexing job, embedding on the first search, OpenAI embeddings behind the key, upstream's seed, the Data API, moving the page to the App Router), the implementation plan, the risks, the as-built status, and the three task contracts.
🤖 Generated with Claude Code