News for hackers. Stuff that matters.
Re:Claude Sonnet 4 now supports 1M tokens of context by GenerocUsername on Tuesday August 12, 2025 @01:22PM (#44879331)
Your first week of AI usage should be crawling your codebase and generating context.md docs that can then be fed back into future prompts so that AI understands your project space, packages, apis, and code philosophy.

I guarantee your internal tools are not revolutionary, they are just unrepresented in the ML model out of the box

Re:Claude Sonnet 4 now supports 1M tokens of context by orra on Tuesday August 12, 2025 @01:31PM (#44879421)
That sounds incredibly boring.

Is it effective? If so I'm sure we'll see models to generate those context.md files.

Re:Claude Sonnet 4 now supports 1M tokens of context by cpursley on Tuesday August 12, 2025 @02:12PM (#44879893)
Yes. And way less boring than manually reading a section of a codebase to understand what is going on after being away from it for 8 months. Claude's docs and git commit writing skills are worth it for that alone.
Re:Claude Sonnet 4 now supports 1M tokens of context by blitztime on Tuesday August 12, 2025 @01:49PM (#44879628)
How do you keep the context.md updated as the code changes?
Re:Claude Sonnet 4 now supports 1M tokens of context by shmoogy on Tuesday August 12, 2025 @02:21PM (#44879987)
I tell Claude to update it generally but you can probably use a hook
Re:Claude Sonnet 4 now supports 1M tokens of context by tombot on Tuesday August 12, 2025 @02:37PM (#44880174)
This, while it has context of the current problem, just ask Claude to re-read it's own documentation and think of things to add that will help it in the future
Re:Claude Sonnet 4 now supports 1M tokens of context by nicce on Tuesday August 12, 2025 @01:30PM (#44879413)
Even then, are you even allowed to use AI in such codebase. Is some part of the code "bought", e.g. commercial compiler generated with specific license? Is pinky promise from LLM provider enough?
Re:Claude Sonnet 4 now supports 1M tokens of context by GenerocUsername on Tuesday August 12, 2025 @10:12PM (#44884002)
Are the resources to understand the code on a computer? Whether it's code, swagger, or a collection of sticky notes, your job is now to supply context to the AI.

I am 100% convinced people who are not getting value from AI would have trouble explaining how to tie shoes to a toddler