interview

Ask the user one question at a time, then write a specification

Source: flows/interview.md

        flowchart TD
  subgraph n1["loop interview · max 6 · on-fail: continue"]
    n2["ask_next<br/>agent interviewer"]
    subgraph n3["choice gate"]
      n4{"case"}
      n5["ask<br/>ask"]
      n4 -->|"has(ask_next.output.question)"| n5
      n6(("nothing"))
      n4 -->|"default"| n6
    end
    n2 --> n3
    n3 -.->|"until !has(ask_next.output.question) || !gate.output.output.answered"| n2
  end
  n7["brief<br/>agent interviewer"]
  n1 --> n7