René's URL Explorer Experiment


Title: fix(provenance): close durable writer and reader gaps by icecrasher321 · Pull Request #7584 · simstudioai/sim · GitHub

Open Graph Title: fix(provenance): close durable writer and reader gaps by icecrasher321 · Pull Request #7584 · simstudioai/sim

X Title: fix(provenance): close durable writer and reader gaps by icecrasher321 · Pull Request #7584 · simstudioai/sim

Description: Summary Preserve memory provenance across tool and Agent writes, sanitized messages, and concurrent first appends. Recover usable historical bindings without newly blocking legacy reads. Keep newly combined file content unsafe when unrecorded bytes are mixed with known secrets. Preserve existing legacy and unrecorded-only behavior. Count distinct secrets across durable message and column bindings, retain selection and source scope, and enforce byte budgets incrementally. Remove redundant hash limits and intermediate copies. Apply the existing policy before knowledge reranking and table snapshot mounts. Retain all rollout flags, improve writer/refusal diagnostics, and clarify the documented compatibility policy. Type of Change Bug fix Testing 414 tests passed across 28 suites, including file append-to-model projection, V2 route-to-provider payload checks, and real PostgreSQL memory/table integration tests under both flag settings. PostgreSQL regressions cover concurrent first appends, 17,000-message histories, 11,000 column bindings, derived transformations, and real secret/byte limit failures. These suites run in CI. Lint, all 46 repository audits, generated-artifact checks, and all 26 workspace type checks passed on the latest staging base. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Preserve memory provenance across tool and Agent writes, sanitized messages, and concurrent first appends. Recover usable historical bindings without newly blocking legacy reads. Keep newl...

X Description: Summary Preserve memory provenance across tool and Agent writes, sanitized messages, and concurrent first appends. Recover usable historical bindings without newly blocking legacy reads. Keep newl...

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

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:46c3d1d8-83a6-fa36-787b-31018de28d2d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD852:305156:254275:340DF6:6AFB5223
html-safe-nonce824f2d769f63106c1fd8c36162ca906e00c5042dc67cce11e5aeb56c381673d7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODUyOjMwNTE1NjoyNTQyNzU6MzQwREY2OjZBRkI1MjIzIiwidmlzaXRvcl9pZCI6IjYxMTQ5NjcyMjcxNDI0NTk5MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac08063ba3c575e027232b3b33f62d8387dd7262a649a846da0d20debfd48e093b
hovercard-subject-tagpull_request:4470023338
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/7584/files
twitter:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/17950982?s=400&v=4
og:image:altSummary Preserve memory provenance across tool and Agent writes, sanitized messages, and concurrent first appends. Recover usable historical bindings without newly blocking legacy reads. Keep newl...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
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
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7584/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7584%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%2F7584%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/7584/files
Reloadhttps://github.com/simstudioai/sim/pull/7584/files
Reloadhttps://github.com/simstudioai/sim/pull/7584/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)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
icecrasher321https://github.com/icecrasher321
staginghttps://github.com/simstudioai/sim/tree/staging
codex/fix-durable-provenance-gapshttps://github.com/simstudioai/sim/tree/codex/fix-durable-provenance-gaps
Conversation 8 https://github.com/simstudioai/sim/pull/7584
Commits 2 https://github.com/simstudioai/sim/pull/7584/commits
Checks 32 https://github.com/simstudioai/sim/pull/7584/checks
Files changed https://github.com/simstudioai/sim/pull/7584/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7584/files
fix(provenance): close durable writer and reader gaps https://github.com/simstudioai/sim/pull/7584/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/7584/files
d5fe948 fix(provenance): close durable writer and reader gaps Sep 8, 2026 https://github.com/simstudioai/sim/pull/7584/commits/d5fe948f91661c3a1c9cdca3df2c6ea5ebb085e9
8a65a76 fix(provenance): preserve mixed files and repeated durable bindings Sep 8, 2026 https://github.com/simstudioai/sim/pull/7584/commits/8a65a76c7cbaa0e9416db46c1195945505321ec1
Clear filters https://github.com/simstudioai/sim/pull/7584/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7584/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7584/files
test-build.yml https://github.com/simstudioai/sim/pull/7584/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
openapi-v2-knowledge.json https://github.com/simstudioai/sim/pull/7584/files#diff-c15da3de30ec533f5aedd9a2862e8afdb8e2a58490fe681b97959638218bf99e
route.provenance.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-630fba1349acab836a3919a6d81cb94484c212424bdb6b2f9390cc787c8836d5
index.mdx https://github.com/simstudioai/sim/pull/7584/files#diff-b94164b4dbf17865454616c83929a24a38dcf7d51d291551a65659dbd12c1952
memory.ts https://github.com/simstudioai/sim/pull/7584/files#diff-23c712c43b14d7af7642ab86a5286dfa4eb5a332a0c96c1bcae71f2e22ea1069
knowledge.ts https://github.com/simstudioai/sim/pull/7584/files#diff-c7ab870eebc0406366d61a889822d9c2d4ba509e875e466d6b9001bffff2bf89
client-completion-seal.server.ts https://github.com/simstudioai/sim/pull/7584/files#diff-ce7443fd1dbb71880c4752e32d3685c03cd539321aed1f15cb63101d63870b3f
client.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-97a85f4fc251d1eed70f82c16edec4f21f9baa1217dc80a437569d7941d3518a
client.ts https://github.com/simstudioai/sim/pull/7584/files#diff-a38fa8f174ad309f5e11c0475f57c049257e611602f5b21dc352ffe56aa73666
encryption.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-67c4c21f59a2fc02f2f76bbac6fe64ad58ac8cf5d1168d6d3842fe9de942e618
encryption.ts https://github.com/simstudioai/sim/pull/7584/files#diff-2871834903a1a904e1257d208dad961c2e4cb49f57ee5a74afb97a74c7595fc3
durable-secret-provenance-enforcement.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-861a061ae440092bc3117885916f1c1ffe4bab101690fffd0658c3ddb69a4fdb
durable-secret-provenance-enforcement.ts https://github.com/simstudioai/sim/pull/7584/files#diff-a9cbbb33d846c424c713d03a975eff6b131648cc60052d78fcc3b2b16e8d0000
durable-secret-provenance.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-67e2b57a9ba95f0f82671954b64af1c4c3fc094152cb4c0e12185b9ac4fb22f4
durable-secret-provenance.ts https://github.com/simstudioai/sim/pull/7584/files#diff-3de9d3c40a70292ffcee710d93cfb33e05030e20daea6798c52692d623e0594d
provenance-budget.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-a0ec488bafe93cdce1771b3de8d5e13fbfadab23733a2d277cc5792bcb0faf01
provenance-budget.ts https://github.com/simstudioai/sim/pull/7584/files#diff-42eba771b24a967cf750a748f62d261103d7f747edddf0985bc30fcfc9454afd
operations.provenance.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-1e12e6dcbf946393c592a000ece9e749990fade6781acfd60c214f2ca46d4fac
route-policies.ts https://github.com/simstudioai/sim/pull/7584/files#diff-48beeb75d0d5dbf28af4bd85257047354ecc94824df8825fc5a35ec8cef3e387
add-workspace-files.ts https://github.com/simstudioai/sim/pull/7584/files#diff-46159b55a823bbe7f57e8fe05bda3b42236c497a0f7441d826f6f53bebb2fa7b
chunks.ts https://github.com/simstudioai/sim/pull/7584/files#diff-ba0c23039f1a9c819b81d833e0726da4963614822d3c641ec0eb83812f061fe9
search.ts https://github.com/simstudioai/sim/pull/7584/files#diff-6d92dc3a4dd3235b5c805a3ef81a2a271e98cc2632caf3274d8a1ac938644934
secret-provenance.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-ed96483b123d9d69039712f306c793edc99708805253b0c684c2902e6e610d31
secret-provenance.ts https://github.com/simstudioai/sim/pull/7584/files#diff-79668df40a7e0c39ee6c4f5ac7eb3945da1a3752940303c36ebb6d76e70e13d7
use-cases.ts https://github.com/simstudioai/sim/pull/7584/files#diff-3634eebac370d592a12eeec19f9e9a5095389a7459447a2766cb43583b01416e
locks.ts https://github.com/simstudioai/sim/pull/7584/files#diff-d81c2aa16405398101577abb4d858c1eb1e12b0b643efcbfef982ac8348a60c6
message-provenance.postgres.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-3779771407c4abf5cf3580b566ed23d3c9c785cf903733261638e27740183530
message-provenance.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-6baa14a90e12382fa22f911beb79c8e0e129804281a01da79d9a0d297dda9566
secret-provenance.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-4214c64622e3d9ff1dda66fe230c7a80812523885905bed810299c6e732d5b2a
secret-provenance.ts https://github.com/simstudioai/sim/pull/7584/files#diff-40d0e3ce3fa5b3389ec03583bd8be743328c44d091ceb19c149b7e9876574173
secret-provenance.postgres.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-65a6c6219b51ab1d73efc5635812029f2a7e1c3e3250a7052f40cdf376c34e90
secret-provenance.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-4e2facc05c9672f2c4ebeb7da66a3c223dadd6edeeb804a188eec7db6473197e
secret-provenance.ts https://github.com/simstudioai/sim/pull/7584/files#diff-c596e887466f07fe84d02c25ab4be5746779df0d5c35286bf9ad0c7a87ab65af
workspace-file-secret-provenance.test.ts https://github.com/simstudioai/sim/pull/7584/files#diff-a135e689defc3929a9b013c97cea9f63ba19913b4bba84a760d2ea5399dcd920
workspace-file-secret-provenance.ts https://github.com/simstudioai/sim/pull/7584/files#diff-dc9f5d8bcbc26f92094970ec14aa86da31ab479567fc6c6997b5ba3bd839c998
.github/workflows/test-build.ymlhttps://github.com/simstudioai/sim/pull/7584/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
View file https://github.com/simstudioai/sim/blob/8a65a76c7cbaa0e9416db46c1195945505321ec1/.github/workflows/test-build.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7584/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7584/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/7584/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/7584/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/7584/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
apps/docs/openapi-v2-knowledge.jsonhttps://github.com/simstudioai/sim/pull/7584/files#diff-c15da3de30ec533f5aedd9a2862e8afdb8e2a58490fe681b97959638218bf99e
View file https://github.com/simstudioai/sim/blob/8a65a76c7cbaa0e9416db46c1195945505321ec1/apps/docs/openapi-v2-knowledge.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7584/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7584/files#diff-c15da3de30ec533f5aedd9a2862e8afdb8e2a58490fe681b97959638218bf99e
https://github.com/simstudioai/sim/pull/7584/files#diff-c15da3de30ec533f5aedd9a2862e8afdb8e2a58490fe681b97959638218bf99e
https://github.com/simstudioai/sim/pull/7584/files#diff-c15da3de30ec533f5aedd9a2862e8afdb8e2a58490fe681b97959638218bf99e
https://github.com/simstudioai/sim/pull/7584/files#diff-c15da3de30ec533f5aedd9a2862e8afdb8e2a58490fe681b97959638218bf99e
apps/sim/app/api/v2/knowledge/search/route.provenance.test.tshttps://github.com/simstudioai/sim/pull/7584/files#diff-630fba1349acab836a3919a6d81cb94484c212424bdb6b2f9390cc787c8836d5
View file https://github.com/simstudioai/sim/blob/8a65a76c7cbaa0e9416db46c1195945505321ec1/apps/sim/app/api/v2/knowledge/search/route.provenance.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7584/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/7584/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7584/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.