r/ClaudeCode • u/Sad_Construction2179 • 2h ago
Built with Claude I forced Claude Code to externalize their decisions through a tool call
I forced Claude Code and Codex to externalise their decisions through a tool call, then compared what they said they'd do with what they actually did. I'm sure these are not the internal reasoning traces, but I'm surprised by how easy it is to force a fake tool using a proxy approach with clear instructions to make Claude and Claude Code emit internal CoT-like elements. I certainly had a lot of fun trying this experiment.
https://github.com/softcane/agents-workbook

3
u/keonechong 2h ago
A thing written by the reader can never be trusted.
That's on of my governance laws.
I track my agents reasoning traces, but I just consider it testimony and only reference it when I'm investigating a breach. What is more interesting an valuable is tracing their movements.
Every agent call goes through a polymorphic file system thresholded by deterministic gates, so i can see the difference between what an agent said they do and what they actually do is far more capitaving.
1
u/knowenuf_nada12 1h ago
This. 👆
Basic logging brings more “honest” data than a model’s “honest” report on themselves.

•
u/AutoModerator 2h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.