René's URL Explorer Experiment


Title: fix(agent): authorize workspace attachments through execution delegation by icecrasher321 · Pull Request #7859 · simstudioai/sim · GitHub

Open Graph Title: fix(agent): authorize workspace attachments through execution delegation by icecrasher321 · Pull Request #7859 · simstudioai/sim

X Title: fix(agent): authorize workspace attachments through execution delegation by icecrasher321 · Pull Request #7859 · simstudioai/sim

Description: Summary Let Agent blocks read remembered workspace files in deployed chats through the same trusted executor delegation used by File blocks. Carry trusted execution context into large-file preflight and uploads, preserving provider formats and existing file authorization policies. Type of Change Bug fix Testing 428 tests across 14 files passed, including 12 PostgreSQL/storage/Agent/provider-SDK harness scenarios. The harness verifies persisted references and next-turn byte replay for OpenAI and Anthropic with streaming on/off; provider HTTP responses are synthetic. Negative controls cover missing delegation, wrong workspace, completed executions, mismatched deployments, and deleted files before provider HTTP. Registry-wide attachment strategies and OpenAI/Gemini large uploads are covered. An additional 15 real-authorization cases confirm unprefixed keys remain denied for standalone, session, and system callers. App/auth type-check, full lint, strict API validation, and all 46 audits passed. 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 Let Agent blocks read remembered workspace files in deployed chats through the same trusted executor delegation used by File blocks. Carry trusted execution context into large-file preflig...

X Description: Summary Let Agent blocks read remembered workspace files in deployed chats through the same trusted executor delegation used by File blocks. Carry trusted execution context into large-file preflig...

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

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:22dfc5e2-966d-a0dc-a68b-5593351e4fde
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94CA:C876F:644C14:8B5A2B:6AFB410F
html-safe-nonce5e8321a44681ea5a667384d4a68a2856f9ba49005896c4c95b775f70eff8a396
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NENBOkM4NzZGOjY0NEMxNDo4QjVBMkI6NkFGQjQxMEYiLCJ2aXNpdG9yX2lkIjoiNjQ2NDYwODM5MDAxNzEzODk1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc85f03768fdb7258e55c2dd3fc528d2fa41589bbce59f2a97b94b288597a86b6
hovercard-subject-tagpull_request:4541423428
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/7859/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 Let Agent blocks read remembered workspace files in deployed chats through the same trusted executor delegation used by File blocks. Carry trusted execution context into large-file preflig...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
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
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/7859/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F7859%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%2F7859%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/7859/files
Reloadhttps://github.com/simstudioai/sim/pull/7859/files
Reloadhttps://github.com/simstudioai/sim/pull/7859/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)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-agent-file-delegationhttps://github.com/simstudioai/sim/tree/codex/fix-agent-file-delegation
Conversation 8 https://github.com/simstudioai/sim/pull/7859
Commits 2 https://github.com/simstudioai/sim/pull/7859/commits
Checks 33 https://github.com/simstudioai/sim/pull/7859/checks
Files changed https://github.com/simstudioai/sim/pull/7859/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7859/files
fix(agent): authorize workspace attachments through execution delegation https://github.com/simstudioai/sim/pull/7859/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/7859/files
fd01018 fix(agent): authorize workspace attachments through execution delegation Sep 15, 2026 https://github.com/simstudioai/sim/pull/7859/commits/fd01018c6e31a09e35449d01fc3c909a4573cc3b
9531045 test(agent): preserve rejection of unprefixed attachment keys Sep 15, 2026 https://github.com/simstudioai/sim/pull/7859/commits/95310455b2bc28b2b0ad7e1a4d5031476e3801a9
Clear filters https://github.com/simstudioai/sim/pull/7859/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7859/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7859/files
agent-handler.test.ts https://github.com/simstudioai/sim/pull/7859/files#diff-5fa11051a09b82360438ce6a447b4eeb6faa66fa2f668ce615f81fb4ea906f07
agent-handler.ts https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
memory-harness.postgres.test.ts https://github.com/simstudioai/sim/pull/7859/files#diff-1e0a7e616f48b77baff561fabe72226d97fa355d8991d4fbe87117c5348dba95
materialization-context.test.ts https://github.com/simstudioai/sim/pull/7859/files#diff-347406643717dd6ddbab264b6dd4c889b543b6c594d0c8b4861f84132c607799
materialization-context.ts https://github.com/simstudioai/sim/pull/7859/files#diff-cabafaff3c72ffe44b7cf6b13cd031df933709a10ac2edaf0003a52b135cc11d
file-attachments-authorization.test.ts https://github.com/simstudioai/sim/pull/7859/files#diff-8181da2ebe6e071ed734a022fdfa0f3e4c43115d457381d557219415c51ffdc5
file-attachments.server.test.ts https://github.com/simstudioai/sim/pull/7859/files#diff-76b1b54c8ec8ef0f144a4dc7ff1eaab4b7cd6254b45c0661d4e532d31e6782b7
file-attachments.server.ts https://github.com/simstudioai/sim/pull/7859/files#diff-4dbc4dcc7f878e1d2c187f4a3c55273df3d64c45612b62e427f66a08054af1f7
index.test.ts https://github.com/simstudioai/sim/pull/7859/files#diff-457f24777e278f328941b561bacfb240afbf5d793309275f6074dbcfd3772dc5
index.ts https://github.com/simstudioai/sim/pull/7859/files#diff-92244480a807def297332120dcdc4194e4456e8afedcd04786ddff18f495d51a
apps/sim/executor/handlers/agent/agent-handler.test.tshttps://github.com/simstudioai/sim/pull/7859/files#diff-5fa11051a09b82360438ce6a447b4eeb6faa66fa2f668ce615f81fb4ea906f07
View file https://github.com/simstudioai/sim/blob/95310455b2bc28b2b0ad7e1a4d5031476e3801a9/apps/sim/executor/handlers/agent/agent-handler.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7859/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7859/files#diff-5fa11051a09b82360438ce6a447b4eeb6faa66fa2f668ce615f81fb4ea906f07
https://github.com/simstudioai/sim/pull/7859/files#diff-5fa11051a09b82360438ce6a447b4eeb6faa66fa2f668ce615f81fb4ea906f07
apps/sim/executor/handlers/agent/agent-handler.tshttps://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
View file https://github.com/simstudioai/sim/blob/95310455b2bc28b2b0ad7e1a4d5031476e3801a9/apps/sim/executor/handlers/agent/agent-handler.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/7859/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
https://github.com/simstudioai/sim/pull/7859/files#diff-99cbd7f57b71719ca1561f15e7aecdc9f7a969ae5ea3589aee9fa64b3c9bf614
Please reload this pagehttps://github.com/simstudioai/sim/pull/7859/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/7859/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.