
Building a language family and compiler suite for software systems. Semantics first.
Del Mar, CA
Joined February 2026
- Tweets10
- Following76
- Followers43
- Likes117
Cohesive Systems retweeted
Is English the new programming language? Do we still need code? We stopped reading assembly, so maybe we'll stop reading Python too.
In a sense we already have. When an agent writes a large change, we look over the architecture, skim the diff and run the tests. Call it a vibe check. It feels like enough, but the confidence doesn't rest on much.
The assembly analogy breaks down at the compiler. C gave us a precise notation and a compiler that translated it faithfully, so the program we read was the program that ran. Prose is underdetermined: "users can delete their account" leaves the agent to decide what happens to their orders.
Mathematics went through this once. Algebra moved from problems written out in words to symbols, because notation made things easier to state and check. Sometimes code is still the best way to say what we mean.
So we still need code, but code closer to intent: a notation short enough to read in full, with machines writing the implementation.
That matters more as development becomes a loop and agents start improving themselves. A loop is only as good as its termination condition.
Full article below.
Cohesive Systems retweeted
As a kid I read Bruce Eckel's Thinking in Java, and it shaped how I think about programming. OOP has since fallen out of favor, but its core idea, modeling the real world in a programming language, stuck with me.
Many years later, @JamesWard invited me on Happy Path Programming to talk programming languages with him and @BruceEckel. Thanks James for having me and for a great conversation.
My take: English won't replace code, but we need a new kind of code, one that makes it possible to verify that what the agent built matches what you meant.
We got into what SQL and 4GLs got right, term-level invariants vs ever stronger type systems, categorical systems theory, CRDTs and the CALM theorem, how to benchmark agents, and why I'm building Cohesive.
happypathprogramming.com/epi…
Cohesive Systems retweeted
Coding agents made code cheap to write. They didn’t make it cheap to trust.
I went through ~35 recent SWE benchmarks and studies to see what they show and what they miss.
The short version: trust is bounded by what we can verify.
cohesive.sh/library/articles…
Cohesive Systems retweeted
The best frontier model (Opus 5.5) solves 18.5% of long-horizon coding tasks, even with a clear correctness oracle.
With four attempts it solves 31.9%. 38 of 69 tasks were solved by no model.
Setup
- Multi-step SWE: 69 tasks, each a chain of 5–15 dependent, multi-hour steps on one codebase, each building on the agent’s own earlier code
- Four kinds of work: optimization, migration, feature implementation, and version upgrades (hardest: 2.9% solved across models)
- Each step’s instruction and grader derive from the same outside source of truth (so they can’t drift apart)
- Two rounds of expert review per task, graders rebuild from source and run unprivileged, 56 of 69 tasks block network access
Findings
- Failures compound: a step after a pass passes 70% of the time, after a fail 14%
- Agents aren’t running out of time...they’re declaring victory. Only 12% of failed steps got near the time limit, and in 52% the agent reported completion without flagging any failing check
Limitations
- No isolated-step baseline, so carried-forward errors can’t be separated from step difficulty
- Public projects (memorization possible), 38/69 tasks are C/C++, and each model ran in its own harness
- Wide CI (11.6–25.7%), so the top models are statistically close
My take
This benchmark hands agents a precise spec, and they still can’t tell when they’re done. Real work is underdetermined: turning intent into checks is part of the challenge, and almost no benchmark measures it.
arxiv.org/abs/2611.07166
Cohesive Systems retweeted
We keep reinventing how software executes and recovers, but still lack a model of how systems compose and what must stay true across boundaries. Why I'd separate domain semantics, composition, and infrastructure.
Formalizing DDD 👀
I’ve been practicing DDD for many years, so this is good to hear.
But I think we need to say more about what DDD means in the agentic era.
Beyond telling agents to “do DDD,” we can use them to:
- Formalize the model
- Benchmark what works
Formalization
Today we guide agents mostly through skills and .md files. That’s a natural instinct, since agents follow prose instructions well in the small. But benchmarks call this into question at scale: adherence is inconsistent, especially for architectural rules.
Formalization moves the domain’s rules out of prose and into structure that can be mechanically checked. Rigor that used to take too much manual effort is now within reach.
What I’d try:
- Define types, interfaces, and module structure first, and make "illegal states unrepresentable".
- Route every change to aggregate state through operations that enforce its invariants.
- Model aggregate lifecycles as explicit state machines.
- Model cross-aggregate interactions as explicit, formal workflows and protocols, with sequencing, retries, and compensation spelled out.
- Enforce bounded contexts as module boundaries.
- Write property-based tests for domain invariants.
- Apply formal methods where justified, such as model checking a protocol.
Benchmarking
Many claims about DDD’s benefits remain subjective. There’s now a growing set of published agent benchmarks for code, and building your own is cheaper.
That evidence matters more now than it ever has. Without it, we’re producing far more code, far faster, without knowing whether we’re building better systems.
1
109
Cohesive Systems retweeted
Interesting paper: coding agents do well on tasks they can script their way through (grep, AST rewrites). Accuracy falls when they have to reason about behavior, like identifying which lines in two nearly identical classes actually behave differently.
On SWE-bench, the number of reading and analysis steps correlated more strongly with failure than lines edited.
Finding code isn’t the same as understanding its behavior. Better comprehension tools will help…but why not make system meaning explicit so agents don’t have to reconstruct it from implementations?
arxiv.org/abs/2610.10610
Make the model the implementation!
When an LLM writes a formal spec from requirements plus possibly buggy code, it can produce a spec that the buggy code satisfies: either too weak, or shaped by the implementation. The verifier passes it. Advanced prompting didn't fully fix it.
This is verification vs. validation. Proving code meets a spec says nothing about whether the spec captures intent.
One way out: make the model the implementation. Compile it instead of hand-writing code that's supposed to match it. That closes the model-to-code gap. Validation remains, but it happens against a model a domain expert can read and explore through generated scenarios, not against thousands of lines of code.
arxiv.org/abs/2610.32053
2
107
Agents make code cheap. Understanding the system is still the bottleneck.
Cohesive is a language for describing systems: their rules, workflows, and guarantees.
People and agents work from the same model. Machines check and compile it.
Here’s a brief introduction.
Cohesive Systems retweeted
The AI era has given formal methods a reemerging role.
As code production becomes increasingly automated, formal methods are moving upstream, from verifying code to formalizing intent. The scarce resource is no longer writing software; it’s expressing precisely what the software should do.
That makes executable specifications, constraints, and semantic models far more valuable than they were when humans wrote every line of code.
Why people don't use formal methods hillelwayne.com/post/why-don…





