Self-hosted software development factory

(kudmitry.com)

27 points | by ingve 1 hour ago

6 comments

  • eterm 25 minutes ago
    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.

    • rsalus 4 minutes ago
      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.

    • XorNot 12 minutes ago
      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.

    • varispeed 6 minutes ago
      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.
  • sroerick 29 minutes ago
    This is cool, but is missing details on a lot of what is, to me, the actually interesting parts of this, like:

    How did you actually process the orchestration loop? Is it just a prompt which says "please fix this forgejo issue?" That's my read on it, looks like tmux, forgejo, and Claude

    Do you have a multi step process with review? Or is it just one shot per feature.

    How do you track acceptance? How do you know if the work is completed?

    Have you seen any emergent structures like agent swarms or gates/laws emerging?

    Are you using permanent / long running / claw style agents or regular Claude? Do agents have different roles?

    What have been the big obstacles in actually getting work done?

    What have you used the factory to produce and are you happy with the results?

    Do your agents get depressed?

  • hasteg 42 minutes ago
    > When an agent learns something valuable that is worth remembering for future sessions, it will write it into the project’s AGENTS.md, as long as it’s short. If it’s longer than a paragraph or two, then it will put a markdown file in docs/. This way all the project knowledge is stored inside the project. How do you define something valuable? Do you just add to the system prompt something prompting the model of along the lines to add “something valuable” that it learn to the agents.md? Or is it something that you find when analyzing output and tell it make note of that? Or something different entirely? > With the advent of AI summarization tools, I believe that not many humans will read this, so I guess my main reason for writing this to try to understand myself what have I done and how it works, but also inspire others who still like to read human generated content, to perhaps experiment. I find that’s why I write anything myself as well these days. To understand my own production and actually get the sense that I learned something. A lot of the time it feels like screaming into the void but at least in doing so I can actually use critical thinking to formulate how to best explain my point. Thanks for writing this by hand, made it a lot more compelling to read.
    • chrikrah 25 minutes ago
      For me the trigger isn't the model deciding something is valuable. It writes a note when I correct it, or when it disproves an assumption it was working from.

      It is important that there is an index of some sort though that is kept up-to-date.

  • singular_atomic 8 minutes ago
    "Software factories" feel like the next version of whatever this was: https://steve-yegge.medium.com/welcome-to-gas-city-57f564bb3...
  • bluerooibos 37 minutes ago
    I stopped reading at software development factory. What even is the point?
    • xnx 32 minutes ago
      Agree. I'm happy to have the prompts and harnesses improve for frontier models, but have zero desire to learn about someone's made up system.
      • mynegation 19 minutes ago
        I have a similar system and it was interesting for me to read. Not that I am going to adopt it wholesale but there are interesting ideas and tips for me. Like Lima or Semaphore UI
  • serious_angel 1 hour ago

        > There are many various control panels for agents developed by various people. I explicitly decided against using these because they are most likely vibe-coded or VC-funded. 
        > I had the time, and my own vibe-coding abilities, to create something that works for me, rather than building my workflow around a tool by some YouTube influencer.
        > 
        > Source: https://kudmitry.com/articles/self-hosted-software-development-factory/
    
    Your project does not seem to be any different.

    In a few days, another one with ~$50 who has free cherished time, and has irresponsible attitude to the history vibe-coding, will have the same article with the same exact message.

    In a few months, there are 30 different articles and absolutely different incompatible opinionated tools.

    In a year, there's a mess no one knows how to manage: https://xkcd.com/927/

    • malfist 58 minutes ago
      Yeah, but I can setup an agent loop to write new standards to unify all the standards once a new one is released. Automated N+1 standard creator! This is the future we've been too afraid to dream of
    • coffeefirst 27 minutes ago
      I miss the good old days when everyone would just invent their own JavaScript framework.