Title: Design: recommendations for ID — similar objects and similar users, across all object types · Issue #5732 · developing-today/code · GitHub
Open Graph Title: Design: recommendations for ID — similar objects and similar users, across all object types · Issue #5732 · developing-today/code
X Title: Design: recommendations for ID — similar objects and similar users, across all object types · Issue #5732 · developing-today/code
Description: Design: recommendations for ID — similar objects and similar users, across all object types Extends #5675 (querying / discovery). Related: #5677 (notes / boards / multiplayer editing), #5678 (knowledge layer), #5683 (residency & boundari...
Open Graph Description: Design: recommendations for ID — similar objects and similar users, across all object types Extends #5675 (querying / discovery). Related: #5677 (notes / boards / multiplayer editing), #5678 (knowl...
X Description: Design: recommendations for ID — similar objects and similar users, across all object types Extends #5675 (querying / discovery). Related: #5677 (notes / boards / multiplayer editing), #5678 (knowl...
Opengraph URL: https://github.com/developing-today/code/issues/5732
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Design: recommendations for ID — similar objects and similar users, across all object types","articleBody":"# Design: recommendations for ID — similar objects and similar users, across all object types\n\nExtends #5675 (querying / discovery). Related: #5677 (notes / boards / multiplayer editing), #5678 (knowledge layer), #5683 (residency & boundaries — sensitivity rules below lean on it), #5669 (staging tier — computation placement).\n\n## The gap\n\n#5675 covers *finding* things in ID when you know what you're looking for (search, local and remote). It does not cover *being shown* things you didn't ask for: \"worlds like this one\", \"documents people in your position read next\", \"users working on similar things\". Search answers intent; recommendations create discovery. Drew (2026-11-04): file this for ID across **all object types**, not just worlds, and take similar-user view metrics into account.\n\n## Scope — all object types\n\nThe recommender treats every first-class ID object type uniformly:\n\n- worlds, documents, notes, boards, chats / message threads, programs, and **users themselves** (\"people working on similar things\").\n- Every recommendation is a typed edge: `(subject object, recommended object, signal, score, computed_at)` — so any surface (a world's sidebar, a document's \"read next\", a home/discovery feed, a board's header) renders the same underlying data.\n\n## Signals (v1 is arithmetic, not a trained model)\n\n1. **Item–item co-occurrence (Jaccard over interaction sets).** Two objects are similar when the sets of users who viewed / joined / edited them overlap. Jaccard similarity over those sets is the score. This is the classic collaborative signal and needs no ML infrastructure — set arithmetic over interaction logs.\n2. **User–user similarity (\"similar users viewed\").** Users are similar when their view / interaction histories overlap (Jaccard or cosine over each user's object-interaction set). A user's recommendations then include objects that *similar users* engaged with and the user has not seen. Drew's requirement (2026-11-04): this signal is in scope from v1, not a later phase — weighted alongside item–item, not replacing it.\n3. **Content-based cold start.** A new object has no interactions to overlap. Fall back to the embedding scan (the atlas machinery: dense cosine over descriptions / content) until interaction data accrues; a new *user* starts from content similarity of the objects they first touch. Cold-start edges are labeled with their signal so surfaces can present them differently if wanted.\n\n## Sensitivity rules (hard constraints, from #5683 / #5675)\n\n- A recommendation never crosses a sensitivity boundary: an object is only ever recommended to users who could already access it. The recommender filters by the requester's visibility *before* ranking, not after.\n- Similar-user metrics are computed only over interactions with objects visible to the requester. (\"People like you read X\" must never leak the existence of a private X, nor that a specific user read anything.)\n- No per-user reading history is ever surfaced to another user — only aggregate similarity outcomes (\"similar users viewed\"), never identities or histories. An opt-out from contributing interaction data to similarity computation should exist and be cheap to honor.\n\n## Computation placement (staging tier pattern, #5669)\n\n- Recommendations are **computed periodically into tables**, not per request: interaction aggregates accumulate in a staging DB; a batch pass computes similarity edges and promotes them into the core tier keyed by object, so reads are simple lookups.\n- Recency decay: interactions age — a view from a year ago should weigh less than one from this week (decay function is an open question below).\n- Recompute cost is bounded by the interaction graph's active slice, not the whole history.\n\n## Open questions for the design pass\n\n- Decay + diversity: pure similarity collapses into an echo of what's already popular — what diversity / serendipity term keeps suggestions non-obvious? (At minimum: cap how many recommendations one very popular object can occupy.)\n- Freshness vs stability: how often to recompute so suggestions feel alive without churning between visits?\n- Feedback loop accounting: when a user follows a recommendation, that interaction itself becomes similarity data — how do we keep the system from amplifying its own suggestions into fake consensus?\n- Evaluation: what do we measure — follow-through rate (clicked / joined / read), and against what baseline (recency-ordered, popularity-ordered)?\n\n## Non-goals for v1\n\n- No trained ranking model / matrix factorization — revisit only if the arithmetic signals measurably plateau.\n- No cross-server recommendation federation until #5675's remote querying settles its sensitivity story; v1 is per-server (or per-owner-data) only.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T00:49:30Z","url":"https://github.com/developing-today/code/issues/5732"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f5d0789e-8e94-bbaa-f920-4907dc9758bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C260:3CBF9:9493F7:BF588F:6B062FB1 |
| html-safe-nonce | 3e2fb06ea234e81f0adb0ac9ccf58e2d8543c286358fb1df18bf6e1c7938bfbd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjYwOjNDQkY5Ojk0OTNGNzpCRjU4OEY6NkIwNjJGQjEiLCJ2aXNpdG9yX2lkIjoiNjI2MTA0MTg5NTI2MzU4MDA4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 28f09bb106ee23ef717a9edbb54e749f5dbde55bde49c8c8e6855eb3cf87a5e4 |
| hovercard-subject-tag | issue:6214350543 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/5732/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f3b0ba6dfae8b10c3e0b35985d586c99393199c80bcab138a32feb363faaa7a1/developing-today/code/issues/5732 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f3b0ba6dfae8b10c3e0b35985d586c99393199c80bcab138a32feb363faaa7a1/developing-today/code/issues/5732 |
| og:image:alt | Design: recommendations for ID — similar objects and similar users, across all object types Extends #5675 (querying / discovery). Related: #5677 (notes / boards / multiplayer editing), #5678 (knowl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width