René's URL Explorer Experiment


Title: fix(provenance): stop requiring a projection of roots no model sees by icecrasher321 · Pull Request #6981 · simstudioai/sim · GitHub

Open Graph Title: fix(provenance): stop requiring a projection of roots no model sees by icecrasher321 · Pull Request #6981 · simstudioai/sim

X Title: fix(provenance): stop requiring a projection of roots no model sees by icecrasher321 · Pull Request #6981 · simstudioai/sim

Description: Summary A secretProvenance selection is the opposite mechanism to a projected model input: the value reaches an internal API unchanged, with its provenance alongside it in the private bundle, precisely so nothing has to be substituted. selectBlockBoundaryPaths marked those roots required-to-project anyway. That made a projection failure fatal for tools with no way to project. createStructuredModelProjection rescues only a mode: 'project' tool with an applyProjected, so for the ~21 secretProvenance-only tools (memory, file, knowledge, all the table tools) it returns undefined on its first check. table_insert_row declares no modelInput at all — nothing on that path reaches a model. In prod this fired as: the Table block's params threw on its projected data, the whole run's registry latched, and every later boundary in that run lost provenance — including the table write that prompted it, whose rows were then stored unknown and re-reported on every subsequent read. Those paths are still tracked for provenance export; none of them is required to project. A root is required to project when a model will see it, which is what modelInput declares. Separately: a crossing that carried no provenance is now distinguished from one that was rejected, so a run that failed before producing any stops reporting a by-design state as an originating fault at error level. And the first guard's location is carried into the diagnostics a refusal reports, so a downstream reporter names where rather than only what — the ModelInputProvenance line had no tool field at all. Type of Change Bug fix Testing Tested manually. bun run lint, all 24 CI audits, and type-check pass. 4,459 tests pass across the executor, provenance, table, and secret-provenance suites, including a regression test that a bundle-only tool keeps vouching when its block params throws on projected inputs — verified to fail against the previous behaviour. Note for review: the reproduction test makes params throw on any projected input rather than replicating the exact JSON shape that breaks in prod. prepareResolvedSecretProjectedInputs preserves JSON grammar and substitutes inside it, so the common case parses fine; which shape breaks isn't known and doesn't change the invariant under test — a bundle-only tool must not latch the registry when it cannot project. 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 A secretProvenance selection is the opposite mechanism to a projected model input: the value reaches an internal API unchanged, with its provenance alongside it in the private bundle, prec...

X Description: Summary A secretProvenance selection is the opposite mechanism to a projected model input: the value reaches an internal API unchanged, with its provenance alongside it in the private bundle, prec...

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

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:58b564b6-5119-8151-c95b-2bb7a76dcc25
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id99D4:1D4A3:B544F9:F86FDF:6AFB521E
html-safe-nonce840706f2d945dff659428748d779583d2118e6b422a7f93a1e5f09b145c0de1d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUQ0OjFENEEzOkI1NDRGOTpGODZGREY6NkFGQjUyMUUiLCJ2aXNpdG9yX2lkIjoiNzI4OTgwODY5ODYzOTg2NDM1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdb9e59931755d75837ba1239a80c91e874e7326cfc3519e619743d5e3a930b2a
hovercard-subject-tagpull_request:4339491786
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/6981/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 A secretProvenance selection is the opposite mechanism to a projected model input: the value reaches an internal API unchanged, with its provenance alongside it in the private bundle, prec...
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/6981/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6981%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%2F6981%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/6981/files
Reloadhttps://github.com/simstudioai/sim/pull/6981/files
Reloadhttps://github.com/simstudioai/sim/pull/6981/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
provenance/dont-require-projecting-bundle-rootshttps://github.com/simstudioai/sim/tree/provenance/dont-require-projecting-bundle-roots
Conversation 7 https://github.com/simstudioai/sim/pull/6981
Commits 2 https://github.com/simstudioai/sim/pull/6981/commits
Checks 30 https://github.com/simstudioai/sim/pull/6981/checks
Files changed https://github.com/simstudioai/sim/pull/6981/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6981/files
fix(provenance): stop requiring a projection of roots no model sees https://github.com/simstudioai/sim/pull/6981/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/6981/files
f83c491 fix(provenance): stop requiring a projection of roots no model sees Aug 22, 2026 https://github.com/simstudioai/sim/pull/6981/commits/f83c491286a112fca78ac6c224ad043adf85472e
40f8761 fix(provenance): report where the guard tripped on a refusal too Aug 22, 2026 https://github.com/simstudioai/sim/pull/6981/commits/40f87613a40a80443646f12e3e97ebd0da90b3bd
Clear filters https://github.com/simstudioai/sim/pull/6981/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6981/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6981/files
generic-handler.test.ts https://github.com/simstudioai/sim/pull/6981/files#diff-87a5e8b0aa6e5176bdc2c40aeda634d458ec493035cd208a01a69f0277d5e288
generic-handler.ts https://github.com/simstudioai/sim/pull/6981/files#diff-e9b4c61bba29ab1ef120fb57b51607c34afc9de93d0fe2dfe9e5cc4d2ebf8bfd
resolved-secret-projection-refusal.test.ts https://github.com/simstudioai/sim/pull/6981/files#diff-2611832c68f88adc4b348f6cf1c443e954e9653bf754d3ff490c1179de93f483
resolved-secret-projection-refusal.ts https://github.com/simstudioai/sim/pull/6981/files#diff-1b38df8510d88da9fc2a2d0e53166d2a40c9a18151294f258ec7bc85e7ec75ba
resolved-secret-trace-registry.test.ts https://github.com/simstudioai/sim/pull/6981/files#diff-6a951339566d1c8718b8d7e4776e3b8babd34c01fbbf1e095c2d7e1062abd39d
resolved-secret-trace-registry.ts https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
apps/sim/executor/handlers/generic/generic-handler.test.tshttps://github.com/simstudioai/sim/pull/6981/files#diff-87a5e8b0aa6e5176bdc2c40aeda634d458ec493035cd208a01a69f0277d5e288
View file https://github.com/simstudioai/sim/blob/40f87613a40a80443646f12e3e97ebd0da90b3bd/apps/sim/executor/handlers/generic/generic-handler.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6981/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6981/files#diff-87a5e8b0aa6e5176bdc2c40aeda634d458ec493035cd208a01a69f0277d5e288
https://github.com/simstudioai/sim/pull/6981/files#diff-87a5e8b0aa6e5176bdc2c40aeda634d458ec493035cd208a01a69f0277d5e288
apps/sim/executor/handlers/generic/generic-handler.tshttps://github.com/simstudioai/sim/pull/6981/files#diff-e9b4c61bba29ab1ef120fb57b51607c34afc9de93d0fe2dfe9e5cc4d2ebf8bfd
View file https://github.com/simstudioai/sim/blob/40f87613a40a80443646f12e3e97ebd0da90b3bd/apps/sim/executor/handlers/generic/generic-handler.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6981/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6981/files#diff-e9b4c61bba29ab1ef120fb57b51607c34afc9de93d0fe2dfe9e5cc4d2ebf8bfd
https://github.com/simstudioai/sim/pull/6981/files#diff-e9b4c61bba29ab1ef120fb57b51607c34afc9de93d0fe2dfe9e5cc4d2ebf8bfd
apps/sim/executor/utils/resolved-secret-projection-refusal.test.tshttps://github.com/simstudioai/sim/pull/6981/files#diff-2611832c68f88adc4b348f6cf1c443e954e9653bf754d3ff490c1179de93f483
View file https://github.com/simstudioai/sim/blob/40f87613a40a80443646f12e3e97ebd0da90b3bd/apps/sim/executor/utils/resolved-secret-projection-refusal.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6981/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6981/files#diff-2611832c68f88adc4b348f6cf1c443e954e9653bf754d3ff490c1179de93f483
https://github.com/simstudioai/sim/pull/6981/files#diff-2611832c68f88adc4b348f6cf1c443e954e9653bf754d3ff490c1179de93f483
apps/sim/executor/utils/resolved-secret-projection-refusal.tshttps://github.com/simstudioai/sim/pull/6981/files#diff-1b38df8510d88da9fc2a2d0e53166d2a40c9a18151294f258ec7bc85e7ec75ba
View file https://github.com/simstudioai/sim/blob/40f87613a40a80443646f12e3e97ebd0da90b3bd/apps/sim/executor/utils/resolved-secret-projection-refusal.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6981/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6981/files#diff-1b38df8510d88da9fc2a2d0e53166d2a40c9a18151294f258ec7bc85e7ec75ba
https://github.com/simstudioai/sim/pull/6981/files#diff-1b38df8510d88da9fc2a2d0e53166d2a40c9a18151294f258ec7bc85e7ec75ba
apps/sim/executor/utils/resolved-secret-trace-registry.test.tshttps://github.com/simstudioai/sim/pull/6981/files#diff-6a951339566d1c8718b8d7e4776e3b8babd34c01fbbf1e095c2d7e1062abd39d
View file https://github.com/simstudioai/sim/blob/40f87613a40a80443646f12e3e97ebd0da90b3bd/apps/sim/executor/utils/resolved-secret-trace-registry.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6981/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6981/files#diff-6a951339566d1c8718b8d7e4776e3b8babd34c01fbbf1e095c2d7e1062abd39d
https://github.com/simstudioai/sim/pull/6981/files#diff-6a951339566d1c8718b8d7e4776e3b8babd34c01fbbf1e095c2d7e1062abd39d
apps/sim/executor/utils/resolved-secret-trace-registry.tshttps://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
View file https://github.com/simstudioai/sim/blob/40f87613a40a80443646f12e3e97ebd0da90b3bd/apps/sim/executor/utils/resolved-secret-trace-registry.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6981/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
Please reload this pagehttps://github.com/simstudioai/sim/pull/6981/files
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
https://github.com/simstudioai/sim/pull/6981/files#diff-2174fa12ceaf7c6220eeeb43e2c3a89f7716e471bbe9504b3a69996bbb96952a
Please reload this pagehttps://github.com/simstudioai/sim/pull/6981/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.