Automatic Extraction of Enumerable Specification Surfaces for Legacy Codebases

Develop techniques to automatically extract an enumerable specification surface for legacy codebases by leveraging runtime telemetry, documentation, and user behavior, enabling the Kitchen Loop to operate when explicit, machine-readable specifications are absent.

Background

The Kitchen Loop operates in a coverage-exhaustion regime guided by an enumerable specification surface that enumerates product capabilities across features, platforms, and actions. This surface drives scenario generation, testing, and drift control.

Many legacy systems lack explicit specs; their behavior is implicit across code, docs, and observed usage. Automating surface extraction is necessary to bring such systems under the Kitchen Loop’s unified trust model without extensive manual specification work.

References

Our deployments expose four open problems that we believe warrant dedicated research: OP2: Specification Acquisition. Our method assumes an enumerable specification surface. For legacy codebases with implicit specifications, automating surface extraction from telemetry, documentation, and user behavior is a critical bottleneck for adoption.

The Kitchen Loop: User-Spec-Driven Development for a Self-Evolving Codebase  (2603.25697 - Roy, 26 Mar 2026) in Subsection "Open Problems" (Production Safety Record)