davsclaus opened a new pull request, #28270: URL: https://github.com/apache/camel/pull/28270
From the local-model benchmark of Oct 21-22 2026 (qwen3.6:35b-mlx through the camel-jbang-mcp server): five answers of the AI tools that misled the model. 1. **An unchanged write.** A write of the content the file already has answered `overwritten`, and models wrote one file unchanged up to 24 times in a row. It now answers `unchanged`, and nothing is written, so a running integration does not reload. An edit whose replacement gives the text the file has answers the same. 2. **Log records from before the last reload.** `camel_get_log` showed ERROR records from before the model's own reload with no mark, and the model changed a route that worked. They are now marked `beforeLastReload`, with a `reloadNote` first in the answer; a log that runs past midnight is handled. `camel_get_errors` already marked such errors, but its note came after 60-80 KB of stack traces. The note is now the first key, and says how many exchanges failed since. 3. **A thread name with brackets.** `camel_get_log` folded the records of a thread named like the JMS consumer's `[onsumer[orders]]` into the record before it, so the errors of one route showed as the cause of another. `LogFileReader` now reads such names. 4. **A miss among several edits.** When the second of two edits missed, the answer said "None of the edits was made" with a `fileWindow` that showed the first edit made. The model sent only the second edit again, and the first was never written. `fileWindow` now shows the file as it is, and the message says to send all the edits again. 5. **A line the snippet did not have.** The closest-lines merge (CAMEL-25532) dropped a line of the file that the model's snippet from memory did not have (`name: report` of a cron endpoint, reproduced from the trace). It now keeps the file's lines the snippet does not have, and replaces only the ones it has. The 4.24 upgrade guide has the new status and fields. Tests: camel-jbang-core 2418 + 237, camel-jbang-mcp 503, camel-jbang-plugin-tui 2201, all green. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
