René's URL Explorer Experiment


Title: fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题 by fym998 · Pull Request #136 · lessweb/deepcode-cli · GitHub

Open Graph Title: fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题 by fym998 · Pull Request #136 · lessweb/deepcode-cli

X Title: fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题 by fym998 · Pull Request #136 · lessweb/deepcode-cli

Description: Deep Code 是专为 deepseek-v4 模型优化的终端 AI 编码助手,支持深度思考、推理强度控制以及 Agent Skills。 - fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题 by fym998 · Pull Request #136 · lessweb/deepcode-cli

Open Graph Description: 问题 LLM 在处理 LaTeX、JSON、Unicode 转义等场景时经常多数/少数反斜杠(如 \alpha 写成 \\alpha ),导致精确匹配失败进入 loose_escape 回退路径。该路径虽然能定位到正确的匹配位置,但直接使用 LLM 原始 newString(同样带有转义错误)写入文件,造成静默数据损坏——每次此类替换都会在文件中 引入错误的反斜杠数量。 解决方案 新增 ...

X Description: 问题 LLM 在处理 LaTeX、JSON、Unicode 转义等场景时经常多数/少数反斜杠(如 \alpha 写成 \\alpha ),导致精确匹配失败进入 loose_escape 回退路径。该路径虽然能定位到正确的匹配位置,但直接使用 LLM 原始 newString(同样带有转义错误)写入文件,造成静默数据损坏——每次此类替换都会在文件中 引入错误的反斜杠数量。 解决方案 新增 ...

Opengraph URL: https://github.com/lessweb/deepcode-cli/pull/136

X: @github

direct link

Domain: github.com

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:fbbdea52-93f2-2eb5-3425-a4f9b9fe005b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4D6:1FF1F4:BA43A1:FD28FE:6A4D5330
html-safe-nonce7006586b2f793e4766c7652f09f56414ff9ab867ce1f3ce2e5974eaf6fa26b19
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEQ2OjFGRjFGNDpCQTQzQTE6RkQyOEZFOjZBNEQ1MzMwIiwidmlzaXRvcl9pZCI6IjM5NTc1MjE4ODc4MTkyODkzOTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd63758c78cfcc315340ff8b7c8aa08bcc40fa1aea4fb5fffd756b22fa7254566
hovercard-subject-tagpull_request:3773089310
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/lessweb/deepcode-cli/136/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2a0a3270def3957d7ba04380b25c63c64c22ef8c916de894e7312a78846398dc/lessweb/deepcode-cli/pull/136
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2a0a3270def3957d7ba04380b25c63c64c22ef8c916de894e7312a78846398dc/lessweb/deepcode-cli/pull/136
og:image:alt问题 LLM 在处理 LaTeX、JSON、Unicode 转义等场景时经常多数/少数反斜杠(如 \alpha 写成 \\alpha ),导致精确匹配失败进入 loose_escape 回退路径。该路径虽然能定位到正确的匹配位置,但直接使用 LLM 原始 newString(同样带有转义错误)写入文件,造成静默数据损坏——每次此类替换都会在文件中 引入错误的反斜杠数量。 解决方案 新增 ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefym998
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-cache
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
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
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/pull/136#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F136
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F136
Sign up https://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=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/pull/136
Reloadhttps://github.com/lessweb/deepcode-cli/pull/136
Reloadhttps://github.com/lessweb/deepcode-cli/pull/136
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 151 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 43 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
fym998https://github.com/fym998
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
fym998:fix/loose-escape-newstring-correctionhttps://github.com/fym998/deepcode-cli/tree/fix/loose-escape-newstring-correction
Conversationhttps://github.com/lessweb/deepcode-cli/pull/136
Commits6 (6)https://github.com/lessweb/deepcode-cli/pull/136/commits
Checkshttps://github.com/lessweb/deepcode-cli/pull/136/checks
Files changedhttps://github.com/lessweb/deepcode-cli/pull/136/files
fix(edit): 修复 LLM 转义错误时 loose_escape 回退路径写入错误内容的问题https://github.com/lessweb/deepcode-cli/pull/136#top
fym998https://github.com/fym998
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
fym998:fix/loose-escape-newstring-correctionhttps://github.com/fym998/deepcode-cli/tree/fix/loose-escape-newstring-correction
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026https://github.com/lessweb/deepcode-cli/pull/136#issue-4553362852
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
fym998https://github.com/fym998
May 30, 2026 12:57https://github.com/lessweb/deepcode-cli/pull/136#commits-pushed-e3ea9a4
https://github.com/fym998
fix(edit): correct newString escaping in loose_escape fallback pathhttps://github.com/lessweb/deepcode-cli/pull/136/commits/e3ea9a4b5c7535d3ff499ae56bd1127d1e714d52
e3ea9a4https://github.com/lessweb/deepcode-cli/pull/136/commits/e3ea9a4b5c7535d3ff499ae56bd1127d1e714d52
https://github.com/fym998
test(edit): verify newString escaping correction in loose_escape fall…https://github.com/lessweb/deepcode-cli/pull/136/commits/5c7b30047d107036e59e84216e68c46afc08a25b
5c7b300https://github.com/lessweb/deepcode-cli/pull/136/commits/5c7b30047d107036e59e84216e68c46afc08a25b
https://github.com/fym998
fix(edit): handle zero-count loose escape correctionhttps://github.com/lessweb/deepcode-cli/pull/136/commits/708ce675197c0205b2fad9433a97f29904fce52b
708ce67https://github.com/lessweb/deepcode-cli/pull/136/commits/708ce675197c0205b2fad9433a97f29904fce52b
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026https://github.com/lessweb/deepcode-cli/pull/136#issuecomment-4581837564
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026 06:40https://github.com/lessweb/deepcode-cli/pull/136#event-26138033044
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026https://github.com/lessweb/deepcode-cli/pull/136#issuecomment-4582017257
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
fym998https://github.com/fym998
May 30, 2026 15:08https://github.com/lessweb/deepcode-cli/pull/136#commits-pushed-77a06df
https://github.com/fym998
fix(edit): prefer deterministic loose escape correctionhttps://github.com/lessweb/deepcode-cli/pull/136/commits/77a06df60dc7354d87d13c37ac07601e407868f0
77a06dfhttps://github.com/lessweb/deepcode-cli/pull/136/commits/77a06df60dc7354d87d13c37ac07601e407868f0
https://github.com/fym998
fix(edit): return error instead of silently writing uncorrected newSt…https://github.com/lessweb/deepcode-cli/pull/136/commits/93b4f638e5b54985c039d7a956d2a8eae8530137
93b4f63https://github.com/lessweb/deepcode-cli/pull/136/commits/93b4f638e5b54985c039d7a956d2a8eae8530137
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026https://github.com/lessweb/deepcode-cli/pull/136#issuecomment-4582072340
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026https://github.com/lessweb/deepcode-cli/pull/136#event-26138554625
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026 07:24https://github.com/lessweb/deepcode-cli/pull/136#event-26138555157
https://github.com/fym998
refactor(edit): rename escape correction cursorshttps://github.com/lessweb/deepcode-cli/pull/136/commits/6fd4e2ebf31a0f88c6316b2a1ca7e76696c24af2
6fd4e2ehttps://github.com/lessweb/deepcode-cli/pull/136/commits/6fd4e2ebf31a0f88c6316b2a1ca7e76696c24af2
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026https://github.com/lessweb/deepcode-cli/pull/136#issuecomment-4582286255
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
https://github.com/fym998
fym998https://github.com/fym998
May 30, 2026https://github.com/lessweb/deepcode-cli/pull/136#issuecomment-4582524444
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
https://github.co/hiddenchars
https://github.com/lessweb/deepcode-cli/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%2Flessweb%2Fdeepcode-cli%2Fpull%2F136
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/136
https://github.com/fym998
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.