Reason: SentenceTransformer.encode() in sentence-transformers 5.5.1 does
not accept return_dense / return_sparse kwargs. Those belong to the
FlagEmbedding.BGEM3FlagModel API, which is not in our dependency set.
Dense encoding works fine via the vanilla encode() call (shape (N, 1024),
float32). Sparse / lexical_weights requires either:
(a) adding FlagEmbedding as a dependency, or
(b) using sentence_transformers.SparseEncoder with a SPLADE checkpoint, or
(c) driving the underlying transformers model and sparse head manually.
Branch retained as documentation per docs/loops/spike-gate.md.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Bare Typer() with no commands raised RuntimeError at runtime.
Callback makes the entry point callable without exposing F-07 logic.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Review-Gate finding: pyproject.toml [project.scripts] referenced
codex.cli:app which was absent; uv run codex raised ModuleNotFoundError.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>