Repository navigation
Conversation
HitList gains searched (#151), so a list may carry singular fields about the whole answer beside items. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Erik Forsman <erik.r.forsman@gmail.com>
Each hit answers from its stored Publication, else a fresh record held in service.Answers, else the provider; a fresh term asks it nothing. Answers is a go/service port, not store.Store (#152): an entry is unsigned, expiring and overwritten. Replaces pubmed.Cache. Closes #154 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Erik Forsman <erik.r.forsman@gmail.com>
Snowpile
force-pushed
the
snowpile/api-154-stored-provider-answers
branch
from
November 24, 2026 01:28
e85c7f3 to
8e4010e
Compare
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.
Closes #154. Stored answers sit behind a
go/serviceport, as #152 decided.Where it departs from #151's design:
HitList.searched) besideitems;TestListResponsesWrapItemsholds it.Searchersplits intoSearch(ids) andFetch(records), so only unheld records are fetched;ResolverandSearchergainName;pubmed.Cachegoes. No service wires either yet.listHitsreturns theHitList, not its items.Not covered: a backend that survives a restart or spans replicas;
MemoryAnswersis the only one.🤖 Generated with Claude Code