Skip to content

docs: pin dead tinymemory core/src link to the vendored commit - #5654

Open
JMak-Security wants to merge 1 commit into
tinyhumansai:mainfrom
JMak-Security:fix/dead-tinymemory-readme-link
Open

docs: pin dead tinymemory core/src link to the vendored commit#5654
JMak-Security wants to merge 1 commit into
tinyhumansai:mainfrom
JMak-Security:fix/dead-tinymemory-readme-link

Conversation

@JMak-Security

@JMak-Security JMak-Security commented Aug 21, 2026

Copy link
Copy Markdown

Summary

src/openhuman/memory/README.md links to https://github.com/tinyhumansai/tinymemory/tree/main/core/src, which now 404s -- caught by this repo's own Markdown Link Check CI job (lychee) on an unrelated PR (#5650).

Root cause

tinymemory's main branch has since restructured into a Cargo workspace: core/ became crates/tinymemory-core/. A link pinned to main stopped resolving once that migration landed, even though nothing in this repo changed.

Fix

vendor/tinymemory (this repo's submodule) is still pinned to commit 38a34d2ea10e7eedda1b50cdc786016c0f73b6dc, from before the restructure. At that exact commit, core/src exists and contains all six files the README names by path (sync_events.rs, remember.rs, ingest_pipeline.rs, traits.rs, preferences.rs, rpc_models.rs) -- verified directly against that commit's tree via the GitHub API.

Pinning the link to that commit SHA instead of main fixes the 404 while staying accurate to what's actually vendored here, rather than repointing to tinymemory's current (and possibly further-diverged) directory layout.

Testing

  • Confirmed via the GitHub contents API that core/src at commit 38a34d2 contains exactly the six files/dirs the README describes.
  • HTTP-checked both URLs directly:
    • Old (tree/main/core/src): 404
    • New (tree/38a34d2.../core/src): 200

Split out of #5650 as an unrelated, separately-scoped fix.

Summary by CodeRabbit

  • Documentation
    • Updated the tinymemory-core source reference to a fixed version for improved consistency and reproducibility.

src/openhuman/memory/README.md linked
https://github.com/tinyhumansai/tinymemory/tree/main/core/src, which
404s: tinymemory's main branch restructured into a Cargo workspace
(core/ became crates/tinymemory-core/), so a floating main-branch link
no longer resolves.

The vendored submodule at vendor/tinymemory is still pinned to commit
38a34d2 (pre-restructure), where core/src genuinely exists with all six
files the README names (sync_events.rs, remember.rs, ingest_pipeline.rs,
traits.rs, preferences.rs, rpc_models.rs) -- verified directly against
that commit's tree. Pinning the link to that exact commit SHA instead
of main fixes the 404 while staying accurate to what's actually
vendored, rather than pointing to tinymemory's current (and possibly
further-diverged) structure.

Signed-off-by: Jason Mak <squrrielbro@gmail.com>
@JMak-Security
JMak-Security requested a review from a team August 21, 2026 04:18

@tinysweeper tinysweeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tinysweeper found nothing blocking. Approving.

$0.0000 · 0 in / 0 out · 83 embedded · openrouter/openai/text-embedding-3-small

@tinysweeper tinysweeper Bot added the priority: p3 Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect. label Aug 21, 2026
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 31a805d6-3333-4492-87f4-a43ed51267e6

📥 Commits

Reviewing files that changed from the base of the PR and between 60775aa and 9aad82f.

📒 Files selected for processing (1)
  • src/openhuman/memory/README.md

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The memory README now links extracted tinymemory-core source files to a pinned commit instead of the moving main branch.

Changes

Memory documentation

Layer / File(s) Summary
Pin source link
src/openhuman/memory/README.md
The extracted tinymemory-core source link now targets a specific commit URL.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 9aad8

The change pins a broken documentation link to the vendored commit where the referenced files exist; no actionable merge-blocking risk remains after normal checks and review.

Suggested reviewers: senamakel

Poem

I’m a rabbit with a pinned little link,
No moving branches—steady as a blink.
The source stays still, the trail stays bright,
Commit by commit, the docs hop right. 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the documentation change and the replacement of the dead link with a pinned vendored commit.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

YellowSnnowmann added a commit to YellowSnnowmann/openhuman that referenced this pull request Aug 21, 2026
`Markdown Link Check` went red on this branch: `src/openhuman/memory/README.md`
links to `tinymemory/tree/main/core/src`, and upstream tinyhumansai#73 moved every crate
under `crates/`, so that path is a 404.

The README link is now pinned to the commit this branch vendors
(`1d6b997`) rather than to `main`, so it describes the code the repo actually
compiles and cannot rot the next time upstream moves a directory. Overlaps
tinyhumansai#5654, which pins the same line to the *previous* vendored commit; whichever
lands second should keep the SHA that matches the submodule.

The same rename left six links in `gitbooks/features/obsidian-wiki/scoring.md`
and one path in `AGENTS.md` pointing at directories that no longer exist. Those
are outside the link checker's globs, so nothing reported them. All seven
targets verified to resolve.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: p3 Whenever. Cosmetic, a nicety, or a cleanup with no user visible effect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant