==================
Repeat leading comments preserve nested bodies
==================
flow research:
  repeat 2 times:
    ## Gather fresh evidence for each review.
    run search
    ## Refine the evidence before the next search.
    repeat:
      # Keep revisions within the provider quota.
      ## Address the strongest remaining objection.
      run revise
      until: Stop refining.
    until: Stop researching.

---

(program
  (flow
    (runnable_name)
    (newline)
    (flow_body
      (repeat_statement
        (integer_literal)
        (newline)
        (repeat_body
          (item_doc
            (text))
          (run_statement
            (runnable_name)
            (newline))
          (item_doc
            (text))
          (repeat_statement
            (newline)
            (repeat_body
              (plain_comment)
              (item_doc
                (text))
              (run_statement
                (runnable_name)
                (newline))
              (until_clause
                (inline_agic
                  (content
                    (text))
                  (newline)))))
          (until_clause
            (inline_agic
              (content
                (text))
              (newline))))))))
