Interactive spec file in search tool

in an ai assistant i have a spec file in the search tool that builds a process simulation. i need to be able to stop and approve the 3 steps in building it. I tried dash and setting flags with callbacks and polling but no luck. been at this for a long time without success.