Notes
Notes from the integration layer.
Stuff I build and figure out. MuleSoft, SAP Commerce, Salesforce, and a lot of AI tooling on the side.
Atom feed · written in English
-
Counting Claude Code tokens from the logs? You're probably 2.5× too high
Claude Code writes one log line per part of a reply, and every line repeats the whole reply's token usage. Count lines and you overcount tokens about 2.5×, output about 4.4×. Key by message id instead. Here's the fix from Meterlex, plus the same trap in Gemini CLI.
-
The official MuleSoft MCP server can't read your logs, so I built one that can
mulewatch is an open-source, read-only MCP server that lets Claude, Cursor or any MCP client read live and archived MuleSoft Anypoint logs. The trick is finding the right replica in the Monitoring Archive in one call instead of hundreds.
-
My README generator isn't allowed to make things up
vibetidy writes READMEs for AI-generated repos, but the LLM only formats facts a scanner verified. Building it, CI caught two things the project advertised that didn't work, and npm refused a name that looked free. Here's what I learned.
Contact
Say hello.
b.bousnguar@gmail.comSAP Commerce Cloud, MuleSoft and Salesforce integration · Nantes · EN / FR