order-map-concurrent.ts 400 B

123456
  1. // The motivating pair, half A: `Promise.all` over a `.map`. N instances COEXIST, so
  2. // the ask is repeat=stack with no self-arrow. Byte-compare against
  3. // order-forof-sequential.causality.txt: same lanes, same data edge, opposite cue.
  4. const paths = await files.glob("src/**/*.ts");
  5. const verdicts = await Promise.all(paths.map((p) => agent("reviewer").ask<string>(`review ${p}`)));
  6. return verdicts;