SpecSentinel
Mudit Khater · Team UNIT - 108
Submitted to The Secure Program Synthesis Hackathon. Sprint projects are early-stage work by participants, not Apart Research publications.
SpecSentinel is a professional-grade, single-file specification validation studio built in Python 3.10 and Streamlit.The application provides an end-to-end, interactive pipeline that evaluates whether a candidate specification truly and completely captures the intended behaviour of a software system.
The platform integrates four academically grounded validation methods — automated behavioral testing, mutation kill analysis, bidirectional cross-checking, and lightweight formal property verification — into a cohesive, professional UI that produces actionable grades, detailed diagnostics, and exportable JSON reports.
SpecSentinel requires no external dependencies beyond Streamlit and runs instantly with a single terminal command. It ships with a fully worked demonstration example (a Safe Integer Stack specification) enabling reviewers to experience the full validation pipeline in under two minutes.

Reviews
Secure program synthesis calls for various spec and test methods. This project produced a tool that contains a battery of these methods within a neat user interface. A point to flag for future reference: some of the methods are not yet fully implemented (mutation-testing is just "rand" as far as I can tell), that is tolerable on a sprint and for a UI demo but must be declared in the write-up, especially when it feeds into a metric.
I like the intention of the spec tool, but it seems to promise beyond what it delivers. It also lacks the transparency/honesty about it's limitations.
SpecSentinel is described to be "professional-grade", but their killed mutants are defined as "killed = random.random() < (0.55 + intensity * 0.35)".
Claude did decent work and the box is pretty, but there's no engine in it. You have a good scaffold and next good steps are to work on making it functional, to validate it and to explore some case studies on its limitations. Keep up at it!
Cite this project
@misc{khater2026specsentinel,
title = {{SpecSentinel}},
author = {Mudit Khater},
year = {2026},
month = may,
note = {Submitted to The Secure Program Synthesis Hackathon, an Apart Research Sprint},
howpublished = {\url{https://apartresearch.com/sprints/projects/specsentinel-neyi}},
url = {https://apartresearch.com/sprints/projects/specsentinel-neyi}
}More from The Secure Program Synthesis Hackathon
- View project: Vibe-Coding Specs: Eliciting, Editing, and Verifying Specifications for AI Coding Agents
Vibe-Coding Specs: Eliciting, Editing, and Verifying Specifications for AI Coding Agents
Lida Safety
Specifications for real systems do not exist as one-shot artifacts: the user's intent emerges as they discover edge cases, rewrite drafts, and react to failing tests. We present an iterative pipeline that takes this …
- View project: AgentSpecGap
AgentSpecGap
solo-team
This prototype extracts rules from system prompts, tool descriptions, and runtime config. Rules are classified into one of interface validation, authorization check, workflow ordering validation, runtime validation, …
- View project: SpecGap Arena
SpecGap Arena
Obligation Cartographers
SpecGap Arena is a benchmark and framework that exposes how incomplete specifications let plausible but incorrect code pass public tests. It synthesizes missing semantic obligations (security boundaries, invariants, …