RAGE slice 1: canonical document/chunk model + public embedding library API #3
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/org-vector#3
Loading…
Add table
Add a link
Reference in a new issue
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?
Parent: #2
Why first
The current implementation is still organized around Org parsing and a concrete vector client. Before Tree-sitter, MCP, gptel QA, or the Emacs makeover, establish a generic library contract so every frontend uses the same types and behaviors.
Canonical ARADR document:
rage/org-vector-v2-aradr.orgonaradr/org-vector-v2.Mode: AUTO RAGE. Red-first TDD required. Do not merge automatically.
Goal
Introduce canonical source/document/chunk/search-result types plus a small public library facade that can index and search generic text without requiring an Org file, while adapting the current Org/Chroma implementation underneath it.
Required behavior
RED first
Add a contract test that attempts to:
Documentthat has no filesystem Org representation,SearchResultpointing back to the canonical source/document.The test must fail on current
masterfor the intended missing API/model, not because of downloads or environment problems.Attack questions before implementation
Gates
py_compile, pyright, black, flake8, andnix build .#pass at exact head.