News for hackers. Stuff that matters.

joegaebel

Re:Dopamine Fracking on Monday June 08, 2026 @02:22AM (#48441889)
May be more clear to refer to it as Foam Banana Candy syndrome
In my view, the problem with specs are:

1. Specs are subject to bit-rot, there's no impetus to update them as behaviour changes - unless your agent workflow explicitly enforces a thorough review and update of the specs, and unless your agent is diligent with following it. Lots of trust required on your LLM here.

2. There's no way to systematically determine if the behaviour of your system matches the specs. Imagine a reasonable sized codebase - if there's a spec document for every feature, you're looking at quite a collection of specs. How many tokens need be burnt to ensure that these specs are always up to date as new features come in and behaviour changes?

3. Specs are written in English. They're ambiguous - they can absolutely serve the planning and design phases, but this ambiguity prevents meaningful behaviour assertions about the system as it grows.

Contrast that with tests:

1. They are executable and have the precision of code. They don't just describe behaviour of the system, they validate that the system follows that behaviour, without ambiguity.

2. They scale - it's completely reasonable to have extensive codebases have all (if not most) of their behaviour covered by tests.

3. Updating is enforcable - assuming you're using a CI pipeline, when tests break, they must be updated in order to continue.

4. You can systematically determine if the tests fully describe the behaviour (ie. is all the behaviour tested) via mutation testing. This will tell you with absolute certainty if code is tested or not - do the tests fully describe the system's behaviour.

That being said, I think it's very valuable to start with a planning stage, even to provide a spec, such that the correct behaviour gets encoded into tests, and then instantiated by the implementation. But in my view, specs are best used within the design stage, and if left in the codebase, treated only as historical info for what went into the development of the feature. Attempting to use them as the source of truth for the behaviour of the system is fraught.

And I guess finally, I think that insofar as any framework uses the specs as the source of truth for behaviour, they're going to run into alignment problems since maintaining specs doesn't scale.

In my view, Spec-Driven systems are doomed to fail. There's nothing that couples the english language specs you've written with the actual code and behaviour of the system - unless your agent is being insanely diligent and constantly checking if the entire system aligns with your specs.

This has been solved already - automated testing. They encode behaviour of the system into executables which actually tell you if your system aligns or not.

Better to encode the behaviour of your system into real, executable, scalable specs (aka automated tests), otherwise your app's behaviour is going to spiral out of control after the Nth AI generated feature.

The way to ensure this actually scales with the firepower that LLMs have for writing implementation is ensure it follows a workflow where it knows how to test, it writes the tests first, and ensures that the tests actually reflect the behaviour of the system with mutation testing.

I've scoped this out here [1] and here [2].

[1] https://www.joegaebel.com/articles/principled-agentic-softwa... [2] https://github.com/JoeGaebel/outside-in-tdd-starter

Re:Agents that run while I sleep on Wednesday March 11, 2026 @07:28AM (#47334233)
Actually, every single word was hand typed. You'll probably notice that in areas where I could improve my grammar. It's understandable that you hit the wall of text and felt a bit dismayed by the length- hence the TLDR at the top and the example repo :)
Re:Agents that run while I sleep on Wednesday March 11, 2026 @07:26AM (#47334220)
That's the kicker - you taught it conventions that it follows. Even better (in my view) is to ensure you're getting higher coverage and tests focused on behaviour by getting it to write the tests first.

Even moreso by ensuring it writes "feature complete" tests for each feature first.

Even moreso by running mutation testing to backfill tests for logic it didn't cover.

Re:Agents that run while I sleep on Tuesday March 10, 2026 @09:01PM (#47330700)
Even better, encode it into a workflow and have the subagents be adversarial to each other: https://www.joegaebel.com/articles/principled-agentic-softwa...
Re:Agents that run while I sleep on Tuesday March 10, 2026 @08:54PM (#47330653)
You'd be surprised - I know I was - you can encode Test-Driven development into workflows that agents actually follow. I wrote an in-depth guide about this and have a POC for people to try over here: https://www.joegaebel.com/articles/principled-agentic-softwa...
Re:Agents that run while I sleep on Tuesday March 10, 2026 @08:51PM (#47330637)
I've found the best way to achieve that is to force the agent to do TDD. Better to get it to do Outside-in TDD. Even better to get it to run Outside-in TDD, then use mutation testing to ensure it has fully covered the logic.

I've written about this and have a POC here for those interested: https://www.joegaebel.com/articles/principled-agentic-softwa...

Re:Agents that run while I sleep on Tuesday March 10, 2026 @08:20PM (#47330440)
I've been able to encode Outside-in Test Driven Development into a repeatable workflow. Claude Code follows it to a T, and I've gotten great results. I've written about it more here, and created a repo people can use out of the box to try it out:

https://www.joegaebel.com/articles/principled-agentic-softwa... https://github.com/JoeGaebel/outside-in-tdd-starter

back up your data, cloud storage is ephemeral
A similar thing has happened to me. I've had a Google account since I was 16 - and my Google Drive and Photos have almost two decades worth of photos and important personal documents.

My account was disabled due to a false-positive detection like this, and all appeal avenues that Google provided were all rejected. I also had friends at Google make appeals for me, and these too were rejected.

Despite being in IT, I never thought to make hard-drive backups, so lesson learned.

For those reading in Australia, or the EU, there seems to be some hope. In Australia, the Privacy Act 1988 states that you own your data, and you have the right to request this data from companies. See https://www.oaic.gov.au/privacy/your-privacy-rights/your-per...

GDPR applies to residents of the EU, and seems to apply retrospectively. So if you are or become an EU resident, you can make a GDPR data access request.

For Australia, you can submit a data access request under the Privacy Act 1988 yourself and at no cost. I'll keep you posted if it works.

Re:A better way to handle errors in JavaScript on Tuesday October 31, 2023 @02:48AM (#38081074)
Nicer way to go about this is `ts-results` which introduces the `Result` type, inspired by rust.

https://github.com/vultix/ts-results

I've never seen a more perfect example of non-ironic American exceptionalism
Re:Psychedelics: A Personal Take (2021) on Wednesday November 02, 2022 @04:26PM (#33442482)
I'm surprised to see the lack of support in the comments. In my take, this article was very well written and goes a long way to describe the refreshing and enlivening aftermath of a peak experience with Psilocybin. It also mirrors the experience of the research subjects at Johns Hopkins.

One study, conducted on terminally ill cancer patients, found that most of them rated it as one of the most important experiences of their lives [1], rating it alongside the birth of their children, their wedding day, etc. Additionally, the depression easing effects were shown to persist up to a year by this study.

I wouldn't be surprised if experiencing one of the most important, enliving, and connective experiences of your life wouldn't go on to reduce depression and anxiety for the rest of your life.

[1] https://www.hopkinsmedicine.org/news/media/releases/hallucin...

Re:Ask HN: Working in tech for climate? on Wednesday August 03, 2022 @02:08AM (#32328186)
If you're in Australia, check out https://www.climatesalad.com/jobs-in-climate-tech-australia I'm sure something like this exists in the US as well.
Wow, amazing. I had no idea it was so prevalent. Thanks for writing this up!
Re:Huginn: Create agents that monitor and act on your behalf on Thursday December 12, 2019 @06:24PM (#21777651)
Great to see you at the top of HN today tectonic! I'm at Pivotal in Sydney Australia now. Thanks again for the impromptu interview all of those years ago!
Re:Microservices Are Something You Grow Into, Not Begin With on Friday October 19, 2018 @07:52AM (#18256001)
www.appcontinuum.io