Skip to content

feat(detail): related memories with match bars, fix detail crash - #321

Merged
ajianaz merged 1 commit into
developfrom
feat/related-memories
Sep 6, 2026
Merged

feat(detail): related memories with match bars, fix detail crash#321
ajianaz merged 1 commit into
developfrom
feat/related-memories

Conversation

@ajianaz

@ajianaz ajianaz commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

What

Related memories section (#296, sisa scope) in the memory detail panel:

  • Semantic recall seeded from the open memory's content (first 240 chars), top 5 excluding self
  • Each hit: semantic badge, % match label, and a mini match bar (parity with the uteke-mobile flagship pattern)
  • Clicking a related card navigates within the detail panel (existing neighbor flow)
  • Loading / empty states ("Searching…" / "No related memories yet — semantic matches appear as the library grows")

Also fixes a latent bug this work surfaced: load() referenced an undefined content variable and a non-existent uteke.recall — either threw into the main catch, nulling the memory and rendering "Memory not found." for every valid memory opened from the Memories list (web mode).

Why

Related memories explains why this matters (transparency, P37/P38) and is the proven reading-surface hero pattern from uteke-mobile; #296 tracked it as remaining scope after the author-header/timeline/copy-ID work shipped.

Testing

  • Sandbox (uteke 0.17.0, 9 memories across 2 topics): open a memory → Related lists 5 semantic hits with % labels + match bars; vision-verified layout
  • Regression: "Memory not found." no longer appears on valid memories (the undefined-variable crash is gone)
  • tsc clean · 91/91 tests · build green (6.58s)

Part of #296 · Epic #289 · Requires uteke 0.16.0+

  excluding self; semantic badge + % label + mini match bar (uteke-
  mobile flagship parity); click navigates within the panel
- Fixes latent crash surfaced here: load() referenced an undefined
  `content` variable and a non-existent `uteke.recall` - either threw
  into the main catch, nulling the memory and rendering "Memory not
  found." for every valid memory (web mode)

Live-verified on uteke 0.17.0 sandbox: 5 semantic hits with match bars,
no false not-found state. tsc clean, 91/91 tests, build green.

Part of #296, epic #289.
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit 56c1167 into develop Sep 6, 2026
16 checks passed
@ajianaz
ajianaz deleted the feat/related-memories branch September 6, 2026 13:53
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