frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Where is legacy codebase maintenance headed?

5•AnnKey•20h ago
I've seen a few anecdotes lately that say that they use Claude Code on legacy codebase and with relatively little supervision it can work on complex problems. Then the claim that Claude Code writes most of its own code, and that they no longer mentor their newcomers - instead, AI answers their questions and they can start making meaningful changes within the first few days. To me it sounds almost too good to be true, so I'd love to have some reality check.

I've spent most of my career in legacy codebases, reading, tracing behavior, making careful changes, and writing tests to protect them. I've taken a sabbatical though, which ends soon, and I'm quite worried and excited to what has happened during this time.

For those working on legacy codebases:

- Has the workflow really shifted to prompting AI, reviewing output, and maintaining .md instructions?

- Does your company allow Claude Code, Codex or similar tools? If not, what do you use?

- Do companies worry about costs and code privacy?

- Where do you think this is headed, a year from now?

Concrete examples, good or bad, would be especially helpful. Thanks.

Comments

al_borland•18h ago
I work mostly in Ansible and Copilot is completely incompetent when trying to deal with it. I’ve tried several models that are available (Claude, Gemini, various GPTs, Codex), and they’ve all been pretty bad.

For example, I asked just this week if a when condition on a block was evaluated once for the block or applied to each task. I thought it was each task, but wanted to double check. It told me it was done once for the block, which was not what I was expecting. I setup a test and ran it; it was wrong. It evaluates the condition on every task in the block. This seems like a basic thing and it was completely wrong. This happens every time I try to use it. I have no idea how people are trusting it to write 80% of their code.

We recently got access to agent mode, which is the default now. Every time it has tried to do anything it destroys my code. When asking it to insert a single task, it doesn’t understand how to format yaml/ansible, and I always have to fix it after it’s done.

I can’t relate to anything people are saying about AI when it comes to my job. If the AI was a co-worker, I wouldn’t trust them with anything, and would pray they were cut in the next round of layoffs. It’s constantly wrong, but really confident about it. It apologizes, but never actually corrects its behavior to improve. It’s like working with a psychopath.

In terms of training AI on our code base, that seems unlikely. We’re not even allowed to give our entire team (of less than 10 people) access to our code. We also can’t use whatever AI tool is out there. We can only use Copilot and the models it has, and only through our work account with SSO so it applies various privacy rules (from my limited understanding). We don’t yet have access to a general purpose AI at work, but they are in pilot I think.

I have no idea where it’s heading, as I have trouble squaring the reality of my experience with the anecdotes I read online, to the point where I question if any of it is real, or these are all investors trying to keep the stock prices going up. Maybe if I was working in a more traditional language or a greenfield environment that started with AI… maybe it would be better. Right now, I’m not impressed at all.

raw_anon_1111•16h ago
I don’t use Ansible. But both Codex (and just using ChatGPT) and Claude Code are excellent with CloudFormation, Terraform and the CDK. Sometimes with ChatGPT I have to tell it to “verify its code using the latest documentation” for newish features
journal•7h ago
realistically, you can get a project started within low enough tokens, to have a long enough conversation to generate something that looks like 1.0. eventually you will reach a point where every request becomes more expensive and caching doesn't help. you'll have to truncate/prune/hoist the context however you do that, summarize is what i do and i get creative. i have absolutely no idea how anyone using agents is producing anything maintainable over a long iterative period.

this is llm bitcoin moment, you will find them raise the price so high that running these agents like you are used to now will leave you with no pants on. you need to aim for minimum context, not stuff it with everything irrelevant.

jf22•1h ago
Yes the workflow has shifted.

I've handled the sloppiest slop with llms and turned the worst code into error free modern and tested code in a fraction of the time it used to take me.

People aren't worried about cost because $1k in credits to get 6 months of work done is a no brainer.

A year from not semi-autonomous llms will produce entire applications while we sleep. We'll all be running multi-agents and basically write specs and md files all day.

Ask HN: Is it time for HN to implement a form of captcha?

85•Rooster61•23h ago•123 comments

Tell HN: Get a dying iPhone 12 mini in 2026

16•remywang•12h ago•16 comments

I've maintained an open source task manager for 8 years

3•johannesjo•7h ago•1 comments

Ask HN: Any Microsoft employees/devs here? What's happening to Microsoft?

104•thehamkercat•3d ago•80 comments

Ask HN: Who wants to be hired? (January 2026)

169•whoishiring•1w ago•402 comments

Ask HN: How do you use 5–10 minute gaps productively?

44•pea•4d ago•56 comments

Ask HN: Is there a Zod validation library for Golang?

3•danver0•6h ago•1 comments

Ask HN: How would you decouple from the US?

30•yawa_me_worht•1d ago•16 comments

Ask HN: Who is hiring? (January 2026)

353•whoishiring•1w ago•342 comments

I built an AI agent that deploys a PR to production

2•amouehsan•17h ago•1 comments

Ask HN: Where is legacy codebase maintenance headed?

5•AnnKey•20h ago•4 comments

Funding Opportunities with Amateur Radio Digital Communications (ARDC)

2•ARDC_73•21h ago•0 comments

Implementing NaN Boxing in a Stack-Based VM

4•tracyspacy•2d ago•0 comments

RevisionDojo, a YC startup, is running astroturfing campaigns targeting kids?

451•red-polygon•4d ago•88 comments

Developing a high level language over Zig

2•ziyaadsaqlain•1d ago•4 comments

Ask HN: We built an air-gapped document vault with encrypted print and export

3•KevinG777•1d ago•11 comments

Ask HN: What's a standard way for apps to request text completion as a service?

5•nvader•3d ago•3 comments

Ask HN: Reading list for being a better engineer?

47•drekipus•5d ago•17 comments

Git analytics that works across GitHub, GitLab, and Bitbucket

3•akhnid•3d ago•1 comments

I made a lofi page for late night work

21•onmyway133•3d ago•10 comments

Ask HN: What will you pick as your database of 2026 Yugabyte, TiDB or SurrealDB?

5•marknefedov•19h ago•3 comments

Amazon Prime AI overviews can't even get the basics right

43•PyWoody•3d ago•13 comments

Ask HN: Has anyone else been struggling with search lately?

31•areoform•3d ago•20 comments

Anyone building software for wearable tech?

16•ssc23•4d ago•15 comments

Ask HN: Is anyone aware of a LinkedIn mirror like xcancel.com for X?

11•danielfalbo•2d ago•8 comments

Ask HN: How do small teams make sure recurring tasks don't slip?

7•batels•3d ago•16 comments

Who are the companies that still use Perl in their back end?

6•micorazon•21h ago•7 comments

Ask HN: Anyone else seeing porn images in YouTube ad preview images?

4•OhMeadhbh•2d ago•7 comments

Tell HN: I'm having the worst career winter of my life

100•mariogintili•1w ago•128 comments

Ask HN: How do you do store-and-forward telemetry at the edge?

4•Aydarbek•2d ago•3 comments