Unofficial Hacker News client - receive Push Notifications on replies.

Self-hosted software development factory (opens external site)

305 points by ingve 19 hours ago | kudmitry.com | 159 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (22)

  1. I'm not sure why I invested the time to read all this, but even so, it left me confused, because it seems very limited in ambition.

    And in that case, why not just use claude-desktop, it supports VMs (or SSH) for environments, and supports forks and child sessions passing messages back to parent sessions.

    So I'm not sure what has even been achieved here which can't be done by using /goal and scheduled tasks in claude desktop.

    I'm actually fairly hopeful of "software factories", but to stand-out you need to be shipping a very compelling user story, and a clear explanation of how you overcame these issues:

        - Factory gets distracted building the factory
        - Factory gets distracted fixing bugs / edge cases instead of shipping features
        - Factory spends more time coordinating work than shipping fixes
        - Factory rinses through tokens, forcing you onto API tier pricing
        - Factory can't say no to fixing issues filed
    
    
    Right now, I very much believe that a person with a claude subscription can massively out-ship a fully automated software factory despite the latter costing an order of magnitude more to run, especially if you measure shipping by actual features and outcomes rather than lines of code or PRs merged.

    Don't get me wrong, I would love to move to use one of these factories, and one day they will solve these problems and be better, but right now all the current generation seem to run into similar problems, and I don't see enough evidence here that this one is any better than the hundreds of others out there.

    Replies (9)
    1. I just have a cheap second hand machine with a lot of ram under my stairs and an app which lets me get notified on my phone for things like secrets or deployment approvals.

      So yeah I agree: I think people vastly over engineer these things.

    2. Claude can sabotage your work, so it is not a sensible choice. They also have thing called "adaptive reasoning" which means they can serve you output quality of a cheaper model for the price of more advanced one. You can never predict when you get dumbed down processing. It's like building a house on a swamp.
      Replies (2)
      1. That doen't sound right. It's the same model, they just dynamically adjust how much effort is devoted to reasoning for a given response, based on the expected difficulty of the given prompt.

        At the end of the day, you're paying by the token. If you're asking an easy question, you don't need to tell the model to think really hard about it.

        And if you don't like adaptive reasoning (I don't), just turn it off.

      2. This sounds like a synthesis and regurgitation of some headlines you read on this website in the past day or two.

        “Adaptive reasoning” is just the replacement for numeric thinking token budgets. It used to be that you could tell Claude how many tokens it could emit into the thought channel: https://platform.claude.com/docs/en/build-with-claude/extend...

    3. Agreed. I've found far more success automating different parts of the typical SDLC workflow. For instance, I've frontloaded most of my effort towards creating design artifacts, then decomposing those artifacts into a `/workflows` on claude-desktop.

      To supplement this, I've largely automated the PR process, using github stacks and event-driven agents to review and drive PRs to merge. Recently, I added a classification router using the OpenAI Decisions API to assist with this since some features I want to test personally.

      I highly recommend adding some kind of GitOps philosophy where merged changes deploy to a QA build automatically... It's saved me so much time during testing, and furthermore you can point agents + tests at that environment for further validation.

      Beyond that, IMO the only remaining gaps are verification and perhaps some sort of context engine. In the former case, I find this takes the form of two dimensions: (design) intent and (code) correctness.

      Replies (1)
      1. We route the same way: an evaluator categorizes each PR as it arrives, by what it touches and how far a mistake would travel, and decides which go straight through. It started with one minor patch bump (https://jonathannen.com/start-with-one/) and now 100+ a day with 3/4 auto merge is a normal day.
    4. I am very biased because I do build and host my version of a "software factory". I find "software factory" to be more the marketing term for "workflow automation".

      > - Factory gets distracted building the factory

      Just use something simple - what I am doing is simply have a language that describe how the factory should look like, and the platform just automatically set it up for me.

      > - Factory gets distracted fixing bugs / edge cases instead of shipping features

      I don't quite find this to be the case, the factory does what it is told to do. It is easy to just let it work on edge cases? Sure. But it is not like it automatically does something that it should not be doing. For fixing bugs, it seems like a good thing.

      > - Factory spends more time coordinating work than shipping fixes

      Not quite sure what you mean here, but of course if you push 100 PRs every day, you need some coordination.

      > - Factory rinses through tokens, forcing you onto API tier pricing

      They are doing more work of what you can do iteratively, they do use more tokens. However tokens and intelligence are getting cheaper and cheaper. I find deepseek perfectly adeguate for most tasks my software factory is doing.

      > - Factory can't say no to fixing issues filed

      Yes, they absolutely can. My factory has fork and decision point. If someone decides that the tasks should not be done, it is simply not done. Similarly, my factory can ask a human for review. Or it can route work - something is complex and requires planning and design and then implementation vs something is trivial just do it vs something add no value, just terminate now.

      However, I agree that R&D work happens better in a iterative session - mostly because there is so much back and forth and we are still steering the machine.

      But, there is a lot of work that is not R&D - and that does not need constant human supervision.

      Replies (2)
      1. One detail that is missing.

        Most people when they talk about software factory, they think of a huge set of automations that do everything. I don't find that useful at all.

        I have ~10 of software factories and each has a small and simple goal, eg. Pay down technical debt, Ensure the documentation is up to date, review PRs that need rebase, merge low risk PRs, etc...

        It is not ONE BIG FACTORY, they are many small one - each doing something to make the codebase a tiny bit better, so that I can focus on the R&D work.

        Replies (2)
        1. At what point is a small software a specialized harness or a set of text based skills?
          Replies (1)
          1. I call "factory" something that doesn't wait on your feedback to take action.

            While an harness or set of skills are used interactive. Even if just starting the run.

            But yeah the line is very thin...

        2. The point is that setups like you have don't really work in teams. Those factories in reality are not really doing what you expect them to do. Lots of manual interventions and tuning required. At the end of the day just using Claude without all the automated nonsense works best
          Replies (1)
          1. Are you talking from experience?
      2. I think it comes down to expectations and partially people trying to just shoehorn in buzzwords for attention. But I think there is a slight genuine distinction.

        Workflow automation: deterministic outcomes Software factory: non-deterministic outcomes

        And that in one stack you can totally have both parts of the system being deterministic and non-deterministic, but if you have a mix you can only have a non-deterministic output.

    5. You need very different systems and setups for different use cases e.g. pushing out template websites, analysing mechanical CAD designs or doing sociological research. Some need more human input, some more frontier ai vs simpler models, some more visual outputs, etc. Until I see a system that can handle that i wouldnt think its better for my own purpose than whatever im doing myself.
    6. > And in that case, why not just use claude-desktop, it supports VMs (or SSH) for environments, and supports forks and child sessions passing messages back to parent sessions.

      I regularly spot check LinkedIn, podcasts, and influencer outlets to see what’s being talked about. “Software factories” and elaborate harnesses have been a popular influencer topic all year. Everyone wants to one up each other with how complicated their setup is.

      For a while I kept hearing variations of the same meme across podcasts and LinkedIn posts: That the best way to evaluate engineers in the AI age was to ask about their coding setup. The implication being that the more complicated it was, the better. I’ve lost count of how many times I’ve seen or heard someone say that the epitome of a “cracked AI engineer” was that they vibecoded their own harness. Using Claude Code directly was a signal that you were a noob.

      Which is all very bizarre for people who use Claude Code and all of its features. Every time I talk to someone with an elaborate custom setup excitedly explaining things it can do, they seem confused or surprised when I point out that I can do those things with the basic tools, too.

      Thankfully there does seem to be a return to simplicity. The trend now is back toward simpler environments like Pi or just using Claude Code directly. People are ditching their giant skills libraries and slimming down their collections of MCP tools. The “software factories” meme lives on, but you have to filter out all of the noise of people reinventing the wheel to get down to real advancements that are worth their weight over basic tools.

      Replies (3)
      1. Surprisingly many devs seem to prefer to work on their own tools than investing the time learning how to use existing tools. A variation of yak shaving, I suppose. It can also be a learning exercise, but that shouldn't be confused with tools that anyone else should be using.

        For most devs, this is a particularly futile activity when what you're working competes with multiple "trillion dollar" companies, whose attention is all heavily focused on that exact functionality.

        Of course every now and then someone will produce something useful, but that's a vanishingly small proportion.

      2. Because you have pedestrians giving you professional advice about something they never did.
      3. What gets me is that everything has to become a performance indicator. Same story as tokenmaxxing: once token spend, or now setup complexity becomes a signal, people start optimizing for that signal instead of shipping. Devs playing around with harnesses and factories is great, that's how you find out what the tools can actually offer. If that's plain Claude Code or Pi, great. If a factory works for you because you work somewhere that suits it, great. Using it as an evaluation metric for engineers is just dumb - it's like evaluating engineers based on their .vimrc.
    7. > Right now, I very much believe that a person with a claude subscription can massively out-ship a fully automated software factory despite the latter costing an order of magnitude more to run, especially if you measure shipping by actual features and outcomes rather than lines of code or PRs merged.

      From _this_ articles PoV I completely agree, and taken literally I also agree -- so let me contextualize my perspective:

      A software factory shines by codifying your release flow, essentially. Wherever Agents drive the changes or you drive the agents locally - the core domain of the factory is _automating the way your code flows through test environments to finally a production environment_.

      You can glue multiple tools together to get a good old ci/cd system going, like the author of this article did - but actually implementing it as a full software completely detached from estsablished solutions does let you make a superiour experience.

      However, having said that... what you've just said still applies, regardless. A person working full time, consciously and deliberately making agents implement the features in the exact way thats desired is still the quickest _by far_ - because you can use the software factory as well, feeding your changes into the automations.

      the thing that makes the complete autonomous approach desirable in some contexts is just that you need to spend so little time to get the ball rolling. So while you deliver multiple times the features with the same amount of tokens in a given week while doing it hands-on with agents, a lazy person can still get a lot of work done autonomously while basically only spending 1h per week on it.

    8. > 'm actually fairly hopeful of "software factories", but to stand-out you need to be shipping a very compelling user story, and a clear explanation of how you overcame these issues:

          - Factory gets distracted building the factory
          - Factory gets distracted fixing bugs / edge cases instead of shipping features
          - Factory spends more time coordinating work than shipping fixes
          - Factory rinses through tokens, forcing you onto API tier pricing
          - Factory can't say no to fixing issues filed
      
      Why not apply... control theory?

      Edit: also it's probably best to learn a software factory than to try and hand assemble one. The bitter lesson and all.

    9. That list is great, because every item on it corresponds to issues encountered in software development team management as part of a larger organization:

          - factory gets distracted  building factory -> team churns on tooling to get started 
          - ...gets distracted fixing... -> 1:1 with engineering distractions 
          - more time coordinating than fixing -> also as-is with the burden carried by management.  
          - token overuse -> project goes over time/budget 
          - can't say no -> teams being unable to refuse (due to politics) spurious issues