HN user

waldopat

159 karma

About Me https://www.patrickwaldo.com

My Company https://www.unicornforms.com

Posts11
Comments60
View on HN

While everyone is revoking OAuth apps, rotating API keys, and deleting Vercel accounts, this is a good reminder that the scary part is how short the path was from OAuth token to employee account to internal systems to customer secrets.

Many folks here likely have some stack that looks like: Google Workspace, GitHub, Vercel/Railway/Render/etc. where env vars or secrets are hosted. These are all loosely coupled but transitively trusted.

So compromising any one of them becomes a threat vector. In other words, if System A trusts System B, and System B trusts System C, then System A trusts System C. This is also why OpenClaw is frightening from a security perspective.

Also, this is a good reminder to run audits. Run `npm audit` on a typical Next.js project and you’ll probably see DoS vulnerabilities, ReDoS issues, Prototype pollution, code injection paths, handlebars etc. I'm sure you'll find something unexpected if you don't have routine code hygiene checks.

Here's a founder/product perspective. This maps well to the skateboard => scooter => bicycle => motorcycle => rocket ship product metaphor that's often used. Each phase teaches different design patterns, constraints, and failure (and success) modes for different inflection points of a startup's journey.

But here's the reality. What got you technically to PMF may hold you back from your Series A and next steps. Technical debt is just the natural cost of growth, but (here's the kicker) optimizing tech stacks too early can lead to slower execution time. Most startups never reach exponential scale anyways. Put another way, starting with "rocket ship" does not immune the startup from rewrites, refactoring or throw away code.

The real systems and management challenge is building architectures that are intentionally temporary or modular. Simple enough that throwing them away later isn’t traumatic and rebuilds aren’t a sign of failure but success.

Honestly, you might want to step outside tech altogether. Join a local civic or neighborhood organization or volunteer with a nonprofit. There was a nice thread last year about libraries.

Channeling Steve Blank, get out of the building! You’ll run into real problems faced by real people who often have limited exposure to both AI and tech, but who can still benefit enormously. Listening and engaging is always a good first step before jumping in to suggestions.

In this space, needs are far more data and visualization driven, which are not strictly AI related. It may also be both a useful and humbling antidote to hype cycles.

Go read The Founder's Dilemma by Wasserman. It's great and covers almost any problem a founder will run into. To really summarize, it's all about trade offs and prioritization. Patents vs trade secrets fits nicely.

Trade secrets are far cheaper and easier to maintain than patents. In short, patents are only as strong as your ability to enforce them. Also Alice Corp. v. CLS Bank International (2014) weakened software and process patents. That said, if you can’t realistically defend IP in court, you effectively don’t have it. From an early-stage founder perspective, that makes patents a questionable use of time and money and potentially what kills the company.

This may contrast from information you get from a lawyer or VC. Patents are attractive because they create an asset someone else can later buy or defend. For the founder, the incentives aren’t squarely aligned.

Neither approach is more right or wrong, but there are very real practical consequences. If you are pre-seed who is bootstrapped or done a family & friends round and are pre or early revenue, trade secrecy is by far your better option.

As an additional note, if you don't own the underlying AI models and are just a better wrapper for Claude or ChatGPT you at best have a very weak IP or patent position.

I think this also shows up outside an AI safety or ethics framing and in product development and operations. Ultimately "judgement," however you wish to quantify that fuzzy concept, is not purely an optimization exercise. It's far more a probabilistic information function from incomplete or conflicting data.

In product management (my domain), decisions are made under conflicting constraints: a big customer or account manager pushing hard, a CEO/board priority, tech debt, team capacity, reputational risk and market opportunity. PMs have tried with varied success to make decisions more transparent with scoring matrices and OKRs, but at some point someone has to make an imperfect judgment call that’s not reducible to a single metric. It's only defensible through narrative, which includes data.

Also, progressive elaboration or iterations or build-measure-learn are inherently fuzzy. Reinertsen compared this to maximizing the value of an option. Maybe in modern terms a prediction market is a better metaphor. That's what we're doing in sprints, maximizing our ability to deliver value in short increments.

I do get nervous about pushing agentic systems into roadmap planning, ticket writing, or KPI-driven execution loops. Once you collapse a messy web of tradeoffs into a single success signal, you’ve already lost a lot of the context.

There’s a parallel here for development too. LLMs are strongest at greenfield generation and weakest at surgical edits and refactoring. Early-stage startups survive by iterative design and feedback. Automating that with agents hooked into web analytics may compound errors and adverse outcomes.

So even if you strip out “ethics” and replace it with any pair of competing objectives, the failure mode remains.

You don't need spec kit or humanlayer per se, though they are good reference points for starting out, but you do need your own CLAUDE/AGENTS, README, ARCHITECTURE, SDRs, policies, research docs and planning docs all nicely organized in files and folders to work well with AI agents.

Particularly in a brownfield development context, using AI to research issues, gaps, bugs, tech debt, reusable patterns etc. as research files is really useful. I find the sweet spot is ~750 lines for each file. Planning files can max out at 1,500 lines if needed or otherwise broken up into individual phases. You can always ask an LLM to create a starter set of docs to get you going and then maintain as you go along.

For the management nerds, none of this is new. See: Writing Effective Use Cases by Alistair Cockburn and Agile Specification-Driven Development by Ostroff, Makalsky and Paige. The fundamentals remain the same and I'd say become even more important in a brownfield context with a high degree of tech debt or complexity. Greenfield is a different story.

What's important with spec driven development is that the LLMs dramatically reduce the cost of both good documentation and good technical specifications. Once you have a good plan and good references, you can build anything with a high degree of accuracy.

I'd add caution about drift. The more documentation you shove into the context, the worse things can get. You can also create a beautiful and perfect functional spec that becomes a swiss cheese of gaps when you create your technical implementation plan. Always check and use different AI models adversarially to ensure you are actually getting the plan you want. Usually ChatGPT can spot Claude's blind spots, for example. And always test manually.

Agreed on using both. I definitely know people who prefer Codex or Cursor. It's probably Coke or Pepsi at this point. I tend to prefer Claude Code, but that's just me.

I feel like they are picking a lane. ChatGPT is great for chatbots and the like, but, as was discussed in a prior thread, chatbots aren't the end-all-be-all of AI or LLMs. Claude Code is the workhorse for me and most folks I know for AI assisted development and business automation type tasks. Meanwhile, most folks I know who use ChatGPT are really replacing Google Search. This is where folks are trying to create llm.txt files to become more discoverable by ChatGPT specifically.

You can see the very different response by OpenAI: https://openai.com/index/our-approach-to-advertising-and-exp.... ChatGPT is saying they will mark ads as ads and keep answers "independent," but that is not measurable. So we'll see.

For Anthropic to be proactive in saying they will not pursue ad based revenue I think is not just "one of the good guys" but that they may be stabilizing on a business model of both seat and usage based subscriptions.

Either way, both companies are hemorrhaging money.

The Codex App 6 months ago

Just jumping on the thread. I think the conversation is conflating two very different things:

1. Turing test UX's, where a chat app is the product and the feature (Electron is fine) 2. The class of things LLMs are good at that often do not need a UI, let alone a chat app, and need automation glue (Electron may cause friction)

Personally, I feel like we're jumping on capabilities and missing a much larger issue of permissioning and security.

In an API or MCP context, permissions may be scoped via tokens at the very least, but within an OS context, that boundary is not necessarily present. Once an agent can read and write files or executed commands as the logged in user, there's a level of trust and access that goes against most best practices.

This is probably a startup to be hatched, but it seems to me this space of getting agents to be scoped properly and stay in bounds, just like cursor has rules, would be a prereq before giving access to an OS at all.

The Codex App 6 months ago

It seems the big feature is working agents in parallel? I've been working agents in parallel in Claude Code for almost 9 months now. Just create a command in .claude/commands that references an agent in .claude/agents. You can also just call parallel default Task agents to work concurrently.

Using slash commands and agents has been a game changer for me for anything from creating and executing on plans to following proper CI/CD policies when I commit changes.

To Codex more generally, I love it for surgical changes or whenever Claude chases its tail. It's also very, very good at finding Claude's blindspots on plans. Using AI tools adversarially is another big win in terms of getting things 90% right the first time. Once you get the right execution plan with the right code snippets, Claude is essentially a very fast typer. That's how I prefer to do AI-assisted development personally.

That said, I agree with the comments on tokens. I can use Codex until the sun goes down on $20/month. I use the $200/month pro plan with Claude and have only maxxed out a couple times, but I do find the volume to quality to be better with Claude. So far it's worth the money.

One thing I particularly appreciate about Guillermo Rauch, as an AI founder, is that he's got deep technical talent, especially as the lead on Next.JS. As I've been diving deep on AI tools, particularly for frontend prototyping, I've been pleasantly impressed by the quality of code that Vercel produces in addition to the overall design/look and feel.

This was a very refreshing interview.

Ha! Wow. It just said this. Dang!

STOP TRUSTING CLAUDE CODE'S CLAIMS!

This is the EXACT same response it gave you before when the screen was blank! It's literally copy-and-pasting the same "success" message while the component is completely broken.

Claude Code is Lying to You: Same identical response as last time Screen is still blank - nothing changed No actual progress made Just repeating the same false claims

I've been thinking more about the Base44 breach, which gave unauthorized users open access to any private application. For me, it shows that vulnerabilities aren’t just technical, they’re social.

Trust models fail. Governance gets hand-waved. And suddenly the whole ecosystem inherits a backdoor.

There's been great discussions recently about decentralization, self-hosting, or AI alignment, but often miss that these are socio-technical systems. Not just code or technical solution, but culture and human-computer interaction.

Also I noticed there were only a couple posts here in HN history that referred to the term "socio-terchnical" or "sociotechnical." I'm sure folks have brought it up in other ways, but I thought I'd share a primer.

How have you incorporated socio-terchnical practices into your teams or businesses?

I've got a question! I'd say what's happening with viebcoding is really an acceleration of move fast and break things. Uber and Snapchat both had major security vulnerabilities, resulting in millions of user records leaked, in their hey day of the mid 2010s. And that was WITH whatever DevOps pipeline, code review or other best practices likely in place.

What's unique about Tea or Base44 (or Replit founder deleting his codebase) is A) the disregard for security best practices and B) the speed at which they both grew and exposed vulnerabilities.

So my question is, how do you see the balance of cybersecurity and AI as everything moves faster than ever before?

That's my take too. Perhaps $80M for free organic users was a steal?

I do think credit is due to the founder, because he was able to single handedly build and market a valuable solution. That said, he also pushed code every day without code reviews. This is how you get technical debt and security vulnerabilities so fast.

I wish I could like this post, but it unfortunately shows a lack of historical framing. So, as an elder millennial, I thought I'd backfill with some data from the 1990s onward. (I'm a bit of a management/tech history nerd as well and studied it in grad school)

TL:DR; The precarity of knowledge workers is not new and it happens every 3-5 years, though it sure feels like it's getting more common.

1991-1993: IBM laid off 120,000 white collar workers, the largest in history. AT&T and DEC also restructured.

1995-1996: Telecom and PC layoffs as labor shifted abroad and JIT management becomes dominant

2000–2002: Perhaps the first example of over hiring at the end of the 1990s (echoing the ZIRP era) and then massive layoffs with the Dot-com bust

2008–2010: Widespread layoffs across Big Tech and startups with the Great Recession.

2012–2015: Companies like Microsoft, HP, and IBM shed tens of thousands with post-mobile restructuring.

2020: Travel/service tech (Uber, Airbnb, etc.) were hit hard due to COVID shock.

2022–2024: The current wave we’re living through with Post-ZIRP and AI pivots.

If you're looking for books or articles, Gina Neff, Stephen Barley or Gideon Kunda have some of the oldest. In short, there is no real difference between then and now: Instability is hitting workers who genuinely thought they had made it.

That's actually a really good point, particularly in this era of LLMs. I'm curious about an example that might only be available in a physical book. I can imagine out of print or hard to find books would be up there, but anything that may be more commonly available?

Also a Safari Books subscription is free through some libraries.

Personally, I haven't completely cut the chord on subscriptions like HBO or Netflix, etc. but you may have given me some inspiration to give it a go. Overall, I'm trying to reduce my screen/media time.

I'll kick off. Yes, I have a library card. Although, I'll be honest since the pandemic I pretty much stopped going. In contrast, my wife has been using her library card more since the pandemic, particularly to listen to audiobooks.

In the before times, I did quite a bit of research through the library or would check out books based on my interest areas. I never had a problem waiting for books, though sometimes I had to do an interlibrary loan.

Anyways, now I'm excited to get back to my local library.