Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

969 B
Raw Blame
'use strict';

function evaluateStdinCleanupFact(main, cleanup) {
  if (main.stdinEndedAt == null) return 'N/A (main stdin was not closed)';
  if (main.closedAt == null) return 'NO (main process stayed alive after stdin.end())';
  if (!cleanup) return 'NO (cleanup proof probe did not run)';
  if (cleanup.error) return `NO (cleanup proof probe failed: ${cleanup.error})`;
  if (!cleanup.sawTaskStarted) return 'NO (cleanup probe never observed a live background task)';
  if (!cleanup.sawResult) return 'NO (cleanup probe never reached its terminal result)';
  if (cleanup.stdinEndedAt == null) return 'NO (cleanup probe stdin was not closed)';
  if (cleanup.closedAt == null) return 'NO (cleanup probe process stayed alive)';
  if (cleanup.proofExists) return 'NO (background task survived and wrote its proof file)';
  return `YES after ${main.closedAt - main.stdinEndedAt}ms; live-task proof absent after cleanup`;
}

module.exports = { evaluateStdinCleanupFact };