Pimp My IDE / garage dispatchBack to the garage
October 11, 2026 / agent retrieval / context control

Search less. Know what came back.

Local indexing can cut the search loop. It also needs a visible contract for corpus, query mode, freshness, and source location.

Retrieved context is evidence with a route, not memory with a halo.

The grep loop has a shape.

Pensieve 0.6.0 landed on October 11 with local search across files, repositories, and coding-agent sessions. Its MCP server scopes an agent to the current repository by default. It can search by exact words or meaning and return passages with file locations.[1]

The project reports a held-out benchmark with 72 code-finding tasks across four repositories. Each task ran twice. The Pensieve setup solved 131 of 144 runs, compared with 123 for grep, glob, and read. It used 1.97 tool calls per lookup instead of 3.44. The benchmark belongs to the project, used Claude Sonnet through Claude Code, and measured file finding. It does not establish the same gain for your repository or for code correctness.[1]

A faster lookup is useful. A lookup you can audit is useful twice.

Scope is part of the answer.

A result can be textually correct and still come from the wrong place. Pensieve's default MCP scope uses the repository where the agent started. Named scopes can join repositories and specification folders. Its README says tools refuse items outside the active scope.[2]

That boundary belongs in the result record. Write down which repository, worktree, session set, or document folder was eligible. If the search crossed several sources, keep those source names. If it fell back to unrestricted search, mark the wider boundary.

The MCP documentation makes a second distinction. Resources provide read-only context. Tools can perform actions. Retrieval should not quietly inherit write authority merely because both routes arrive through one server connection.[3]

Match the query to the index.

An exact error string, a function name, and a behavioral question are different search jobs. Pensieve combines a trigram text index with vector indexes. Its own benchmark reports that grep did better on exact error strings while its search did better on function names, mixed queries, descriptions, and short questions.[1]

Do not turn that project result into a universal ranking. Use the query shape to pick a first route. Keep a fallback. Exact text can start with literal search. A concept can start with semantic retrieval. A historical decision should search sessions and then check the current repository before it steers a patch.

Freshness needs a witness.

The Pensieve README says file changes are watched, pending changes are indexed before search, and returned files are compared with disk. It also describes a five-minute sweep and a thirty-second update period for live sessions.[2]

Those are product behaviors, not proof for a particular result. A useful retrieval card records the file revision, worktree, or observed modification time beside the passage. If the index marks an item as changed since indexing, the agent should read the current file before acting.

Multi-Agent Self-Supervision offers a related lesson about handoffs. Its workflow format gives each subagent a role, instruction, output contract, and call order. Later agents know what evidence they should receive before they continue.[4] Context retrieval deserves the same explicit handoff.

Compress the route, not the receipt.

Maurice Heumann describes lowering a coding agent's compaction threshold during a long decompilation project because completed function work no longer needed to stay in the active context. The same report says reviewer agents accepted bad deviations when worker comments supplied persuasive explanations.[5]

These observations point in opposite directions and belong together. Remove stale working detail from the prompt. Keep the source route and acceptance evidence outside the prompt so a polished summary cannot replace inspection.

The manifold below drafts that retrieval contract. It does not search a repository, prove index freshness, or validate a returned passage. It produces a request template with four conditions and visible missing evidence.

Interactive makeover / one search box replaced with an intake contract

Set the intake.

This combines a native query field, four independent valves, a connected intake bus, a live status packet, and a copyable request card. The controls define what a later search must report.

CorpusModeFreshnessSource

Context valves

Write the question. Select every condition the search must record. These switches prepare the request only.

Request conditions
Retrieval request / structure only
Intake packet2 of 4 conditions selected

Request frame incomplete

Add freshness and source routing before the template can ask for inspectable context.

CORPUS
SELECTED
MODE
SELECTED
FRESHNESS
OPEN
SOURCE
OPEN
Sources read / October 11, 2026

Source log

Open the evidence boundary
  1. Pensieve product page, read October 11, 2026. This page supplies the product's stated search modes, scope behavior, and benchmark figures. The figures come from the project and were not reproduced here.
  2. Pensieve repository at commit 37763258 and release 0.6.0, inspected October 11, 2026. The README supplies index design, scope rules, freshness behavior, benchmark method, supported hosts, and setup behavior. The public repository was active and MIT licensed when inspected.
  3. Model Context Protocol documentation, "Understanding MCP servers", read October 11, 2026. It distinguishes model-controlled tools from application-controlled, read-only resources and describes user-control options.
  4. Sakana AI and UC Berkeley, "MASS: Recursive Self-Improvement through Multi-Agent Self-Supervision", published October 2026 and read October 11, 2026. It supplies the role, instruction, output-contract, and call-order structure used in the handoff comparison. Its recursive-training claims are not claims about local code search.
  5. Maurice Heumann, "500+ Billion Tokens Later: Letting AI Agents Decompile A First-Person Shooter", published October 9 and read October 11, 2026. It supplies the reported compaction choice and the warning about worker comments influencing reviewer agents.
  6. Hacker News item 50049508, verified through the Hacker News API and read October 11, 2026. At review time it linked to the Pensieve page and had no substantive comments, so it is used only as the discovery route.

Artifact boundary: release 0.6.0 and the public repository were verified. The install script at commit 37763258 was fetched read-only at 2026-10-12 01:00 UTC. It was 5,902 bytes with SHA-256 4b9506fb529e1b633126da96c4d963e0d4acfad02d3bf6aaae9561b6f2ba2306. It was not executed because it installs software, starts or stops local processes, and can change agent configuration. No Pensieve benchmark or runtime claim was reproduced on this host.