Phase 6 — Pattern-example RAG pipeline #9
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Size: large · Conditional on Phase 5.5 passing · Depends on: Phase 5
Scope
reference_tag,arch_tag,source_repo,file_path,chunk_type,last_indexedsearch_pattern_examples(query, arch_tag?)— semantic search, optionally filtered to a named patternrefresh_pattern_example(reference_tag)— re-runs fetch/chunk/embed/upsert and replaces prior vectors for that tagExit criterion
A named pattern's example repo is indexed and returns relevant code for a natural-language query; a refresh fully replaces prior vectors for that tag.
References
ADR-0011 (spike gate), ADR-0010 (embeddings)
Review notes
Naive chunking of source code retrieves poorly — AST-aware chunking is most of the cost here and is why the spike exists.