Keywords / reflect
reflect
Turn a failure into the next plan. Building blocks
Syntax
when it fails: reflect, then plan again
What it does
The back-edge โ the loop's working memory. On a failed check, reflect reads the failure output and writes a short diagnosis, which becomes context for the next plan. The difference between retrying blindly and learning from each miss.
Example
when it fails: reflect on which layer broke, then plan againthe reflect back-edge