Title: fix(tools): steer ReadRange away from empty-file read loops by JessicaMulein · Pull Request #560 · cecli-dev/cecli · GitHub
Open Graph Title: fix(tools): steer ReadRange away from empty-file read loops by JessicaMulein · Pull Request #560 · cecli-dev/cecli
X Title: fix(tools): steer ReadRange away from empty-file read loops by JessicaMulein · Pull Request #560 · cecli-dev/cecli
Description: Summary When ReadRange hits an empty file, return an explicit next-step hint (EditText @000 or ContextManager) instead of a silent no-op. Route the message through new_context_details so it appears in tool output (previously written to all_outputs, which was never returned). Base branch Targets v0.100.5 (includes #557 validation pipeline) — not main. Merge after #557 lands, or stack into v0.100.5 before release. Motivation Local models on greenfield repos loop ReadRange on empty pubspec.yaml / STEERING.md until repetition detection fires. BrightVision spec-focus implement sessions hit this in production dogfood. Test plan python -m pytest cecli/tests/tools/test_get_lines.py -q
Open Graph Description: Summary When ReadRange hits an empty file, return an explicit next-step hint (EditText @000 or ContextManager) instead of a silent no-op. Route the message through new_context_details so it appear...
X Description: Summary When ReadRange hits an empty file, return an explicit next-step hint (EditText @000 or ContextManager) instead of a silent no-op. Route the message through new_context_details so it appear...
Opengraph URL: https://github.com/cecli-dev/cecli/pull/560
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:afb866d3-19ea-56c8-d3b9-3c37dd1bef81 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8EE0:9431E:3A2C99:524D87:6A620340 |
| html-safe-nonce | 8b8836a16579edfa0bb9fb9b46b39df7b287ed0c30f02eb8b651496fedadedee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUUwOjk0MzFFOjNBMkM5OTo1MjREODc6NkE2MjAzNDAiLCJ2aXNpdG9yX2lkIjoiNDQ5NTQ5MjAwMjIxMDc3NTg3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0447529adda5e5452757caa99a9efcfd18de9b9f784db033b6d1298af8e6a23c |
| hovercard-subject-tag | pull_request:3815130288 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/cecli-dev/cecli/pull/560/files |
| twitter:image | https://avatars.githubusercontent.com/u/3766240?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3766240?s=400&v=4 |
| og:image:alt | Summary When ReadRange hits an empty file, return an explicit next-step hint (EditText @000 or ContextManager) instead of a silent no-op. Route the message through new_context_details so it appear... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92eeba52656842b5eb8a3f62fd6465e80107329999099c7144d43d7476b38ad0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cecli-dev/cecli git https://github.com/cecli-dev/cecli.git |
| octolytics-dimension-user_id | 250452847 |
| octolytics-dimension-user_login | cecli-dev |
| octolytics-dimension-repository_id | 1030985330 |
| octolytics-dimension-repository_nwo | cecli-dev/cecli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 638629097 |
| octolytics-dimension-repository_parent_nwo | Aider-AI/aider |
| octolytics-dimension-repository_network_root_id | 638629097 |
| octolytics-dimension-repository_network_root_nwo | Aider-AI/aider |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14dbe1e269fc16133b0b2bbc058e3a259cd85df4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width