René's URL Explorer Experiment


Title: feat(sdk): scratchDir/scratchFile — organized temp file management (#790) by tamirdresher · Pull Request #793 · github/squad · GitHub

Open Graph Title: feat(sdk): scratchDir/scratchFile — organized temp file management (#790) by tamirdresher · Pull Request #793 · github/squad

X Title: feat(sdk): scratchDir/scratchFile — organized temp file management (#790) by tamirdresher · Pull Request #793 · github/squad

Description: Squad: AI agent teams for any project. Contribute to github/squad development by creating an account on GitHub.

Open Graph Description: What Adds a dedicated scratch directory (.squad/.scratch/) with scratchDir() and scratchFile() utilities for organized temp file management. Why Squad and agents create temporary files (prompt file...

X Description: What Adds a dedicated scratch directory (.squad/.scratch/) with scratchDir() and scratchFile() utilities for organized temp file management. Why Squad and agents create temporary files (prompt file...

Opengraph URL: https://github.com/github/squad/pull/793

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:379ecb7d-7fa6-b986-7d33-3eb8048e696a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9E56:21BD98:1608D4A:1BE3CDD:6B016E09
html-safe-nonce19ef3908376cfaae0707e0973038eaf8715b065a55a8c8949612b6e33dd8a30c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTU2OjIxQkQ5ODoxNjA4RDRBOjFCRTNDREQ6NkIwMTZFMDkiLCJ2aXNpdG9yX2lkIjoiMjkzMDgxMjQwODE0ODYxODc2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac02d35e0d8f035ad5d347dc266708b77b81b301c0b71da827b8e4def426f0882f
hovercard-subject-tagpull_request:3487178879
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/github/squad/793/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a0ce58f2d0e4b4063dd9e26211a8f91148e87b6be5e6d428ad73700b1fa08797/github/squad/pull/793
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a0ce58f2d0e4b4063dd9e26211a8f91148e87b6be5e6d428ad73700b1fa08797/github/squad/pull/793
og:image:altWhat Adds a dedicated scratch directory (.squad/.scratch/) with scratchDir() and scratchFile() utilities for organized temp file management. Why Squad and agents create temporary files (prompt file...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametamirdresher
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/github/squad git https://github.com/github/squad.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id1151205052
octolytics-dimension-repository_nwogithub/squad
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1151205052
octolytics-dimension-repository_network_root_nwogithub/squad
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/github/squad/pull/793#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsquad%2Fpull%2F793
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%2Fgithub%2Fsquad%2Fpull%2F793
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=github%2Fsquad
Reloadhttps://github.com/github/squad/pull/793
Reloadhttps://github.com/github/squad/pull/793
Reloadhttps://github.com/github/squad/pull/793
githubhttps://github.com/github
squadhttps://github.com/github/squad
Codehttps://github.com/github/squad
Issues108 (108)https://github.com/github/squad/issues
Pull requests26 (26)https://github.com/github/squad/pulls
Discussionshttps://github.com/github/squad/discussions
Actionshttps://github.com/github/squad/actions
Projectshttps://github.com/github/squad/projects
Security and qualityhttps://github.com/github/squad/security
Insightshttps://github.com/github/squad/insights
https://github.com/github/squad
tamirdresherhttps://github.com/tamirdresher
devhttps://github.com/github/squad/tree/dev
squad/790-scratch-dirhttps://github.com/github/squad/tree/squad/790-scratch-dir
Conversationhttps://github.com/github/squad/pull/793
Commits11 (11)https://github.com/github/squad/pull/793/commits
Checkshttps://github.com/github/squad/pull/793/checks
Findingshttps://github.com/github/squad/pull/793/findings
Files changedhttps://github.com/github/squad/pull/793/files
feat(sdk): scratchDir/scratchFile — organized temp file management (#790)https://github.com/github/squad/pull/793#top
tamirdresherhttps://github.com/tamirdresher
devhttps://github.com/github/squad/tree/dev
squad/790-scratch-dirhttps://github.com/github/squad/tree/squad/790-scratch-dir
https://github.com/tamirdresher
tamirdresherhttps://github.com/tamirdresher
Apr 3, 2026https://github.com/github/squad/pull/793#issue-4201755150
Please reload this pagehttps://github.com/github/squad/pull/793
#790https://github.com/github/squad/issues/790
Please reload this pagehttps://github.com/github/squad/pull/793
https://github.com/apps/github-copilot-cli
feat(sdk): add scratchDir/scratchFile utilities for organized temp fi…https://github.com/github/squad/pull/793/commits/e63825ddc7a7593b93a904ec5d0474c991a44021
e63825dhttps://github.com/github/squad/pull/793/commits/e63825ddc7a7593b93a904ec5d0474c991a44021
#790https://github.com/github/squad/issues/790
https://github.com/tamirdresher
tamirdresherhttps://github.com/tamirdresher
Copilothttps://github.com/apps/copilot-pull-request-reviewer
diberryhttps://github.com/diberry
April 3, 2026 18:43https://github.com/github/squad/pull/793#event-24183511058
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 3, 2026https://github.com/github/squad/pull/793#issuecomment-4184714756
Please reload this pagehttps://github.com/github/squad/pull/793
CONTRIBUTING.mdhttps://github.com/bradygaster/squad/blob/dev/CONTRIBUTING.md#pr-readiness-checklist
PR Requirementshttps://github.com/bradygaster/squad/blob/dev/.github/PR_REQUIREMENTS.md
Please reload this pagehttps://github.com/github/squad/pull/793
started reviewinghttps://github.com/github/squad/sessions/bcc61fd0-f8cd-42dc-a9a0-d544d5f13b27
tamirdresherhttps://github.com/tamirdresher
April 3, 2026 18:44https://github.com/github/squad/pull/793#event-24183523454
View session https://github.com/github/squad/sessions/bcc61fd0-f8cd-42dc-a9a0-d544d5f13b27
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 3, 2026 https://github.com/github/squad/pull/793#pullrequestreview-4056837557
View reviewed changes https://github.com/github/squad/pull/793/files/e63825ddc7a7593b93a904ec5d0474c991a44021
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/github/squad/pull/793#pullrequestreview-4056837557
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/squad/pull/793
packages/squad-sdk/src/resolution.tshttps://github.com/github/squad/pull/793/files/e63825ddc7a7593b93a904ec5d0474c991a44021#diff-a50b348bee9f4bf2f2623ae97db7d491a23128c1372ab4ac9c875ec5b01c1eb6
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 3, 2026https://github.com/github/squad/pull/793#discussion_r3033948016
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/squad/pull/793
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
packages/squad-sdk/src/resolution.tshttps://github.com/github/squad/pull/793/files/e63825ddc7a7593b93a904ec5d0474c991a44021#diff-a50b348bee9f4bf2f2623ae97db7d491a23128c1372ab4ac9c875ec5b01c1eb6
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 3, 2026https://github.com/github/squad/pull/793#discussion_r3033948024
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/squad/pull/793
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
packages/squad-sdk/src/resolution.tshttps://github.com/github/squad/pull/793/files/e63825ddc7a7593b93a904ec5d0474c991a44021#diff-a50b348bee9f4bf2f2623ae97db7d491a23128c1372ab4ac9c875ec5b01c1eb6
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 3, 2026https://github.com/github/squad/pull/793#discussion_r3033948038
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/squad/pull/793
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
test/scratch-dir.test.tshttps://github.com/github/squad/pull/793/files/e63825ddc7a7593b93a904ec5d0474c991a44021#diff-75fa33d2d8cf1698503686c13e8201c6fcc2bf5157615751aed0ce49fa851762
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 3, 2026https://github.com/github/squad/pull/793#discussion_r3033948049
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/squad/pull/793
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
test/scratch-dir.test.tshttps://github.com/github/squad/pull/793/files/e63825ddc7a7593b93a904ec5d0474c991a44021#diff-75fa33d2d8cf1698503686c13e8201c6fcc2bf5157615751aed0ce49fa851762
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Apr 3, 2026https://github.com/github/squad/pull/793#discussion_r3033948056
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/squad/pull/793
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
April 3, 2026 22:06https://github.com/github/squad/pull/793#commits-pushed-c5fa8a1
https://github.com/apps/github-copilot-cli
fix: add counter to scratchFile for uniqueness in fast CI environmentshttps://github.com/github/squad/pull/793/commits/c5fa8a1e035a5046484cf3b237f9b4b7f0599d03
c5fa8a1https://github.com/github/squad/pull/793/commits/c5fa8a1e035a5046484cf3b237f9b4b7f0599d03
https://github.com/tamirdresher
Merge branch 'dev' into squad/790-scratch-dirhttps://github.com/github/squad/pull/793/commits/d31948e0e6cbaa5ec6c795b0d073de1cbb4c1d7a
d31948ehttps://github.com/github/squad/pull/793/commits/d31948e0e6cbaa5ec6c795b0d073de1cbb4c1d7a
https://github.com/apps/github-copilot-cli
fix: address Copilot review comments on scratch-dirhttps://github.com/github/squad/pull/793/commits/d1ae96eb8e48ddc14689879139cae4e2295043d2
d1ae96ehttps://github.com/github/squad/pull/793/commits/d1ae96eb8e48ddc14689879139cae4e2295043d2
https://github.com/tamirdresher
tamirdresherhttps://github.com/tamirdresher
Apr 4, 2026 https://github.com/github/squad/pull/793#ref-pullrequest-4205653402
feat(watch): next-gen watch with execute redesign, robustness, and PS1 parity #830 https://github.com/github/squad/pull/830
https://github.com/apps/github-copilot-cli
fix: address remaining Copilot review comments on scratch-dir PRhttps://github.com/github/squad/pull/793/commits/8e10d3c1860f448903205b8e35516b2489d675cd
8e10d3chttps://github.com/github/squad/pull/793/commits/8e10d3c1860f448903205b8e35516b2489d675cd
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Apr 4, 2026https://github.com/github/squad/pull/793#issuecomment-4187709075
Please reload this pagehttps://github.com/github/squad/pull/793
#793https://github.com/github/squad/pull/793
#733https://github.com/bradygaster/squad/issues/733
Please reload this pagehttps://github.com/github/squad/pull/793
https://github.com/tamirdresher
tamirdresherhttps://github.com/tamirdresher
bradygasterhttps://github.com/bradygaster
April 4, 2026 21:39https://github.com/github/squad/pull/793#event-24200602716
Merge remote-tracking branch 'origin/dev' into squad/790-scratch-dirhttps://github.com/github/squad/pull/793/commits/aae0e2ed8e6953a658c5ac17424c79ca87869b1a
aae0e2ehttps://github.com/github/squad/pull/793/commits/aae0e2ed8e6953a658c5ac17424c79ca87869b1a
https://github.com/diberry
diberryhttps://github.com/diberry
Apr 4, 2026https://github.com/github/squad/pull/793#issuecomment-4187858595
Please reload this pagehttps://github.com/github/squad/pull/793
https://github.com/apps/github-copilot-cli
fix: address Copilot review — sanitize prefix, add random suffix, fix…https://github.com/github/squad/pull/793/commits/c253197f857e45b9e8b0a422ae997977de880421
c253197https://github.com/github/squad/pull/793/commits/c253197f857e45b9e8b0a422ae997977de880421
https://github.com/bradygaster
bradygasterhttps://github.com/bradygaster
Apr 5, 2026 https://github.com/github/squad/pull/793#pullrequestreview-4059163426
View reviewed changes https://github.com/github/squad/pull/793/files/8863fc6db4ebdcf9654dc7ba3bae3c8f75a21f29
tamirdresherhttps://github.com/tamirdresher
April 5, 2026 09:06https://github.com/github/squad/pull/793#commits-pushed-be7d179
https://github.com/tamirdresher
Merge branch 'dev' into squad/790-scratch-dirhttps://github.com/github/squad/pull/793/commits/be7d1795d6e02a41856031bb58f02ceaf4d8abde
be7d179https://github.com/github/squad/pull/793/commits/be7d1795d6e02a41856031bb58f02ceaf4d8abde
https://github.com/tamirdresher
Merge branch 'dev' into squad/790-scratch-dirhttps://github.com/github/squad/pull/793/commits/84783d486db74c3192503e6316a3930c01936089
84783d4https://github.com/github/squad/pull/793/commits/84783d486db74c3192503e6316a3930c01936089
https://github.com/tamirdresher
Merge branch 'dev' into squad/790-scratch-dirhttps://github.com/github/squad/pull/793/commits/5740ebfd6b84cb1a7ae5c2e04ea1ff104de39721
5740ebfhttps://github.com/github/squad/pull/793/commits/5740ebfd6b84cb1a7ae5c2e04ea1ff104de39721
https://github.com/tamirdresher
Merge branch 'dev' into squad/790-scratch-dirhttps://github.com/github/squad/pull/793/commits/8863fc6db4ebdcf9654dc7ba3bae3c8f75a21f29
8863fc6https://github.com/github/squad/pull/793/commits/8863fc6db4ebdcf9654dc7ba3bae3c8f75a21f29
https://github.com/tamirdresher
tamirdresherhttps://github.com/tamirdresher
fb5be27https://github.com/github/squad/commit/fb5be272e6828b66b69972d7d37f7bff4ddc8242
Apr 5, 2026https://github.com/github/squad/pull/793#event-24203907934
Please reload this pagehttps://github.com/github/squad/pull/793
https://github.com/bradygaster
bradygasterhttps://github.com/bradygaster
August 8, 2026 08:42https://github.com/github/squad/pull/793#event-29154777500
https://github.co/hiddenchars
https://github.com/github/squad/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsquad%2Fpull%2F793
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/github/squad/pull/793/files/e63825ddc7a7593b93a904ec5d0474c991a44021
https://github.com/bradygaster
bradygaster https://github.com/bradygaster
https://github.com/github/squad/pull/793/files/8863fc6db4ebdcf9654dc7ba3bae3c8f75a21f29
https://github.com/diberry
diberry https://github.com/diberry
Please reload this pagehttps://github.com/github/squad/pull/793
[Bug] Squad creates temp files in repo root — should use dedicated temp directory https://github.com/github/squad/issues/790
Please reload this pagehttps://github.com/github/squad/pull/793
https://github.com/tamirdresher
https://github.com/diberry
https://github.com/bradygaster
https://github.com/apps/copilot-pull-request-reviewer
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.