Dream isn't a single code generation pass. It's a refinement loop — an Implementer writes the solution, a Critic finds every flaw, and they iterate until the code actually works. When it passes, Celestos forges a Skill from what it learned. Next time, it starts from mastery, not scratch.
Most code generation is one pass — you get an attempt and you debug it yourself. Dream runs a full internal critique loop. Two agents, one task, no exit until it passes or you stop it.
Writes a complete, precise solution to your task. No placeholder code. No "you'll need to fill this in." A real implementation.
Analyses the implementation against the original task. Looking for bugs, missing requirements, logic gaps. If it finds nothing: PASS.
If the Critic finds issues, it feeds precise error notes back to the Implementer. The Implementer revises. This cycle runs up to 5 times.
Once it passes, Celestos writes a Skill from everything it learned — the patterns, the pitfalls, the correct solution. Saved to your vault permanently.
Dream streams every step into chat as it runs. You see the Implementer's attempt, the Critic's diagnosis, the revision, and the final verdict. If it fails after 5 iterations, you see exactly why — and you have the closest solution as a starting point.
After each passing Dream run, Celestos reflects on the full session — the pitfalls hit, the patterns that worked, the exact solution — and writes a Skill. This Skill is saved to your vault and auto-injects the next time you ask for something similar. The hard problem becomes easy. Permanently.