What does this boundary selector print?

from Agent use boundaries
Node 24 beginner 3 min

What does this boundary selector print?

JavaScript
function choose(task) {
  if (!task.intentSettled || task.sensitive) return "human-led";
  if (task.stableRule) return "simple automation";
  if (task.hasOracle && task.bounded) return "agent";
  return "human-led";
}

const tasks = [
  { intentSettled: true, sensitive: false, stableRule: true },
  { intentSettled: true, sensitive: false, stableRule: false,
    hasOracle: true, bounded: true },
  { intentSettled: false, sensitive: false, stableRule: true },
];

console.log(tasks.map(choose).join(" | "));
Open in playground
Report an error