René's URL Explorer Experiment


Title: fix(repo-mode): prevent unsafe dir defaults and forced pushes (#85) by Nivesh353 · Pull Request #88 · open-gitagent/gitagent · GitHub

Open Graph Title: fix(repo-mode): prevent unsafe dir defaults and forced pushes (#85) by Nivesh353 · Pull Request #88 · open-gitagent/gitagent

X Title: fix(repo-mode): prevent unsafe dir defaults and forced pushes (#85) by Nivesh353 · Pull Request #88 · open-gitagent/gitagent

Description: A universal git-native AI agent framework. Your agent lives inside a git repo — identity, rules, memory, tools, and skills are all version-controlled files. - fix(repo-mode): prevent unsafe dir defaults and forced pushes (#85) by Nivesh353 · Pull Request #88 · open-gitagent/gitagent

Open Graph Description: Summary Repo mode (repo: in the SDK, --repo in the CLI) silently defaulted the working directory to process.cwd() when dir was omitted. If that directory had no .git of its own, git commands would...

X Description: Summary Repo mode (repo: in the SDK, --repo in the CLI) silently defaulted the working directory to process.cwd() when dir was omitted. If that directory had no .git of its own, git commands would...

Opengraph URL: https://github.com/open-gitagent/gitagent/pull/88

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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:d0fe3ac7-2f25-394d-d8fb-2b659bdb4c92
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9A2:F61FE:97CEB1:CE89B5:6B03EF3D
html-safe-nonce2bd9c318173ddf095693f1fc55631176f0c1d66ad58aa16bb614582acff98ac4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUEyOkY2MUZFOjk3Q0VCMTpDRTg5QjU6NkIwM0VGM0QiLCJ2aXNpdG9yX2lkIjoiNDE2MjAyNTEzNjQyNzYyNjMwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd58815ac6eb638a28cd426278c13243f78f6438a741f952391452178d77defac
hovercard-subject-tagpull_request:4137482718
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/open-gitagent/gitagent/88/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8acd2f527e38c0d455ec95fa28bbc331ac0bca5933c8f921949196f6d99588bc/open-gitagent/gitagent/pull/88
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8acd2f527e38c0d455ec95fa28bbc331ac0bca5933c8f921949196f6d99588bc/open-gitagent/gitagent/pull/88
og:image:altSummary Repo mode (repo: in the SDK, --repo in the CLI) silently defaulted the working directory to process.cwd() when dir was omitted. If that directory had no .git of its own, git commands would...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameNivesh353
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/open-gitagent/gitagent git https://github.com/open-gitagent/gitagent.git
octolytics-dimension-user_id263700766
octolytics-dimension-user_loginopen-gitagent
octolytics-dimension-repository_id1172540122
octolytics-dimension-repository_nwoopen-gitagent/gitagent
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1172540122
octolytics-dimension-repository_network_root_nwoopen-gitagent/gitagent
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/open-gitagent/gitagent/pull/88#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopen-gitagent%2Fgitagent%2Fpull%2F88
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%2Fopen-gitagent%2Fgitagent%2Fpull%2F88
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=open-gitagent%2Fgitagent
Reloadhttps://github.com/open-gitagent/gitagent/pull/88
Reloadhttps://github.com/open-gitagent/gitagent/pull/88
Reloadhttps://github.com/open-gitagent/gitagent/pull/88
open-gitagenthttps://github.com/open-gitagent
gitagenthttps://github.com/open-gitagent/gitagent
Codehttps://github.com/open-gitagent/gitagent
Issues22 (22)https://github.com/open-gitagent/gitagent/issues
Pull requests40 (40)https://github.com/open-gitagent/gitagent/pulls
Actionshttps://github.com/open-gitagent/gitagent/actions
Projectshttps://github.com/open-gitagent/gitagent/projects
Security and qualityhttps://github.com/open-gitagent/gitagent/security
Insightshttps://github.com/open-gitagent/gitagent/insights
https://github.com/open-gitagent/gitagent
Nivesh353https://github.com/Nivesh353
open-gitagent:mainhttps://github.com/open-gitagent/gitagent/tree/main
Nivesh353:fix/repo-mode-dir-validation-and-readonlyhttps://github.com/Nivesh353/gitagent/tree/fix/repo-mode-dir-validation-and-readonly
Conversationhttps://github.com/open-gitagent/gitagent/pull/88
Commits3 (3)https://github.com/open-gitagent/gitagent/pull/88/commits
Checkshttps://github.com/open-gitagent/gitagent/pull/88/checks
Files changedhttps://github.com/open-gitagent/gitagent/pull/88/files
fix(repo-mode): prevent unsafe dir defaults and forced pushes (#85)https://github.com/open-gitagent/gitagent/pull/88#top
Nivesh353https://github.com/Nivesh353
open-gitagent:mainhttps://github.com/open-gitagent/gitagent/tree/main
Nivesh353:fix/repo-mode-dir-validation-and-readonlyhttps://github.com/Nivesh353/gitagent/tree/fix/repo-mode-dir-validation-and-readonly
https://github.com/Nivesh353
Nivesh353https://github.com/Nivesh353
Jul 26, 2026https://github.com/open-gitagent/gitagent/pull/88#issue-4982135973
repo: mode: unsafe dir default can reset an unrelated parent git repo; unconditional push on every call with no read-only mode #85https://github.com/open-gitagent/gitagent/issues/85
repo: mode: unsafe dir default can reset an unrelated parent git repo; unconditional push on every call with no read-only mode #85https://github.com/open-gitagent/gitagent/issues/85
Please reload this pagehttps://github.com/open-gitagent/gitagent/pull/88
Nivesh353https://github.com/Nivesh353
July 27, 2026 00:41https://github.com/open-gitagent/gitagent/pull/88#commits-pushed-70b496f
https://github.com/Nivesh353
fix(repo-mode): prevent unsafe dir defaults and forced pushes (https://github.com/open-gitagent/gitagent/pull/88/commits/70b496f94c367160cf5b1b85e281a2b8c0e5fe87
open-g…https://github.com/open-gitagent/gitagent/issues/85
70b496fhttps://github.com/open-gitagent/gitagent/pull/88/commits/70b496f94c367160cf5b1b85e281a2b8c0e5fe87
…itagent#85https://github.com/open-gitagent/gitagent/issues/85
https://github.com/Nivesh353
fixed mcp test filehttps://github.com/open-gitagent/gitagent/pull/88/commits/19df132209496a465128d7dfb52d766627d0dfdd
19df132https://github.com/open-gitagent/gitagent/pull/88/commits/19df132209496a465128d7dfb52d766627d0dfdd
https://github.com/shreyas-lyzr
shreyas-lyzrhttps://github.com/shreyas-lyzr
Jul 26, 2026 https://github.com/open-gitagent/gitagent/pull/88#pullrequestreview-4782419737
View reviewed changes https://github.com/open-gitagent/gitagent/pull/88/files/19df132209496a465128d7dfb52d766627d0dfdd
shreyas-lyzrhttps://github.com/shreyas-lyzr
https://github.com/open-gitagent/gitagent/pull/88#pullrequestreview-4782419737
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#2https://github.com/open-gitagent/gitagent/pull/2
Please reload this pagehttps://github.com/open-gitagent/gitagent/pull/88
src/session.tshttps://github.com/open-gitagent/gitagent/pull/88/files/19df132209496a465128d7dfb52d766627d0dfdd#diff-96998a2148aa3d52ad3e80303d0ad88fc43a4afd08966b5330a5657021ae52bb
Please reload this pagehttps://github.com/open-gitagent/gitagent/pull/88
https://github.com/Nivesh353
fix(repo-mode): fix PR review findings + missing-origin crashhttps://github.com/open-gitagent/gitagent/pull/88/commits/c5c40d1c1ef369e550b6f0286a005802f950a2c9
c5c40d1https://github.com/open-gitagent/gitagent/pull/88/commits/c5c40d1c1ef369e550b6f0286a005802f950a2c9
https://github.com/shreyas-lyzr
shreyas-lyzrhttps://github.com/shreyas-lyzr
Jul 26, 2026 https://github.com/open-gitagent/gitagent/pull/88#pullrequestreview-4782453415
View reviewed changes https://github.com/open-gitagent/gitagent/pull/88/files/c5c40d1c1ef369e550b6f0286a005802f950a2c9
shreyas-lyzrhttps://github.com/shreyas-lyzr
https://github.com/open-gitagent/gitagent/pull/88#pullrequestreview-4782453415
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/open-gitagent/gitagent/pull/88
repo: mode: unsafe dir default can reset an unrelated parent git repo; unconditional push on every call with no read-only mode #85 https://github.com/open-gitagent/gitagent/issues/85
test(repo-mode): add regression coverage for issue #85 #113 https://github.com/open-gitagent/gitagent/pull/113
https://github.co/hiddenchars
https://github.com/open-gitagent/gitagent/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%2Fopen-gitagent%2Fgitagent%2Fpull%2F88
https://github.com/shreyas-lyzr
shreyas-lyzr https://github.com/shreyas-lyzr
https://github.com/open-gitagent/gitagent/pull/88/files/c5c40d1c1ef369e550b6f0286a005802f950a2c9
Please reload this pagehttps://github.com/open-gitagent/gitagent/pull/88
repo: mode: unsafe dir default can reset an unrelated parent git repo; unconditional push on every call with no read-only mode https://github.com/open-gitagent/gitagent/issues/85
Please reload this pagehttps://github.com/open-gitagent/gitagent/pull/88
https://github.com/Nivesh353
https://github.com/shreyas-lyzr
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.