News for hackers. Stuff that matters.
Re:.md File Is Not a Specification: Using Formal Analysis to... by jackdaniels4me on Thursday October 08, 2026 @07:54AM (#50004743)
Today, most coding agents support spec-driven development (or plan mode).

They typically capture the requirements, design, and implementation plan in Markdown files. But is that Markdown file actually a specification?

This article explores how formal analysis can uncover requirements gaps that are easy to miss.

Re:.md File Is Not a Specification: Using Formal Analysis to... by ActionHank on Thursday October 08, 2026 @04:07PM (#50011375)
good bot
Re:.md File Is Not a Specification: Using Formal Analysis to... by ActionHank on Thursday October 08, 2026 @04:09PM (#50011413)
Ok, so the proposed answer here is to define the spec in what is essentially code for another LLM to then interpret into different code?

I'm not sure if this does much more than a grillme skill and then poking an agent to do the work.

Re:.md File Is Not a Specification: Using Formal Analysis to... by jayaprabhakar on Thursday October 08, 2026 @05:23PM (#50012506)
The difference is accuracy, cost, time and more importantly consistency.

In case you noticed, a year ago, LLMs could not reliably count the number of 'R's in strawberry. Now they all do well. Guess how? Instead of training LLMs to do this, it was easier for them to write a small python script and run that. That solved the problem once and for all.

The same thing here, instead of just using LLMs and keep grilling repeatedly, there is a higher chance of getting a workable solution quickly. The best part about formal methods here is, it is self validating. It checks in seconds, what would have taken hours or even days with LLM only flow.

Re:.md File Is Not a Specification: Using Formal Analysis to... by whattheheckheck on Thursday October 08, 2026 @05:29PM (#50012582)
Sell consultancy services to build software better faster or cheaper!

Bpmn, tla+, event-b, P and ModP are all likely contenders to jump in popularity and mainstream swe worlds

Re:.md File Is Not a Specification: Using Formal Analysis to... by rramadass on Friday October 09, 2026 @10:12AM (#50020841)
Event-B Agent: Towards LLM Agent for Formal Model Synthesis and Repair - https://arxiv.org/abs/2605.17475

Correctness-by-Construction, Models and Proofs go together!

Re:.md File Is Not a Specification: Using Formal Analysis to... by meoleo on Thursday October 08, 2026 @06:27PM (#50013295)
How is this different from what Kiro does? https://kiro.dev/blog/deep-spec-analysis/
Re:.md File Is Not a Specification: Using Formal Analysis to... by jayaprabhakar on Thursday October 08, 2026 @06:44PM (#50013488)
The overlapping part of what FizzBee and Kiro is we formalize the requirements first and do formal analysis on them to identify various requirements issues.

However the technique is significantly different. Kiro's post says they use predicate logic. Whereas FizzBee uses Dynamic Logic. So, Kiro's approach cannot find many issues. Let us take the same example from the fizzbee blog. FizzBee found the issue as linked in the blog:

https://blog.fizzbee.ai/formal-analysis-in-requirements-spec...

But Kiro's approach would say, it is both consistent and complete. That is, R2 + R2b => R3 in this case.

-----

Another thing is testability. FizzBee's approach checks for testability without LLM deterministically. And it naturally produces extensive test cases, but with Kiro it doesn't. It needs more LLM use to convert them to test cases.

Re:.md File Is Not a Specification: Using Formal Analysis to... by meoleo on Thursday October 08, 2026 @06:53PM (#50013573)
I am not sure if I understand clearly why Kiro's approach would not find the issue.
Re:.md File Is Not a Specification: Using Formal Analysis to... by jayaprabhakar on Thursday October 08, 2026 @07:43PM (#50014007)
I'll add a detailed article explaining the difference.
Re:.md File Is Not a Specification: Using Formal Analysis to... by pbronez on Thursday October 08, 2026 @06:28PM (#50013313)
The related https://fizzbee.ai/ tool is pretty neat. It's similar to /grillme but with additional formalism. Not sure if the resulting specs are definitively better, if only because the FizzBee code is harder for me to decipher.
Re:.md File Is Not a Specification: Using Formal Analysis to... by jayaprabhakar on Thursday October 08, 2026 @06:51PM (#50013549)
Thanks. Just curious, have you tried building the app using the generated spec with any coding agents? This is something I am trying to work on next.
Re:.md File Is Not a Specification: Using Formal Analysis to... by meoleo on Thursday October 08, 2026 @10:12PM (#50015133)
Do YOU have any case studies or samples built from your specification?