René's URL Explorer Experiment


Title: fix(tools): harden Grep format_output for local-model searches JSON by JessicaMulein · Pull Request #549 · cecli-dev/cecli · GitHub

Open Graph Title: fix(tools): harden Grep format_output for local-model searches JSON by JessicaMulein · Pull Request #549 · cecli-dev/cecli

X Title: fix(tools): harden Grep format_output for local-model searches JSON by JessicaMulein · Pull Request #549 · cecli-dev/cecli

Description: Summary Harden Grep format_output and execute when local models emit double-encoded or malformed searches JSON (truncated inner JSON, string instead of list). Add _coerce_searches() and route through parse_tool_arguments Regression test in tests/tools/test_tool_arguments.py Context Reopened from Digital-Defiance/cecli#12 (rebased on cecli-dev/main). Test plan pytest tests/tools/test_tool_arguments.py -k grep — 3 passed (local run) BrightVision dogfood: Grep tool no longer crashes on qwen-style searches JSON

Open Graph Description: Summary Harden Grep format_output and execute when local models emit double-encoded or malformed searches JSON (truncated inner JSON, string instead of list). Add _coerce_searches() and route thro...

X Description: Summary Harden Grep format_output and execute when local models emit double-encoded or malformed searches JSON (truncated inner JSON, string instead of list). Add _coerce_searches() and route thro...

Opengraph URL: https://github.com/cecli-dev/cecli/pull/549

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:09d52472-ed11-38e1-0b8e-dc427ecc2ac8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB030:AAE15:CB399C:11DD19F:6A61C8DD
html-safe-nonce6dd1bdbf47b3fc67ea0817c767eec66ed22c85dd32c1b3b342e1d3e9f9f3ee29
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDMwOkFBRTE1OkNCMzk5QzoxMUREMTlGOjZBNjFDOEREIiwidmlzaXRvcl9pZCI6IjgxNDMwNTA5NDMyMTczODc3NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3b07c000066ff94b18128b2efab6e66bf73b577955bf3088ec8acb3d1a07ffdd
hovercard-subject-tagpull_request:3791807039
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/cecli-dev/cecli/pull/549/files
twitter:imagehttps://avatars.githubusercontent.com/u/3766240?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3766240?s=400&v=4
og:image:altSummary Harden Grep format_output and execute when local models emit double-encoded or malformed searches JSON (truncated inner JSON, string instead of list). Add _coerce_searches() and route thro...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cecli-dev/cecli git https://github.com/cecli-dev/cecli.git
octolytics-dimension-user_id250452847
octolytics-dimension-user_logincecli-dev
octolytics-dimension-repository_id1030985330
octolytics-dimension-repository_nwocecli-dev/cecli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id638629097
octolytics-dimension-repository_parent_nwoAider-AI/aider
octolytics-dimension-repository_network_root_id638629097
octolytics-dimension-repository_network_root_nwoAider-AI/aider
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
releaseac296ae7f21856f1f92adbad22f870b6fbb4b907
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cecli-dev/cecli/pull/549/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcecli-dev%2Fcecli%2Fpull%2F549%2Ffiles
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2Fcecli-dev%2Fcecli%2Fpull%2F549%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cecli-dev%2Fcecli
Reloadhttps://github.com/cecli-dev/cecli/pull/549/files
Reloadhttps://github.com/cecli-dev/cecli/pull/549/files
Reloadhttps://github.com/cecli-dev/cecli/pull/549/files
Please reload this pagehttps://github.com/cecli-dev/cecli/pull/549/files
cecli-dev https://github.com/cecli-dev
ceclihttps://github.com/cecli-dev/cecli
Aider-AI/aiderhttps://github.com/Aider-AI/aider
Notifications https://github.com/login?return_to=%2Fcecli-dev%2Fcecli
Fork 44 https://github.com/login?return_to=%2Fcecli-dev%2Fcecli
Star 385 https://github.com/login?return_to=%2Fcecli-dev%2Fcecli
Code https://github.com/cecli-dev/cecli
Issues 30 https://github.com/cecli-dev/cecli/issues
Pull requests 9 https://github.com/cecli-dev/cecli/pulls
Actions https://github.com/cecli-dev/cecli/actions
Projects https://github.com/cecli-dev/cecli/projects
Security and quality 0 https://github.com/cecli-dev/cecli/security
Insights https://github.com/cecli-dev/cecli/pulse
Code https://github.com/cecli-dev/cecli
Issues https://github.com/cecli-dev/cecli/issues
Pull requests https://github.com/cecli-dev/cecli/pulls
Actions https://github.com/cecli-dev/cecli/actions
Projects https://github.com/cecli-dev/cecli/projects
Security and quality https://github.com/cecli-dev/cecli/security
Insights https://github.com/cecli-dev/cecli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcecli-dev%2Fcecli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcecli-dev%2Fcecli%2Fissues%2Fnew%2Fchoose
JessicaMuleinhttps://github.com/JessicaMulein
cecli-dev:mainhttps://github.com/cecli-dev/cecli/tree/main
Digital-Defiance:pr/grep-searches-coercehttps://github.com/Digital-Defiance/cecli/tree/pr/grep-searches-coerce
Conversation 0 https://github.com/cecli-dev/cecli/pull/549
Commits 1 https://github.com/cecli-dev/cecli/pull/549/commits
Checks 12 https://github.com/cecli-dev/cecli/pull/549/checks
Files changed https://github.com/cecli-dev/cecli/pull/549/files
Please reload this pagehttps://github.com/cecli-dev/cecli/pull/549/files
fix(tools): harden Grep format_output for local-model searches JSON https://github.com/cecli-dev/cecli/pull/549/files#top
Show all changes 1 commit https://github.com/cecli-dev/cecli/pull/549/files
590d360 fix(tools): harden Grep format_output for local-model searches JSON JessicaMulein Jun 2, 2026 https://github.com/cecli-dev/cecli/pull/549/commits/590d36039b1c7516979006f6705ff6638aaa7546
Clear filters https://github.com/cecli-dev/cecli/pull/549/files
Please reload this pagehttps://github.com/cecli-dev/cecli/pull/549/files
Please reload this pagehttps://github.com/cecli-dev/cecli/pull/549/files
grep.py https://github.com/cecli-dev/cecli/pull/549/files#diff-6bbd4022b8de70d8d14c6faea38a4e1ed819ff7eef36e8af05c638a7dcd6425a
test_tool_arguments.py https://github.com/cecli-dev/cecli/pull/549/files#diff-9d9afba44c01e1119942861ab39711bc0a8cab2a1de4a7e9dfa50eec558f85dd
cecli/tools/grep.pyhttps://github.com/cecli-dev/cecli/pull/549/files#diff-6bbd4022b8de70d8d14c6faea38a4e1ed819ff7eef36e8af05c638a7dcd6425a
View file https://github.com/Digital-Defiance/cecli/blob/590d36039b1c7516979006f6705ff6638aaa7546/cecli/tools/grep.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cecli-dev/cecli/pull/549/{{ revealButtonHref }}
https://github.com/cecli-dev/cecli/actions/runs/26854732073/job/79194877765?pr=549
https://github.com/cecli-dev/cecli/pull/549/files#diff-6bbd4022b8de70d8d14c6faea38a4e1ed819ff7eef36e8af05c638a7dcd6425a
https://github.com/cecli-dev/cecli/pull/549/files#diff-6bbd4022b8de70d8d14c6faea38a4e1ed819ff7eef36e8af05c638a7dcd6425a
https://github.com/cecli-dev/cecli/pull/549/files#diff-6bbd4022b8de70d8d14c6faea38a4e1ed819ff7eef36e8af05c638a7dcd6425a
https://github.com/cecli-dev/cecli/pull/549/files#diff-6bbd4022b8de70d8d14c6faea38a4e1ed819ff7eef36e8af05c638a7dcd6425a
https://github.com/cecli-dev/cecli/pull/549/files#diff-6bbd4022b8de70d8d14c6faea38a4e1ed819ff7eef36e8af05c638a7dcd6425a
https://github.com/cecli-dev/cecli/pull/549/files#diff-6bbd4022b8de70d8d14c6faea38a4e1ed819ff7eef36e8af05c638a7dcd6425a
tests/tools/test_tool_arguments.pyhttps://github.com/cecli-dev/cecli/pull/549/files#diff-9d9afba44c01e1119942861ab39711bc0a8cab2a1de4a7e9dfa50eec558f85dd
View file https://github.com/Digital-Defiance/cecli/blob/590d36039b1c7516979006f6705ff6638aaa7546/tests/tools/test_tool_arguments.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cecli-dev/cecli/pull/549/{{ revealButtonHref }}
https://github.com/cecli-dev/cecli/pull/549/files#diff-9d9afba44c01e1119942861ab39711bc0a8cab2a1de4a7e9dfa50eec558f85dd
https://github.com/cecli-dev/cecli/actions/runs/26854732073/job/79194877765?pr=549
https://github.com/cecli-dev/cecli/pull/549/files#diff-9d9afba44c01e1119942861ab39711bc0a8cab2a1de4a7e9dfa50eec558f85dd
Please reload this pagehttps://github.com/cecli-dev/cecli/pull/549/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.