Skip to content

feat: query-time data-retriever and pack --summary (0.5.2) - #55

Merged
RichardHightower merged 1 commit into
mainfrom
cursor/data-retriever-d582
Sep 12, 2026
Merged

feat: query-time data-retriever and pack --summary (0.5.2)#55
RichardHightower merged 1 commit into
mainfrom
cursor/data-retriever-d582

Conversation

@RichardHightower

Copy link
Copy Markdown
Contributor

Query-time retrieval for DEKC, matching the PKC/SAC parity pattern: search, score, pack, and deepen stay in a sub-agent. The parent keeps a summary card only.

This is not reverse engineering. data-lake-walker, lineage-tracer, and the other RE workers are unchanged.

What landed

  • agents/data-retriever.md — retrieval-only Claude-style agent. No capture, walk, RE, knowledge writes, or brain_session. Returns a retrieval card (query, seed, fit, engine, pack stats, lead nodes, lineage note, gaps, next).
  • skills/dekc-retrieve/SKILL.md + /dekc-retrieve — parent must spawn data-retriever. Do not run dekc_search.py / dekc_pack.py in the parent for Q&A. Orthogonal fan-out: PKC knowledge-retriever, SAC architecture-retriever.
  • dekc_pack.py --summary — compact card-friendly output, bodies off (root included), fail-closed token budget. Retriever prefers --tiny --summary.
  • Docs: Query-time section on reverse-engineering-orchestrator, AGENTS.md, GROK_BOT, user guide, changelog. Version 0.5.1 → 0.5.2.

Tests

  • New TestPackSummary: bodies off even for the root, summary smaller than a full pack, over-budget --summary --write fails closed, --json has no bodies.

Fiction samples only (Lumenfield). No private remotes. No LLM in Python.

Open in Web Open in Cursor 

Add a retrieval-only data-retriever sub-agent and /dekc-retrieve skill so
search, score, pack, and deepen stay off the parent. dekc_pack.py --summary
emits a card-friendly, bodies-off view with a fail-closed token budget.

Co-authored-by: Richard Hightower <RichardHightower@users.noreply.github.com>
@RichardHightower
RichardHightower marked this pull request as ready for review September 12, 2026 17:20
@RichardHightower
RichardHightower merged commit 46c9f64 into main Sep 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants