Hey 👋
An evolution of the concepts described in https://kysely.dev/docs/recipes/splitting-query-building-and-execution could be the ability to turn compiled queries or operation nodes back into Kysely query builders, not as fragments within a main query, but as THE query itself, ready to be further built.
Currently, compiled queries provide only O (generic for output type) information. We could extend the interface to include additional state information at the time of compilation. e.g. what were DB and TB like.