Trying the software factory pattern
Thread
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
Trying the software factory pattern
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
datadrivenangel · · focus · HN ↗
Seems like setting yourself up to have a massive pile of janky cruft.
startup_zombie_ · · focus · HN ↗
[dead]
ramon156 · · focus · HN ↗
theshrike79 · · focus · HN ↗
bicx · · focus · HN ↗
I know there are traditional testing frameworks that can detect jitter and frame drop to a certain level. We could potentially start having agents build that in.
If we had concrete designs and specs on every project, that would also be helpful, but in a fast-moving startup, that gets delegated to the builders. That puts a human back in the loop every time.
Curious to hear what anyone else does to fully adopt a software factory pattern.
nkrisc · · focus · HN ↗
sroerick · · focus · HN ↗
Right now I'm working on a declarative UI framework which can help me along here. My thought is that if I sacrifice a little control for sane primitives, that will make that spec /build loop easier.
I think ClayUI is a really interesting "reduced instruction set" for UI. I don't know that immediate mode UI is the right call for anything web related (that's how you get React lol) but his reduced primitive layer is very interesting to me
flir · · focus · HN ↗
After your first para, I was about to suggest exactly that. I find that frameworks (both front-end and back-end) constrain choices, and result in both sensible defaults and more consistency.
But there's a lot of these you can just pull off the shelf. Maybe you don't need to build your own?
sroerick · · focus · HN ↗
flir · · focus · HN ↗
Think up a simple CRUD problem (lets say a book database - Work *-* Author, Work 1-* Publisher, Work 1-* Shelf). Write a markdown spec, and have the chatbot one-shot it in [language of choice]. Then do the same thing, but tack "build it in Filament/Avo/Django/AdonisJS" on the end.
I'd be interested to see if your results match mine - everything's just more consistent, and smoother. The framework acts as guardrails, and the LLM has to make fewer choices.
[deleted] · · focus · HN ↗
[deleted]
kcb · · focus · HN ↗
hyperhello · · focus · HN ↗
clintonb · · focus · HN ↗
The downside, however, is they are also unknowingly digging themselves into holes. For example, we have AI-generated skills that are thousands of lines long and include Python scripts with hundreds of lines of tests. Some of these Python functions are literally just emitting MCP tool names.
hypfer · · focus · HN ↗
Preferably ones that I could validate myself instead of just having to take someone's word for it.
pjm331 · · focus · HN ↗
pcestrada · · focus · HN ↗
jwpapi · · focus · HN ↗
jdw64 · · focus · HN ↗
Fundamentally, a pattern is a reusable solution to a recurring problem. But what the author is describing here is simply an operational loop and a management strategy.
I think current agent methodologies are practically indistinguishable from human developer management theories. Isn't this just a feedback process? I would consider this an agentic workflow.
Also, people casually use the metaphor of a "factory" when churning things out, but a factory fundamentally operates on "orders"—it has a specific objective and a target production volume. The entire approach of just trying to dynamically respond to everything under this label feels somewhat contrived.
Furthermore, I always have this underlying question: why are we building software factories in the first place? Where are we manufacturing the people who will actually buy all this?
I've heard stories of people finding success by running "app factories" in the early 2010s when apps were scarce. But in the agent era, I believe we are already drowning in AI slop. We have to remember that back then, producer friction was high, and simply submitting an app was a difficult hurdle.
Now, AI handles most of the basics by default. Things that were once highly praised are now just the baseline. To create something actually worth selling today, you have to break the existing grammar entirely, build much more complex architectures, and offer deeper features. Given this new standard, I seriously question whether mass production is the right answer.
simianwords · · focus · HN ↗
You say this but then
> Now, AI handles most of the basics by default. Things that were once highly praised are now just the baseline. To create something actually worth selling today, you have to break the existing grammar entirely, build much more complex architectures, and offer deeper features. Given this new standard, I seriously question whether mass production is the right answer.
To do something much more complicated, you need to rework the fundamental ways of working which is exactly what the author is proposing. I think you are already sold that this is the base line (but it doesn't seem like it based on your post).
jdw64 · · focus · HN ↗
[dead]
nevertoolate · · focus · HN ↗
glouwbug · · focus · HN ↗
hibikir · · focus · HN ↗
Maintaining quality when an organization just lacks the muscle to make changes and nobody has the mandate to try to make sure uptime is in good shape is a challenge. A lot of things break, precisely because there's just as much change as Will sees, but it's very unevenly distriuted.
bsilvereagle · · focus · HN ↗
redmattred · · focus · HN ↗
I suspect that the vendors out there who have not adopted AI development and are losing market share to competitor who has are not vocal about not being an adopter, they are just complacent.
joenot443 · · focus · HN ↗
I've built websites on the side for friends and SMBs for years now. Previously a lot of WP, but now it's just static sites I host on a VPS which are built with Claude. I think the sites are very good, but they're not winning awards. The newer static sites from Claude are miles better than the WP ones. The stack is usually irrelevant for my clients, they want their site to look good, load immediately, never go down, and show up on Google.
One of my more recent projects was for a buddy who runs a local gym. From start to finish it was probably 4h of work. The same site would have taken me probably 40h back in 2018. He was happy with the price and I was thrilled with the timeline, it was wins all around.
To bring it it back to your question, I think in the space of modest static sites for SMBs, any agency using AI will almost certainly outcompete ones that aren't.
I'm aware this little story is a simplification of the topic you're getting at, but I do think it's a sign of what's to come.
richardbarosky · · focus · HN ↗
However, as far as what's being pursued, it seems more like wantonly trying to ride a hype cycle without strongly questioning the end-to-end value of new software development approaches or vetting their immediate suitability.
Personally, I think it would be more sensible to take a few individuals or a smaller team(s) and do more isolated/skunkworks experimentation and adopt as justified based on what those people report/experience. The smaller group can adjust faster and iterate/advise the larger dev org about the good approaches/techniques/strategies, and avoid more broad damage/chaos for things that aren't that well thought out.
For more conservative AI use cases like adding to code review, writing low stakes PR summaries, or beefing up security checking, a more global, but still not off-the-rails, approach would be the kinds of things that would make more sense to push more broadly.
simianwords · · focus · HN ↗
I think this can work if you've set up your codebase with proper AGENTS.md with all the guarantees and low level design you expect. I think some human intervention is required here so that you keep the codebase maintainable - you as the human know the domain and future plan well so your addition is valuable.
I also think its necessary to have some garbage collection - scheduled jobs that look at the codebase and think of ways to tighten it and come up with better design.
Lastly, even if one doesn't take away the full factory, I still think that deployments should be fully automated. In the companies I have seen, deployments are still a cognitive burden - one must look at 100 different dashboards and test in staging, look at logs and so on. This is something the agent can do very well and is best automated. Very few orgs have done this!
hehdtyjjoj · · focus · HN ↗
Though I'm lazy now that so I even start to let some garbage in and just skim over the prs because it does not necessarily impact many people and especially project stability I think? I just hope it does not accumulate so fast.
alexpotato · · focus · HN ↗
- Create a Git Hub project board for issues
- Connect Grok to the above
- Use Grok voice mode to take ideas, have Grok refine them with me and then save them as issues
- Created slash commands in OpenCode like /ni (new issue), /do (do an issue), /curr (what is the current issue), /done (self explanatory)
- I generally tell the OpenCode instance to /do <number> and then off it goes
This give me several benefits:
- I can use Grok Voice while walking or driving to develop and test ideas
- I can lose my entire local OpenCode setup but still have relevant data in the issues
- multiple machines can read from GitHub
- I could go even further and have separate user accounts for each of my bots.
Having been both a PM, dev, SRE and manager, this really does feel like managing a team of devs.
jmathai · · focus · HN ↗
<a href="https://jaisenmathai.com/articles/sojourn-for-ios-was-45-one-shot-prompts/" rel="nofollow">https://jaisenmathai.com/articles/sojourn-for-ios-was-45-one...
mentalgear · · focus · HN ↗
le-mark · · focus · HN ↗
K3UL · · focus · HN ↗
botacode · · focus · HN ↗
ThalesX · · focus · HN ↗
dlederle · · focus · HN ↗
ThalesX · · focus · HN ↗
matkoniecz · · focus · HN ↗
"is a lot higher than the chances" - you killing people due to such stupid idea is far far worse, so that despite it being less likely it has far greater negative impact
ThalesX · · focus · HN ↗
Just horrible takes you're somehow equating using your mouth and brain in a car for any non car function to killing people.
I swear to God, you people are just amazing. I hope you never speak to your friends or family in a car. God forbid your child ask you a question. "Daddy, why are cows brown?" cause that would make you engage your brain and kill people.
Signalers... and now I'm ashamed for having posted three comments to this thread with no other contribution than agitating signalers, and myself in the process.
skeledrew · · focus · HN ↗
andyjohnson0 · · focus · HN ↗
Musk would be so proud. Do you by any chance drive a cybertruck too?
Seriously, don't do this while you're driving. Or even while your car is driving. Its dangerous to be distracted in that situation.
madarco · · focus · HN ↗
Also working with parallel sandboxes is a must: I use a manger session that read/write the issues from Notion and dispatch them to workers, it handles similar work to the same box to minimize merge conflicts.
PS: I'm using AgentBox for this (discl: I'm the author, free OSS): npm -g i @madarco/agentbox but now also Claude is releasing Projects (still rolling out) and Cursor had cloud agents for a while
llmpress · · focus · HN ↗
[dead]
nonethewiser · · focus · HN ↗
popularonion · · focus · HN ↗
Prompt Engineering, OpenClaw, Ralphing (remember that?) have all fallen already.
vjvjvjvjghv · · focus · HN ↗
anthoniks · · focus · HN ↗
[dead]
lhk931122 · · focus · HN ↗
mycall · · focus · HN ↗
torginus · · focus · HN ↗
IRL: OpenAI tells Astra 'plz solv navier stoks kthx bye'
startup_zombie_ · · focus · HN ↗
[dead]
RomanKornev · · focus · HN ↗
You need really good guardrails if you want to automate the software engineering part. And since this meta-layer sits 1 level above code you can't use code to verify and constrain agents effectively. As soon as agents start prompting agents any small wrinkle in the spec the potential to derail the whole thing. You want someting akin to "alignment docs", and even then they rarely follow it to spec.
Left unattended, they just start inventing unspoken requirements, making asinine product decisions and generally dig into a hole they can't get out of. One failure point I've seen regularly is "latching on" to a single word in the alignment doc and blowing it way out of proportion to the point where it no longer makes sense and compromises on core product. They get "tunnel visioned" and lose the big picture. Happens every time.
Will be interesting to see how new model developments progress, but so far the human interlayer is still a requirement.
deterministic · · focus · HN ↗
So I don't see much benefit in this approach compared with human-in-the-loop development. It basically turns development into a waterfall process, with the human deciding what to build up front, rather than the more agile approach where the human and LLM continuously decide what to do next.