René's URL Explorer Experiment


Title: improvement(search): shorter live document IDs by waleedlatif1 · Pull Request #9794 · simstudioai/sim · GitHub

Open Graph Title: improvement(search): shorter live document IDs by waleedlatif1 · Pull Request #9794 · simstudioai/sim

X Title: improvement(search): shorter live document IDs by waleedlatif1 · Pull Request #9794 · simstudioai/sim

Description: Summary Live search document IDs were live: + base64 of a JSON object naming the reader, scope, account and document (~270-375 chars, ~175-245 tokens). Clients re-read them every turn and copy them verbatim into reads New searches mint live2: IDs: provider~account~id~container~kind~thread~revision~binding~checksum, ~65-135 chars (~47-64 tokens) Reader and scope come from the request: the old fields were never an authorization boundary (unsigned), reads still re-resolve the account among the reader's own accounts in scope and re-verify the document A 6-char checksum makes a truncated or edited copy ask for a new search instead of naming another document Only the separator, % and control characters are escaped, so an ID is never longer than the old form and any string encodes Old live: IDs still read, with their reader/scope check unchanged Every ID comparison (filters, read check, continuation fingerprint, MCP batch dedupe, citation IDs) goes through a canonical document key, so old and new forms of one document match Type of Change Improvement Testing New reference.test.ts + updated application/filters/MCP server tests; 6 new tests seen failing on the previous encoding (truncation, edit, unpaired surrogate, length, mixed-form batch dedupe) and passing now Targeted vitest: lib/sim-search/live, lib/knowledge/search, lib/knowledge/mcp, mothership knowledge tools, chat citations, message-content citations (1,356 passed); biome on changed files; type-check, audits and integration in CI Paired Claude-as-MCP-client benchmark (Sonnet 5.5, prompt caching, 83 cases × 2, judged; vs two control runs of staging): input tokens per question −15k to −19k, model time −1.0 to −1.5 s, tool and schema errors to zero, correctness and completeness flat or up on both dev and held-out splits Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA) 🤖 Generated with Claude Code

Open Graph Description: Summary Live search document IDs were live: + base64 of a JSON object naming the reader, scope, account and document (~270-375 chars, ~175-245 tokens). Clients re-read them every turn and copy the...

X Description: Summary Live search document IDs were live: + base64 of a JSON object naming the reader, scope, account and document (~270-375 chars, ~175-245 tokens). Clients re-read them every turn and copy the...

Opengraph URL: https://github.com/simstudioai/sim/pull/9794

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:c5bcdbe4-64bf-0c6f-4848-8ae20eceeeb8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC48E:27DCD7:1C5C96B:2660081:6AFB90B1
html-safe-noncee9e1cad9ab1d541ee4b2f3a1e00fce4a332874077f904cbde8c34fc3cbb65ac7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDhFOjI3RENENzoxQzVDOTZCOjI2NjAwODE6NkFGQjkwQjEiLCJ2aXNpdG9yX2lkIjoiNjUwNDgzOTg1OTc3OTg5OTU2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace1b73d815924de2f59b71c044c698aa256f74fe028e3be060090597898030412
hovercard-subject-tagpull_request:5206759096
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9794/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Live search document IDs were live: + base64 of a JSON object naming the reader, scope, account and document (~270-375 chars, ~175-245 tokens). Clients re-read them every turn and copy the...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4f01efe06174a5ba6342fd58e42d02295e0675bedbb465d6bef2dbaec8e46556
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea52db8866b6543b4e83730cd6a6b1360f1a9e4dc
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9794/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9794%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9794%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/9794/files
Reloadhttps://github.com/simstudioai/sim/pull/9794/files
Reloadhttps://github.com/simstudioai/sim/pull/9794/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
improvement/live-search-short-ids-v2https://github.com/simstudioai/sim/tree/improvement/live-search-short-ids-v2
Conversation 13 https://github.com/simstudioai/sim/pull/9794
Commits 3 https://github.com/simstudioai/sim/pull/9794/commits
Checks 83 https://github.com/simstudioai/sim/pull/9794/checks
Files changed https://github.com/simstudioai/sim/pull/9794/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9794/files
improvement(search): shorter live document IDs https://github.com/simstudioai/sim/pull/9794/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/9794/files
4021546 improvement(search): shorter live document IDs waleedlatif1 Nov 7, 2026 https://github.com/simstudioai/sim/pull/9794/commits/40215463abb16dda04fb1d77878b126c4933a95e
293d58c fix(search): refuse another reader's live ID as not found in this scope waleedlatif1 Nov 7, 2026 https://github.com/simstudioai/sim/pull/9794/commits/293d58ceeabd9c9531e56b977cde5af98255d39b
49c06dd fix(search): bind live IDs to their reader through the checksum, not … waleedlatif1 Nov 8, 2026 https://github.com/simstudioai/sim/pull/9794/commits/49c06dd1f2e097e6e784da35225afdb77907b88d
Clear filters https://github.com/simstudioai/sim/pull/9794/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9794/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9794/files
gitlab-federated.integration.ts https://github.com/simstudioai/sim/pull/9794/files#diff-a005879ca9d8cf3d00eb83de3b464f466da49e9d7cb2cfac4d573b21ba3acb46
citation.ts https://github.com/simstudioai/sim/pull/9794/files#diff-6eec49559760f33661e9ecef220c17a50556620aab433b2cba72c24a47f64dd2
filters.test.ts https://github.com/simstudioai/sim/pull/9794/files#diff-0c3b9299d4218f9a4b8e4f30985025951e1594e97b215892611ddbfbdda93d74
filters.ts https://github.com/simstudioai/sim/pull/9794/files#diff-38e0fe7709b1eff3d9849501a4157d27a32d74adf21a2af65ae5a89234394ca4
application.test.ts https://github.com/simstudioai/sim/pull/9794/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
application.ts https://github.com/simstudioai/sim/pull/9794/files#diff-151e464c65b5447415809287c8c227355b3d21309f26c9399b2e49c0cdd59608
reference.test.ts https://github.com/simstudioai/sim/pull/9794/files#diff-851748a5bd16eb9275b0a8daf7aa0217bd5ece002df9d80f739ade9d344b26f2
reference.ts https://github.com/simstudioai/sim/pull/9794/files#diff-4e00d53ad06e260b6d1febb510b5c4538ae130f0c39557e1e4a261b96a28125a
check-explicit-any.baseline.json https://github.com/simstudioai/sim/pull/9794/files#diff-780d04116ec981737479435cdb0364b49047711f2dfb93b671a9be50a1b0bb27
apps/sim/lib/knowledge/__integration__/gitlab-federated.integration.tshttps://github.com/simstudioai/sim/pull/9794/files#diff-a005879ca9d8cf3d00eb83de3b464f466da49e9d7cb2cfac4d573b21ba3acb46
View file https://github.com/simstudioai/sim/blob/49c06dd1f2e097e6e784da35225afdb77907b88d/apps/sim/lib/knowledge/__integration__/gitlab-federated.integration.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9794/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9794/files#diff-a005879ca9d8cf3d00eb83de3b464f466da49e9d7cb2cfac4d573b21ba3acb46
https://github.com/simstudioai/sim/pull/9794/files#diff-a005879ca9d8cf3d00eb83de3b464f466da49e9d7cb2cfac4d573b21ba3acb46
https://github.com/simstudioai/sim/pull/9794/files#diff-a005879ca9d8cf3d00eb83de3b464f466da49e9d7cb2cfac4d573b21ba3acb46
https://github.com/simstudioai/sim/pull/9794/files#diff-a005879ca9d8cf3d00eb83de3b464f466da49e9d7cb2cfac4d573b21ba3acb46
apps/sim/lib/knowledge/search/citation.tshttps://github.com/simstudioai/sim/pull/9794/files#diff-6eec49559760f33661e9ecef220c17a50556620aab433b2cba72c24a47f64dd2
View file https://github.com/simstudioai/sim/blob/49c06dd1f2e097e6e784da35225afdb77907b88d/apps/sim/lib/knowledge/search/citation.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9794/{{ revealButtonHref }}
apps/sim/lib/knowledge/search/filters.test.tshttps://github.com/simstudioai/sim/pull/9794/files#diff-0c3b9299d4218f9a4b8e4f30985025951e1594e97b215892611ddbfbdda93d74
View file https://github.com/simstudioai/sim/blob/49c06dd1f2e097e6e784da35225afdb77907b88d/apps/sim/lib/knowledge/search/filters.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9794/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9794/files#diff-0c3b9299d4218f9a4b8e4f30985025951e1594e97b215892611ddbfbdda93d74
https://github.com/simstudioai/sim/pull/9794/files#diff-0c3b9299d4218f9a4b8e4f30985025951e1594e97b215892611ddbfbdda93d74
apps/sim/lib/knowledge/search/filters.tshttps://github.com/simstudioai/sim/pull/9794/files#diff-38e0fe7709b1eff3d9849501a4157d27a32d74adf21a2af65ae5a89234394ca4
View file https://github.com/simstudioai/sim/blob/49c06dd1f2e097e6e784da35225afdb77907b88d/apps/sim/lib/knowledge/search/filters.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9794/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9794/files#diff-38e0fe7709b1eff3d9849501a4157d27a32d74adf21a2af65ae5a89234394ca4
https://github.com/simstudioai/sim/pull/9794/files#diff-38e0fe7709b1eff3d9849501a4157d27a32d74adf21a2af65ae5a89234394ca4
apps/sim/lib/sim-search/live/application.test.tshttps://github.com/simstudioai/sim/pull/9794/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
View file https://github.com/simstudioai/sim/blob/49c06dd1f2e097e6e784da35225afdb77907b88d/apps/sim/lib/sim-search/live/application.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9794/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9794/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
https://github.com/simstudioai/sim/pull/9794/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
https://github.com/simstudioai/sim/pull/9794/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
https://github.com/simstudioai/sim/pull/9794/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
https://github.com/simstudioai/sim/pull/9794/files#diff-af2d21accc00823b671d6bf1cb0dda2f0f273ebdb911e7ec9cdd52ea034a5c20
Please reload this pagehttps://github.com/simstudioai/sim/pull/9794/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9794/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.