==================
Unified block ownership
==================

flow research:
  repeat:
    ## Gather and refine evidence before checking completeness.
    repeat 2 times:
      run:
        Review the evidence.
        sort is literal text inside this prompt.
          - Preserve this Markdown indentation.
      run revise
    until:
      Return true when the evidence is sufficient.
  run publish

flow summarize:
  Summarize the published findings.
    - Include the strongest evidence.
  Explain any remaining uncertainty.

  keep first 3

---

(program
  (blank_line)
  (flow
    (runnable_name)
    (newline)
    (flow_body
      (repeat_statement
        (newline)
        (repeat_body
          (item_doc
            (text))
          (repeat_statement
            (integer_literal)
            (newline)
            (repeat_body
              (run_statement
                (inline_agic
                  (newline)
                  (content
                    (text)
                    (newline)
                    (text)
                    (newline)
                    (text)
                    (newline))))
              (run_statement
                (runnable_name)
                (newline))))
          (until_clause
            (inline_agic
              (newline)
              (content
                (text)
                (newline))))))
      (run_statement
        (runnable_name)
        (newline))
      (blank_line)))
  (flow
    (runnable_name)
    (newline)
    (flow_body
      (implicit_run_statement
        (content
          (text)
          (newline)
          (text)
          (newline)
          (text)
          (newline)
          (blank_line)))
      (keep_statement
        (selection
          (integer_literal))
        (newline)))))
