News for hackers. Stuff that matters.

missmoss

This is real. I was very angry that AI kept breaking the rules I wrote, so I asked Claude to crawl its own history logs. And then I found: every time after it breaks a rule, the chance of breaking rules goes up.

I feel this is like few-shot in reverse. Few-shot is supposed to be good examples AI should follow. But when it breaks a rule, we correct it, it keeps breaking, and this whole thing actually raises the probability of more violations.

I wanted to know if there is any difference between writing rules in the prompt, writing them in CLAUDE.md, or not writing at all. So I did some short tests before. I asked Claude to open brand new sessions, test different topics with the rules I want to apply. The result turns out to be: in a fresh session, no matter the rule is in a prompt or in CLAUDE.md, models (Opus 4.8, 5 or Fable) all follow it fine, across models. Even Opus 4.8, the one always violates rules in our conversations, does it well.

I suspect it's the long context that breaks rules. But simulating a long conversation experiment is kind of hard, I still haven't found a good way to test it. So seeing this paper now, it completely answers the question I was stuck on these few days.

Besides, something caught my eyes in this paper: sometimes the model does run the check by the rules, and it really finds the violation, but its narrative still insists on its original wrong output.

My current approach is same as everyone here: use a separate hook or post-check to fix things. Because if you let the model fix it during generation, its narrative or main generation part sometimes just rejects the rule error it found.

Re:The AI Productivity Illusion on Sunday July 26, 2026 @03:33AM (#49055634)
My guess is AI mostly increases the throughput of low-quality output, and the cleanup burden lands on the people with better judgment
Re:Ask HN: What livestream do you keep open in a tab? on Saturday July 25, 2026 @10:40PM (#49054139)
I love this already. Slow-moving large animals are an instant yes for me
Re:Ask HN: What livestream do you keep open in a tab? on Saturday July 25, 2026 @10:35PM (#49054103)
This makes perfect sense. My friend's cat is basically into window TV too
Re:Ask HN: What livestream do you keep open in a tab? on Saturday July 25, 2026 @10:26PM (#49054038)
Love that sound. I could sit at the beach all day
Re:Ask HN: What livestream do you keep open in a tab? on Saturday July 25, 2026 @01:37PM (#49049718)
Weirdly soothing to watch it slowly reposition itself

Ask HN: What livestream do you keep open in a tab?

I recently found the Brooks Falls bear cam (Katmai, Alaska). It's become the calmest thing on my screen.It's peak salmon run right now, so it's basically bears and their all-you-can-eat salmon feast.But there's a bear that only fishes by belly-flopping at the salmon, and as far as I can tell has never once caught anything. I have no idea how it's still eating.A few others just sit in the water...

( Read More... | 21 comments | 15 points | on HN )
This is neat! It tackles a boring but real problem with agents. When you have too many tools, the model gets confused. This is a good search box for its tools instead of dumping everything into the prompt. Benchmarks is amazing!
Cool! I watched the demo. The concept makes sense. Quick thought: free-text answers might be high friction for adoption. Not sure if you'd consider various verification method, but something like multiple choice questions or "highlight the relevant code chunk" could be lower effort for the developer, and easier to evaluate programmatically too.
Re:Ask HN: Do you need to look at the code? on Tuesday May 12, 2026 @12:06PM (#48110209)
When working on an existing project, I always take a close look on what got changed by LLM. Sometimes I explicitly tell it which line to change and nothing else. Like what most people found, LLM sometimes, if not always, creates redundant over-engineering work trying to be useful, while most of time it actually breaks something, e.g. code quality and readability. In new projects, I focus more on plan, spec, test scheme. I review how modules are set up and sometimes functions, but pay less attention on implementation details.
Curious if there's a demo/screenshot on what questions developers should expect and what acceptable answers look like. Checked out the repo but didn't find the showcase.