Implement two-step entity recall with a minimal manifest across Codex, Claude, and Bob
Recall currently injects full entity bodies into prompt context. That does not scale.
This should move to a two-step model across Codex, Claude, and Bob:
- emit a minimal manifest of available entities
- expand full files only when they are relevant
Manifest v1
Each entry should contain only:
- path
- type
- trigger
Example:
{ "path": ".evolve/entities/guideline/use-context-managers-for-file-operations.md", "type": "guideline", "trigger": "When processing files or managing resources" }
Assume trigger is always present in v1.
Scope
- add a shared frontmatter-only manifest loader in the common entity I/O layer
- switch Codex, Claude, and Bob recall from full-body injection to manifest-first recall
- keep harness-specific recall behavior separate, while sharing the same manifest data
- dedupe entries before output with deterministic ordering
Non-goals
- embeddings
- fuzzy/semantic dedupe
- extra manifest fields like visibility, source, or slug
Acceptance criteria
- Codex, Claude, and Bob no longer inject full entity bodies by default
- manifest entries contain only path, type, and trigger
- manifest output is deterministic
- duplicates are collapsed before output
- relevant full entity files can still be expanded on demand
cc: @jayaramkr @vinodmut
@vinodmut the PR #226 tries to address this issue. comments are welcome.
This was implemented by #226 ("manifest-first entity recall for all platforms", merged 2026-05-11). It added load_manifest() in plugin-source/lib/entity_io.py.
The evolve-lite redesign (#266) has since gone further than this issue asked: Claude, Codex and Bob no longer inject entity bodies at all.
- Claude: recall is native memory.
- Codex and Bob:
EVOLVE.mdtells the agent to list.evolve/entities/, read eachtrigger, and open only the matching files.
So the acceptance criteria are met. I think this can be closed.
Closing as resolved on main; the evidence is in this comment. Reopen if anything here is still outstanding.