pub fn resolve(
store: &dyn CardStore,
spec: CardContextSpec,
) -> Result<Vec<Value>, String>Expand description
Resolve a CardContextSpec against store, returning full Card
JSON documents.
CardContextSpec::CardId→ 1-elementVec<Json>on hit, emptyVec<Json>on miss (miss is Ok, not Err).CardContextSpec::Query→ up tolimitCard JSON values ordered bycreated_atdescending; empty result set is Ok.
The query form loads full TOML for each hit via a second
get_with_store call (N+1 fetch). With the MVP default limit = 5
this is well within I/O budget; if a future phase needs to raise the
limit substantially we can add a find_full_with_store batching API.