Context
RFC #876 TODO 3 defines application/utils/mapping_job.py with bi-encoder → pgvector top-20 → cross-encoder rerank. GSoC Module C (The Librarian) implements the same pipeline:
Maintainer decision on #876: do not build a second parallel mapping stack. Wire MyOpenCRE run_mapping to reuse Module C components where possible.
Requirements
Out of scope
- Full Librarian graph-write / HITL flow (Module C C.3–C.5)
- Per-user embedding storage (RFC explicitly forbids)
Related
Context
RFC #876 TODO 3 defines
application/utils/mapping_job.pywith bi-encoder → pgvector top-20 → cross-encoder rerank. GSoC Module C (The Librarian) implements the same pipeline:Maintainer decision on #876: do not build a second parallel mapping stack. Wire MyOpenCRE
run_mappingto reuse Module C components where possible.Requirements
run_mappingby callinglibrarian/candidate_retriever+librarian/cross_encoder(or shared interfaces) instead of duplicating encode/rerank logicuser_standard_sectionsstatus enum (AUTO_MAPPED,NEEDS_REVIEW, etc.) to Librarian confidence thresholds — document mapping in RFC or inlinemapping_job.pybut delegates retrieval/rerank to Librarian modulesUSER_CONFIRMEDrows never auto-remapped (RFC constraint)Out of scope
Related
docs/rfc/user-auth-myopencre.mdTODO 3