René's URL Explorer Experiment


Title: perf(tools): guard the tool-registry client boundary in CI by waleedlatif1 · Pull Request #6156 · simstudioai/sim · GitHub

Open Graph Title: perf(tools): guard the tool-registry client boundary in CI by waleedlatif1 · Pull Request #6156 · simstudioai/sim

X Title: perf(tools): guard the tool-registry client boundary in CI by waleedlatif1 · Pull Request #6156 · simstudioai/sim

Description: Stacked on #6155 → #6153 → #6152 → #6151. Bases retarget as each merges. Makes the win from #6155 permanent. Why a lint and not a convention The registry was 71–82% of every workspace route's module graph, and the two edges that put it there were invisible at the call site: providers/utils.ts imported mergeToolParameters mcp-dynamic-args.tsx imported formatParameterLabel Neither looks remotely like "pull in 4,700 modules of SDK clients." A reviewer will not catch the third one either. What it does check-tool-registry-boundary.ts walks the value-import graph — skipping import type, which is erased at compile time — from the workspace layout and the four routes that mount inside it, and fails if @/tools/registry is reachable, printing the exact chain. ✓ app/workspace/layout.tsx — 1063 modules, registry unreachable ✓ app/workspace/[workspaceId]/w/page.tsx — 1908 modules, registry unreachable ✓ app/workspace/[workspaceId]/logs/page.tsx — 1543 modules, registry unreachable ✓ app/workspace/[workspaceId]/tables/page.tsx — 1217 modules, registry unreachable ✓ app/workspace/[workspaceId]/files/page.tsx — 1310 modules, registry unreachable Verified it can fail Reintroduced a getTool import in serializer/index.ts: ❌ app/workspace/[workspaceId]/w/page.tsx can reach @/tools/registry via: apps/sim/app/workspace/[workspaceId]/w/page.tsx apps/sim/app/workspace/[workspaceId]/w/components/sidebar/hooks/index.ts apps/sim/app/workspace/[workspaceId]/w/components/sidebar/hooks/use-workflow-operations.ts apps/sim/stores/workflow-diff/store.ts apps/sim/serializer/index.ts apps/sim/tools/utils.ts apps/sim/tools/registry.ts Exit 1 with the regression, exit 0 after removing it. No allowlist, on purpose The fix for a failure is always to move the symbol the file actually needs into a registry-free module — the way mergeToolParameters and formatParameterLabel were. An allowlist would let the graph silently grow back one entry at a time. --verbose prints per-route module counts, which is also the fastest way to see whether a change moved the graph. Test plan Passes on the current tree (5 routes) Fails (exit 1) with an injected getTool import, with a correct chain Wired into CI next to the other graph audits Skill updated with the guard and the no-allowlist rule

Open Graph Description: Stacked on #6155 → #6153 → #6152 → #6151. Bases retarget as each merges. Makes the win from #6155 permanent. Why a lint and not a convention The registry was 71–82% of every workspace route's ...

X Description: Stacked on #6155 → #6153 → #6152 → #6151. Bases retarget as each merges. Makes the win from #6155 permanent. Why a lint and not a convention The registry was 71–82% of every workspace route&#3...

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

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:58c9ca47-866a-e130-d308-68480dc1f834
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC7E:9CA74:7F3CE7:AF7EF2:6AFB47B3
html-safe-nonce7f20c409ac789b636faa10fc9379b162b951c3ebd5db54f7d47de94ba960f829
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzdFOjlDQTc0OjdGM0NFNzpBRjdFRjI6NkFGQjQ3QjMiLCJ2aXNpdG9yX2lkIjoiNTUyNDk4MTA3MzA2ODExNTg5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac85a6cde7e716c62b8f2d88f803f2f497479760b68c09d28d4005c4253d966e61
hovercard-subject-tagpull_request:4182874597
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/6156/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:altStacked on #6155 → #6153 → #6152 → #6151. Bases retarget as each merges. Makes the win from #6155 permanent. Why a lint and not a convention The registry was 71–82% of every workspace route's ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneacf7616d06cc051644705b379878c9bb13dc5e70ecf4ffd9b34140f8ac01d7e1
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
release26504db649b58525278f77a52b80ba5f10d5f4de
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/6156/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F6156%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%2F6156%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/6156/files
Reloadhttps://github.com/simstudioai/sim/pull/6156/files
Reloadhttps://github.com/simstudioai/sim/pull/6156/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests199 (199)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
perf/tool-metadata-adopthttps://github.com/simstudioai/sim/tree/perf/tool-metadata-adopt
perf/tool-registry-boundary-guardhttps://github.com/simstudioai/sim/tree/perf/tool-registry-boundary-guard
Conversation 18 https://github.com/simstudioai/sim/pull/6156
Commits 6 https://github.com/simstudioai/sim/pull/6156/commits
Checks 25 https://github.com/simstudioai/sim/pull/6156/checks
Files changed https://github.com/simstudioai/sim/pull/6156/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6156/files
perf(tools): guard the tool-registry client boundary in CI https://github.com/simstudioai/sim/pull/6156/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/6156/files
4404d5c perf(tools): guard the tool-registry client boundary in CI waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6156/commits/4404d5c99d9ab6a75bc8bcbad0a774bcfbebdb68
6feb9ec fix(tools): close two edge-detection gaps in the registry boundary guard waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6156/commits/6feb9ec071b5835bbd82ce529e729765155c230c
a696d63 fix(tools): resolve extensionful specifiers in the boundary guard waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6156/commits/a696d63ecbeba6d3773f403ad5bcd2c1750a5665
9e04f25 fix(tools): discover guard entries instead of listing them waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6156/commits/9e04f2566d4a3f70528493cc3f7395e4ddb0a9fd
c93822c fix(tools): restore the dynamic-import and namespace-alias edge detec… waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6156/commits/c93822c7fcdcc5d2a1c35b4631476af83e7a3580
fae9250 fix(tools): traverse require() edges in the boundary guard waleedlatif1 Aug 1, 2026 https://github.com/simstudioai/sim/pull/6156/commits/fae9250e12053f2c22147e1365d9e0e42211e92a
Clear filters https://github.com/simstudioai/sim/pull/6156/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6156/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6156/files
SKILL.md https://github.com/simstudioai/sim/pull/6156/files#diff-4a08ccad9c1733206928a0ed0ff3f55b3e83df9fbb49e1e3e174810b0c4c2518
tool-registry-boundary.md https://github.com/simstudioai/sim/pull/6156/files#diff-e897fae3d7cf1a7f099c1a98413c0317cc9da420466e390cb182fdc5197d8ee0
tool-registry-boundary.md https://github.com/simstudioai/sim/pull/6156/files#diff-1b89427f74e9de063cdaaea5cb25e09fd96bc1a2fe9447c0ade7ea75ec133d29
test-build.yml https://github.com/simstudioai/sim/pull/6156/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
package.json https://github.com/simstudioai/sim/pull/6156/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
check-tool-registry-boundary.ts https://github.com/simstudioai/sim/pull/6156/files#diff-36c0aab527fbae7f656eadd360d70b6a213c3c11e85c8cbda1b6beeca57d6fd9
.agents/skills/tool-registry-boundary/SKILL.mdhttps://github.com/simstudioai/sim/pull/6156/files#diff-4a08ccad9c1733206928a0ed0ff3f55b3e83df9fbb49e1e3e174810b0c4c2518
View file https://github.com/simstudioai/sim/blob/fae9250e12053f2c22147e1365d9e0e42211e92a/.agents/skills/tool-registry-boundary/SKILL.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6156/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6156/files#diff-4a08ccad9c1733206928a0ed0ff3f55b3e83df9fbb49e1e3e174810b0c4c2518
https://github.com/simstudioai/sim/pull/6156/files#diff-4a08ccad9c1733206928a0ed0ff3f55b3e83df9fbb49e1e3e174810b0c4c2518
.claude/commands/tool-registry-boundary.mdhttps://github.com/simstudioai/sim/pull/6156/files#diff-e897fae3d7cf1a7f099c1a98413c0317cc9da420466e390cb182fdc5197d8ee0
View file https://github.com/simstudioai/sim/blob/fae9250e12053f2c22147e1365d9e0e42211e92a/.claude/commands/tool-registry-boundary.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6156/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6156/files#diff-e897fae3d7cf1a7f099c1a98413c0317cc9da420466e390cb182fdc5197d8ee0
https://github.com/simstudioai/sim/pull/6156/files#diff-e897fae3d7cf1a7f099c1a98413c0317cc9da420466e390cb182fdc5197d8ee0
.cursor/commands/tool-registry-boundary.mdhttps://github.com/simstudioai/sim/pull/6156/files#diff-1b89427f74e9de063cdaaea5cb25e09fd96bc1a2fe9447c0ade7ea75ec133d29
View file https://github.com/simstudioai/sim/blob/fae9250e12053f2c22147e1365d9e0e42211e92a/.cursor/commands/tool-registry-boundary.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6156/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6156/files#diff-1b89427f74e9de063cdaaea5cb25e09fd96bc1a2fe9447c0ade7ea75ec133d29
https://github.com/simstudioai/sim/pull/6156/files#diff-1b89427f74e9de063cdaaea5cb25e09fd96bc1a2fe9447c0ade7ea75ec133d29
.github/workflows/test-build.ymlhttps://github.com/simstudioai/sim/pull/6156/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
View file https://github.com/simstudioai/sim/blob/fae9250e12053f2c22147e1365d9e0e42211e92a/.github/workflows/test-build.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6156/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6156/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/pull/6156/files#diff-a583f7935a5f3192471a2999cbf059eadc857228b5be2c7247f481b799949f8d
https://github.com/simstudioai/sim/blob/staging/.github/CODEOWNERS#L36
package.jsonhttps://github.com/simstudioai/sim/pull/6156/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/simstudioai/sim/blob/fae9250e12053f2c22147e1365d9e0e42211e92a/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6156/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/6156/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com/simstudioai/sim/pull/6156/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
scripts/check-tool-registry-boundary.tshttps://github.com/simstudioai/sim/pull/6156/files#diff-36c0aab527fbae7f656eadd360d70b6a213c3c11e85c8cbda1b6beeca57d6fd9
View file https://github.com/simstudioai/sim/blob/fae9250e12053f2c22147e1365d9e0e42211e92a/scripts/check-tool-registry-boundary.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/6156/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/6156/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6156/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6156/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6156/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/6156/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.