Hacker Newsnew | past | comments | ask | show | jobs | submit | codedrift_'s commentslogin

> What would need to be true so you wouldn’t need to verify what the agents are doing by hand anymore?

This. Lauren Tan (XSI) recently made a comment paraphrased: How do I turn this PR comment into something I never have to ask about again?

And it's sticking with me. Every time we put one of those checks in place, our agents get a little better. Multiplied over a company's life span those gains should add up. Or at least, that's the bet.


I'd say this problem already existed. Your coworkers were writing code that definitely fulfilled some kind of task, but not in the logic we wanted. The problem as I see it is we could sit down and hash out that difference and then move forward together, and that tool is now gone. There's no understanding layer.

There's also no point in explaining to an agent the ins/outs of your app when the next agent/harness ignores everything and does the code its own way anyway. None of the tools for organizational behavior work either. What're you gonna do, PIP the LLM?


Even if the problem existed, the problem has a new order of magnitude. Many of the problems AI has brought on are like that, like university cheating. A whole new order of magnitude.

> I ask the robot to break things into packages, to use class hieararchies instead of if/else blocks, things like that. but only sometimes, for code I expect to keep around a long time.

I'd argue this is a big part of software engineering now. Not just how to break things up, but why there's a whole lot of experience and knowledge going into your belief that a piece of code is going to stick around for a "long time" and somehow every senior SWE can look at a piece of a spec and just know it'll live forever. Now, granted, not everything matches that cleanly. There are pieces of code that I thought would be gone in a month that lived on a decade later. But generally, we know when codas throwaway versus when code is going to be something we live with forever.

And on some level, I think LLMs can probably do some of this work, but each individual decision in a code base comes from years of hard-won experience. And I haven't seen Claude, Codex, etc., able to make those intuitive leaps. At least not yet.


There are plenty of battles to pick in a company, and X vs. Y just isn't one of them. I do think there's value in having a conversation with your senior partner, asking them to get those standards written down somewhere so you (and others) can follow them going forward. I saw elsewhere in the thread that they were all in your senior partner's head, which is not a good place for any sort of engineering standard to live.

> I'm going to have a chat with the manager tomorrow morning

This is a one-way ticket into the Nobody Likes You bucket. You're going to your manager that has absolutely no influence over this project (you're on loan), so that what? Your manager can go to your senior colleague's manager and everyone gets pulled into a meeting that nobody wanted?

I can tell you from experience how this goes. Your senior engineering colleague is going to explain that Y pattern is what's been used, and that it should be Y pattern going forward so that there's not a one-off in the database. And you will be told to rewrite it. The only time this goes the other way is if your senior colleague walks. And then congrats, you're now the maintainer of all the pattern X and pattern Y.


Yeah, because it's probabilistic all the way down, adding stuff to the spec doesn't change the outcome.

"If the spec plus the AI is sufficient to generate software without the vulnerability, why didn't it just do that originally?" I ask this too. Best answer I've gotten is that LLMs simply don't know/understand systems yet in a way that would let them proactively find and fix these issues in the normal course of writing code.

I don't think that our test suites are robust enough to handle the idea of "re-engineer everything from a specification." There are plenty of examples of code that is being rewritten to Rust and proudly posted to X that looks like it passes all tests, and yet we learn very quickly that the tests never accounted for real world scenarios. I also oscillate daily as to whether or not we will ever be able to build test suites robust enough to handle this. In theory, yes, if we write good enough test suites with enough coverage, we'll get similar behavior... But there's just so few examples of what that looks like in practical everyday software that we ship.


First off, thanks for finding the thread and leaving some feedback. Didn't think anyone actively using it would find it since it's a Sunday. The docs problem you mentioned is a lot harder than I thought it was going to be because I built the docs page on a completely separate piece of infrastructure. I out-clevered myself and need to figure out how to keep it in sync with either the CLI or the Cloud app. Currently the docs are in sync with neither and it sucks.

Would you just want in-app docs searching? You're one of the few people playing with the cloud side right now, because I think 90% of the current value is just in getting our agents to write better checks and gates, and we can do that for nearly free.

I do think the agents need some kind of docs-answering option. Rules got better when the agents could ask the CLI to "show me the syntax tree", so maybe "show me the docs on <blank>" would also help.

Out of curiosity, do you have more ast-grep or more Vale rules at this point?


No, I think it's the right thing still. An API is probably the best example because an API has an incredibly long life and an LLM has no idea how long that life is. To an LLM, it's trivial to move an API from version one to version two. But the human impact of that is way more.

When things are designed right at the outset, the cost is way less down the road. And I agree that it's very easy to ask the LLM to go rewrite things. But there's still a consumer of that which gets written, and I think that's where the price gets paid.

So same focus, same choices that matter, they're just applied at a different layer plus a lot earlier in the process than we're used to as SWE.


Agree, if you just aim the agent at a fix in isolation, it's like rolling dice. I spend a lot more of the agentic time on bug exploration than the fix. As the human who's probably getting paged if the fix also breaks, I want to understand what's being fixed and why. My remedy has been to explicitly state what you're asking for. I specify the fix needs to be simpler and more maintainable, and I include good examples of bug fixes or links to GitHub of what effective fixes look like.

Asking it to just blindly wander the codebase won't give a good result, because there's a non-zero chance the code next to your bugfix is also badly written. The agent just propagates what it sees unless you steer it in a different direction.

The other thing I've started doing is turning the root cause into something enforceable: linters, static analysis, unit tests. I know as engineers we (mostly) do this, but agents are really terrible at writing good checks. eslint's "no-restricted-syntax" is my new best friend.


I do something similar, though I write most of the actual code myself. If there's a problem, I paste in an error message and ask for the best guess as to what's wrong. Then I ask what specific functions/classes/etc are involved and I read those parts of the code and implement the fix.

When you have a sprawling codebase that's gradually grown over time, it can take hours to find which file is responsible for a specific behavior, so having an LLM to pinpoint it is fantastic.


Right now, I think there's going to be a groundswell of these tools. We don't know what's "right" or "best" yet. I'm getting 2000x flashbacks, where it was the wild west for web technologies. I'm more shocked there's only a thousand or so listed so far. Submissions are down or I'd have tossed a few more into there. Give it about 6-8 months and we'll probably see common themes emerge.

One early theme I've noticed is ADEs are getting smarter about answering if they're blocked. An idle chat that ended in a question mark is probably blocked because it's waiting on human input. But it also looks identical to an idle thread that finished its work.

We'll probably need something like these ADEs though, even if it's just VSCode with an Agent View. You outgrow markdown files quickly. At some point you have to enforce the markdown files, make sure workflows are adhered to, etc. At that point, you start looking for a tool.


Oh.... submissions should definitely not be down. Appreciate you trying to add! Will get that fixed ASAP.

Definitely agree with a lot of this. I've come to learn after building an ADE for 8 months that the most important piece of it is how to let the human know when & where they're needed. As you start parallelizing a ton of work, your attention because exceedingly precious.

One of the techniques my ADE uses is that it encourages agents to use decision forms instead of plain language questions or they're driven by tasks (which can be 100% agentically managed). This let's me keep track of asks from directors (aka orchestrators/bots/long-lived agents) or short-lived sessions and surface them efficiently.

AGENTS.md and skills are valuable, but they're still non-deterministic. Efficiency and trust in a tool comes from deterministic guarantees. The second you have to comb through all of your work to see where you need to follow-up or nudge an agent along, all of the efficiencies of AI start to evaporate.


In a former life, I ran platform teams and the CI speedups we fought for rarely lasted. A few months later someone adds a sleep to a test or a new job skips the cache, and the build is slow again.

How does StarSling handle that drift? Does the loop keep watching a workflow after a PR merges, and will it catch a regression on a win it already shipped?


That constant battle you're describing is exactly why having agents part of your hosted runners is valuable. Our agents continuously watch your telemetry, code changes, and runs to find more optimizations. When a PR merges, the agents will catch any regressions and open a fix or revert.

Given your past experience, is StarSling solving the drift issue the way you'd want it to be solved? Would love to hear any ideas you have for what the ideal solution would look like.


I think it's solving some of it, yeah. Most teams never catch it at all, so something watching on merge is huge. About the only thing I'd really pine for is StarSling to also add in regression prevention.

If the cause of slowdown has a fix, we should be able to add pre-commit checks that prevent the bad behavior going forward. Otherwise I'm afraid it'll creep back in.

Good news though, you can verify that a code check StarSling writes prevents the regression since you've already got all the testing infra built. It's just anything that runs earlier in the process will be cheaper, predictable, and faster.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: