phase-empty-phase.ts 455 B

123456789
  1. // A phase that issues no step. Its marker is still a position control passes through, so the
  2. // CFG's phase quotient shows "prepare" between the two steps, while the causality quotient —
  3. // which knows phases only by their member steps — does not list it at all.
  4. phase("scan");
  5. const scan = await agent("scanner").ask<string>("scan");
  6. phase("prepare");
  7. const target = scan.trim();
  8. phase("act");
  9. return agent("actor").ask<string>(`act on ${target}`);