René's URL Explorer Experiment


Title: feat(memory): authorize scoped access and durable cleanup by mzxchandra · Pull Request #8934 · simstudioai/sim · GitHub

Open Graph Title: feat(memory): authorize scoped access and durable cleanup by mzxchandra · Pull Request #8934 · simstudioai/sim

X Title: feat(memory): authorize scoped access and durable cleanup by mzxchandra · Pull Request #8934 · simstudioai/sim

Description: Summary Add live authorization for personal, workspace, and Project memories through direct HTTP and checkpoint transport. Keep personal/workspace memories available when Projects are disabled. Strip memory tool payloads from chat exports and queue durable cleanup with account and resource deletion. Stack on #8610; retarget after Project Files merges. Requires Mothership #689 for the matching worker contract and cleanup implementation. No Sim schema migration. Type of Change New feature Testing 19 real-database integration checks passed across memory authorization, export privacy, and durable cleanup; JSON report generated. 74 adjacent transcript, control-transport, and account-deletion regression tests passed. Changed-file Biome, app type-check, strict API validation, worker contract parity, and generated-artifact checks passed. Previously verified browser recall and writes with Projects off/on/off; not rerun during shipping. Current-head hosted CI: lint, unit tests, all integration shards, build, and the non-mobile E2E jobs passed. Mobile E2E failed when a notification overlay intercepted the Unlock Workflow tap; aggregate CI remains red. This has not been established as a baseline failure. Full suites were not duplicated locally. 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) Companion PRs simstudioai/mothership#689 Pinned to the expansion release (#689), head 69838a053204a70e911c18f25af5446463d6e9fb; memory-access, transport, and assistant-tool contract copies were verified byte-for-byte against that commit. Mothership #690 only contracts internal storage and is not this companion’s dependency.

Open Graph Description: Summary Add live authorization for personal, workspace, and Project memories through direct HTTP and checkpoint transport. Keep personal/workspace memories available when Projects are disabled. St...

X Description: Summary Add live authorization for personal, workspace, and Project memories through direct HTTP and checkpoint transport. Keep personal/workspace memories available when Projects are disabled. St...

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

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:591cd055-1f05-bff5-1460-66d4c1fe968d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7D0:2F2AB3:5E3E00:830316:6AFB3E66
html-safe-nonce1c37df2bec202369ecd8e930e63fe64ee6af185430599c91ea3bf2071ff270e6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0QwOjJGMkFCMzo1RTNFMDA6ODMwMzE2OjZBRkIzRTY2IiwidmlzaXRvcl9pZCI6IjIwNjM5NTU2MzI2MjgzODMzMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3678af45c2420984d0ad2b86cd5a360f66e4b2c2d889e6f17663f6fa22885ffb
hovercard-subject-tagpull_request:4834154482
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/8934/files
twitter:imagehttps://avatars.githubusercontent.com/u/129460234?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/129460234?s=400&v=4
og:image:altSummary Add live authorization for personal, workspace, and Project memories through direct HTTP and checkpoint transport. Keep personal/workspace memories available when Projects are disabled. St...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2169b0dfbef67ed6b128074a5ed45bb7d5d1859783b10178b09a7765ad5f3693
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
release3b4fc8df5ef1c6757e733a23e6b81b6725021823
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8934/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8934%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%2F8934%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/8934/files
Reloadhttps://github.com/simstudioai/sim/pull/8934/files
Reloadhttps://github.com/simstudioai/sim/pull/8934/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests202 (202)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
mzxchandrahttps://github.com/mzxchandra
codex/project-fileshttps://github.com/simstudioai/sim/tree/codex/project-files
codex/scoped-memory-accesshttps://github.com/simstudioai/sim/tree/codex/scoped-memory-access
Conversation 1 https://github.com/simstudioai/sim/pull/8934
Commits 1 https://github.com/simstudioai/sim/pull/8934/commits
Checks 2 https://github.com/simstudioai/sim/pull/8934/checks
Files changed https://github.com/simstudioai/sim/pull/8934/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8934/files
feat(memory): authorize scoped access and durable cleanup https://github.com/simstudioai/sim/pull/8934/files#top
Show all changes 1 commit https://github.com/simstudioai/sim/pull/8934/files
8d3e751 feat(memory): authorize scoped access and durable cleanup mzxchandra Oct 12, 2026 https://github.com/simstudioai/sim/pull/8934/commits/8d3e751d3f98615d4dfd191db3fce309270d890e
Clear filters https://github.com/simstudioai/sim/pull/8934/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8934/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8934/files
route.ts https://github.com/simstudioai/sim/pull/8934/files#diff-7042df4564f73680d895ac8e50bef51c55d9bad39daccef94e185e160c75714c
mothership-assistant-tools.ts https://github.com/simstudioai/sim/pull/8934/files#diff-4a3f929bd089a3a57383e4eea17d4bad18a08b6ab2721135c30f68134bfb8c4c
mothership-memories.ts https://github.com/simstudioai/sim/pull/8934/files#diff-50bcefaac22646b915be28e83b1ea739a1903916d966abbf2fdef55de3b47ea0
handlers.ts https://github.com/simstudioai/sim/pull/8934/files#diff-61deec24805d0e76abf8b08fc79ea963d8150e03c963cedf7d7e74fe675053fe
copilot-chats.ts https://github.com/simstudioai/sim/pull/8934/files#diff-f58d1881fe5e8dab05474ebef44f944865866d2860e7b4b49e5de95c65d9c733
coverage.integration.ts https://github.com/simstudioai/sim/pull/8934/files#diff-bb4247e3881c310f266035294e04cc1c088682295c6747098f77b654fb344dfa
persisted-message.ts https://github.com/simstudioai/sim/pull/8934/files#diff-1faeecc19a448ec1a06d94e9f15173be80eef721479b80608fa0b961eff2b280
memory-access.ts https://github.com/simstudioai/sim/pull/8934/files#diff-c777a0f098cdf80564c56b3f277aa2c116286b8709896978d29308065dcd5c40
sim-assistant-tools.generated.ts https://github.com/simstudioai/sim/pull/8934/files#diff-100134b15a7b3aab09d151a7966be447a2f3041fd7f22077c726c91fda74ed03
sim-transport.ts https://github.com/simstudioai/sim/pull/8934/files#diff-30b28b615a921a47910ef87c90ba7cc050aec5bfb6fc30fa094c97bd1e05db23
resolve-access.integration.ts https://github.com/simstudioai/sim/pull/8934/files#diff-4d7132b799c5e0656d426f03bb19179ec44031d9baf11d36e3f3f53edf2eb824
resolve-access.ts https://github.com/simstudioai/sim/pull/8934/files#diff-2084001238853603257049033967cc77203ec494abcc70aad83692477658b0bf
cleanup-event.ts https://github.com/simstudioai/sim/pull/8934/files#diff-46a78efb717b88af1177085973a1325b98701e4bb70ef9f78164e3879f4d3380
cleanup-outbox.ts https://github.com/simstudioai/sim/pull/8934/files#diff-36679b2904ac7e80ca8168f1be00e482c84f94ede467d79bf69b0dea2670a426
cleanup.integration.ts https://github.com/simstudioai/sim/pull/8934/files#diff-f96e1403a06b8a3e7e93ca705c14007cc95093144ac386c74569cd7bcbe6b64b
control.ts https://github.com/simstudioai/sim/pull/8934/files#diff-c3863475e6aa5e72581a15f12bcefefd47cb87a52cfc2f98760f785272b856ad
authorization.ts https://github.com/simstudioai/sim/pull/8934/files#diff-7c9fdf9a64376da0dab5c3130e6de2feb458d48778c6d845c1af61d86d6aedc9
account-deletion.ts https://github.com/simstudioai/sim/pull/8934/files#diff-0ad7b582145ede5bc28a9b4d0fdc670303e35dfff9f0be64a9750358c65b509b
apps/sim/app/api/mothership/memories/access/route.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-7042df4564f73680d895ac8e50bef51c55d9bad39daccef94e185e160c75714c
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/app/api/mothership/memories/access/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
apps/sim/lib/api/contracts/mothership-assistant-tools.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-4a3f929bd089a3a57383e4eea17d4bad18a08b6ab2721135c30f68134bfb8c4c
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/api/contracts/mothership-assistant-tools.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8934/files#diff-4a3f929bd089a3a57383e4eea17d4bad18a08b6ab2721135c30f68134bfb8c4c
https://github.com/simstudioai/sim/pull/8934/files#diff-4a3f929bd089a3a57383e4eea17d4bad18a08b6ab2721135c30f68134bfb8c4c
apps/sim/lib/api/contracts/mothership-memories.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-50bcefaac22646b915be28e83b1ea739a1903916d966abbf2fdef55de3b47ea0
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/api/contracts/mothership-memories.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
apps/sim/lib/core/outbox/handlers.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-61deec24805d0e76abf8b08fc79ea963d8150e03c963cedf7d7e74fe675053fe
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/core/outbox/handlers.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8934/files#diff-61deec24805d0e76abf8b08fc79ea963d8150e03c963cedf7d7e74fe675053fe
https://github.com/simstudioai/sim/pull/8934/files#diff-61deec24805d0e76abf8b08fc79ea963d8150e03c963cedf7d7e74fe675053fe
https://github.com/simstudioai/sim/pull/8934/files#diff-61deec24805d0e76abf8b08fc79ea963d8150e03c963cedf7d7e74fe675053fe
https://github.com/simstudioai/sim/pull/8934/files#diff-61deec24805d0e76abf8b08fc79ea963d8150e03c963cedf7d7e74fe675053fe
apps/sim/lib/data-drains/sources/copilot-chats.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-f58d1881fe5e8dab05474ebef44f944865866d2860e7b4b49e5de95c65d9c733
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/data-drains/sources/copilot-chats.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8934/files#diff-f58d1881fe5e8dab05474ebef44f944865866d2860e7b4b49e5de95c65d9c733
https://github.com/simstudioai/sim/pull/8934/files#diff-f58d1881fe5e8dab05474ebef44f944865866d2860e7b4b49e5de95c65d9c733
https://github.com/simstudioai/sim/pull/8934/files#diff-f58d1881fe5e8dab05474ebef44f944865866d2860e7b4b49e5de95c65d9c733
https://github.com/simstudioai/sim/pull/8934/files#diff-f58d1881fe5e8dab05474ebef44f944865866d2860e7b4b49e5de95c65d9c733
https://github.com/simstudioai/sim/pull/8934/files#diff-f58d1881fe5e8dab05474ebef44f944865866d2860e7b4b49e5de95c65d9c733
apps/sim/lib/data-drains/sources/coverage.integration.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-bb4247e3881c310f266035294e04cc1c088682295c6747098f77b654fb344dfa
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/data-drains/sources/coverage.integration.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8934/files#diff-bb4247e3881c310f266035294e04cc1c088682295c6747098f77b654fb344dfa
https://github.com/simstudioai/sim/pull/8934/files#diff-bb4247e3881c310f266035294e04cc1c088682295c6747098f77b654fb344dfa
apps/sim/lib/mothership/chat/persisted-message.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-1faeecc19a448ec1a06d94e9f15173be80eef721479b80608fa0b961eff2b280
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/mothership/chat/persisted-message.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8934/files#diff-1faeecc19a448ec1a06d94e9f15173be80eef721479b80608fa0b961eff2b280
https://github.com/simstudioai/sim/pull/8934/files#diff-1faeecc19a448ec1a06d94e9f15173be80eef721479b80608fa0b961eff2b280
apps/sim/lib/mothership/generated/memory-access.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-c777a0f098cdf80564c56b3f277aa2c116286b8709896978d29308065dcd5c40
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/mothership/generated/memory-access.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
apps/sim/lib/mothership/generated/sim-assistant-tools.generated.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-100134b15a7b3aab09d151a7966be447a2f3041fd7f22077c726c91fda74ed03
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/mothership/generated/sim-assistant-tools.generated.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8934/files#diff-100134b15a7b3aab09d151a7966be447a2f3041fd7f22077c726c91fda74ed03
https://github.com/simstudioai/sim/pull/8934/files#diff-100134b15a7b3aab09d151a7966be447a2f3041fd7f22077c726c91fda74ed03
apps/sim/lib/mothership/generated/sim-transport.tshttps://github.com/simstudioai/sim/pull/8934/files#diff-30b28b615a921a47910ef87c90ba7cc050aec5bfb6fc30fa094c97bd1e05db23
View file https://github.com/simstudioai/sim/blob/8d3e751d3f98615d4dfd191db3fce309270d890e/apps/sim/lib/mothership/generated/sim-transport.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8934/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8934/files#diff-30b28b615a921a47910ef87c90ba7cc050aec5bfb6fc30fa094c97bd1e05db23
https://github.com/simstudioai/sim/pull/8934/files#diff-30b28b615a921a47910ef87c90ba7cc050aec5bfb6fc30fa094c97bd1e05db23
https://github.com/simstudioai/sim/pull/8934/files#diff-30b28b615a921a47910ef87c90ba7cc050aec5bfb6fc30fa094c97bd1e05db23
Please reload this pagehttps://github.com/simstudioai/sim/pull/8934/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8934/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.