Validation, Docs, tests, and database schemas from one source of truth

Write it once, skip the chaos, and let the robots and commenters fight it out

TLDR: Triad promises to turn one set of app definitions into docs, tests, validation, and database setup, all to stop projects from falling out of sync. Commenters split between calling it a smart future-proof move for humans and AI, and questioning whether some of its auto-generated tests are actually useful.

A new tool called Triad has entered the chat with a bold promise: write your app rules once and it spits out the checks, the docs, the tests, and even the database setup from that same single source. In plain English, it’s trying to stop the classic developer nightmare where one file says one thing, another says something else, and everyone finds out in production at 2 a.m. The creator, justhamade, came in swinging with the big thesis: your app’s rules, behavior, and documentation “should never drift apart, because they are the same thing.” That’s a strong “why are we doing all this duplicate work?” energy, and plenty of readers clearly felt seen.

But the real juice was in the reaction thread. One camp was instantly sold on the humans + AI power couple angle, with uKVZe85V basically declaring this the future: if a tool makes thinking easier for people, it helps AI too. That got a lot of “fair point, actually” vibes. Then came the skeptic energy from eska, who dropped the party-stopper question: if the tool auto-generates validation tests, are those tests even useful, or are they just checking that the framework itself works? Oof. That’s the kind of comment that turns a product launch into a philosophy debate.

So the mood? Equal parts “finally, less mess” and “wait, are we automating busywork or just moving it around?” It’s less a quiet launch and more a nerdy reality-show reunion: one source of truth, one crowd cheering, and one person in the back yelling, “But do the tests actually matter?”

Key Points

  • Triad is presented as a TypeScript-first API framework that derives validation, docs, tests, frontend hooks, and database schemas from a single declarative definition.
  • The article says Triad generates OpenAPI 3.1 for HTTP endpoints and AsyncAPI 3.0 for WebSocket channels from the same source schemas.
  • Triad includes executable BDD scenarios, automatic adversarial tests from schema constraints, and generated Gherkin feature files.
  • The article positions the framework as useful for both developers and AI assistants by centralizing schemas, handlers, responses, tests, and docs in one typed location.
  • A Claude Code integration is described for scaffolding and iterating on TriadJS projects, including creation of a Fastify server and immediate Swagger UI/OpenAPI availability.

Hottest takes

"should never drift apart, because they are the same thing" — justhamade
"tools that help both humans and AI" — uKVZe85V
"Aren’t the generated tests superfluous" — eska
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.