De-slop redo: fix Emacs crash chain, core retrieval bugs, packaging #5
No reviewers
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!5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rage/deslop-emacs-crash"
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?
Full redo of LLM-era code on top of
c82bd94, run as a RAGE iteration (evidence log: rage/deslop-emacs-crash.org).Emacs crash chain (all reproduced, not guessed)
org-vector--query-syncsent-k 5but the CLI had no-koption → gptel tool 100% broken (main.py: error: unrecognized arguments: -k 5)exit-codewas set to(point), notcall-process's return → success always reported as failure(require 'subr-x)→void-function when-leton the declared Emacs 27/28 → crash on first search(require 'transient)added (declared dep, never required); byte-compile now clean-k/--resultsadded to the CLI; search modes no longer send--dir; dead-buffer sentinel guardsCore python bugs
query()embedded queries with the ingestion prefix (embeddings.py:529) — now uses query instructionsOrgNode.iddefaulted to freshuuid4()per parse, so the documented deterministicauto-<sha1>fallback IDs never ran (proven non-deterministic at start commit)configure_logging()was a no-op after import-timeget_logger()— CLI--log-level/--log-to-filenow actually take effect_load_modelsilently replaced injected encoders with a real model load — duck-typed injection now supported (also what makes the offline tests possible)_default_instructionsreturned the same strings for every model)De-slop
org_vector.maindid not exist →org_vector.cli:run, main.py is a shim)Tests
Gate (exact head
846e147)CI runs the same gate on every PR/push to master.
Pull request closed