build

Locate the code, split the work, implement it in pairs, check and audit the whole

Source: flows/build.md

        flowchart TD
  n1["locate<br/>agent scout"]
  n2["plan<br/>agent planner"]
  subgraph n3["loop deliver · max 2"]
    subgraph n4["map work · max 6"]
      subgraph n5["loop pair · max 3 · on-fail: continue"]
        n6["code<br/>agent coder"]
        n7["review<br/>agent reviewer"]
        n6 --> n7
        n7 -.->|"until review.output.approved"| n6
      end
    end
    n8["tests<br/>check .pi/checks/test.sh"]
    n9["audit<br/>agent auditor"]
    n4 --> n8
    n8 --> n9
    n9 -.->|"until tests.output.passed #38;#38; audit.output.approved"| n4
  end
  n10["report<br/>agent synthesiser"]
  n1 --> n2
  n2 --> n3
  n3 --> n10