Repository navigation
feat: parallel retriever, run history, interactive picker, rich rendering (#44) - #46
Merged
Merged
Conversation
…ring (#44) - feat(retriever): gather_hits() thread pool — concurrent fetches with Evidence Record order kept stable via pool.map - feat(history): new deep module; CLI auto-saves every run under $DEEPCLOAK_RUNS_DIR (default ~/.local/share/deepcloak/runs); 'deepcloak runs' lists, 'deepcloak show <id> [--json]' replays - feat(picker): new deep module — TTY-only numbered prompt when more than one LLM credential is detected: provider -> live model list -> model, with manual-entry/default fallback when the directory is unavailable - feat(progress): ProgressReporter renders research phases as a live status line via optional 'deepcloak[rich]'; identical plain-line fallback without it
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements #44 — all four polish items, each landed as its own green slice.
What
gather_hits()runs search-hit fetches through a thread pool;pool.mappreserves input order so Evidence Records and documents keep a stable sequence regardless of completion order. Concurrency is proven by a barrier test (a sequential implementation deadlocks it), ordering by an uneven-speed test.history.py) — every CLI run auto-saves to$DEEPCLOAK_RUNS_DIR(default~/.local/share/deepcloak/runs):report.md+evidence.json+run.jsonmetadata.deepcloak runslists newest-first,deepcloak show <id> [--json]replays by exact id or unique prefix. Save failures warn but never fail the run.picker.py) — zero-dep numbered prompt, shown only when stdin+stdout are TTYs, more than one LLM credential is detected, and no provider/model was given via flag or config file: pick provider → live model listing → pick model. Falls back to manual id entry / provider default when the directory is unreachable. Scripts, pipes and MCP clients are never prompted.ProgressReporterinprogress.py: withpip install deepcloak[rich](new extra) research phases drive a live status line and Evidence lines print through the same console; without rich the output is byte-for-byte today's plain stderr lines.Verification
pytest: 127 passed, 1 skipped,ruff check .: cleandeepcloak runson an empty/missing dir exits 0 quietly