Quick answer: AI fills gaps with small per-handler slices tied to specific gap codes, but it cannot invent a route, method, or path. The deterministic scan first proves the structure through framework tracing and AST analysis, leaving only explicit unknowns. The model then addresses those named gaps, rather than generating routes from imagination, and every AI contribution stays bounded to a handler and a gap code.
Why the model is not allowed to invent routes
A model that can invent a route can also invent one that does not exist. A hallucinated path enters the document as if it were real, and every mock, scenario, and review built on that spec inherits the false route. The risk is not a small typo but a fabricated contract that reads as fact.
Keeping route creation deterministic prevents that.…