Skip to content

feat(memory): show where an answer came from - #81

Merged
arthware-dev merged 1 commit into
mainfrom
feat/agent-cites-sources
Sep 10, 2026
Merged

arthware-dev merged 1 commit into
mainfrom
feat/agent-cites-sources

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

Search printed what it found but not where it lived, so an answer built
from the vault could not be checked. Each hit now ends with a link to its
page, and Stacky cites the pages it actually read.

The link is keyed on the capture id rather than the path, since the path
carries the bucket, topic slug and title slug and any of those can move.

Picked up from a stash on fix/agent-turn-limits and rebuilt onto current
main as a delta, so nothing since that stash is reverted.

Search printed what it found but not where it lived, so an answer built
from the vault could not be checked. Each hit now ends with a link to
its page, and Stacky cites the pages it actually read.

The link is keyed on the capture id, not the path: the path carries the
bucket, the topic slug and the title slug, so a re-scope, a rename or a
corrected title would move it. A page with no capture id gets no line
rather than a link that breaks quietly.
@arthware-dev
arthware-dev merged commit 52b386d into main Sep 10, 2026
1 check passed
@arthware-dev
arthware-dev deleted the feat/agent-cites-sources branch September 22, 2026 20:12
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.

1 participant