Generative Loop
How Doorway generates structural reasoning through iterative refinement.
The loop
The generative loop is the core mechanism by which Doorway produces reasoning output. It is not a single pass — it is an iterative process that refines structural understanding with each cycle.
- Input mapping — Map the input to the shape library
- Gap measurement — Measure structural distance
- Bridge construction — If gap fires, build a bridge
- Conflict check — Compare against chain history
- Classification — Assign epistemic status
- Chain extension — Add the result to the chain
Iterative refinement
In multi-turn conversations, each turn feeds back into the loop. The chain grows, the context deepens, and the gap detector becomes more precise — it has more grounded results to compare against. This is how the generative loop produces increasing structural depth over time.
Why a loop
Single-pass reasoning cannot build structural understanding. Structure emerges from iteration — each pass reveals gaps, builds bridges, and detects conflicts that the previous pass could not see. The generative loop is derived from this observation, not designed arbitrarily.