Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

737 B
Raw Blame
/**
 * Brain THREAD rules — statuses, the terminal/overdue predicates, the row's
 * next-action line and the list comparator.
 *
 * Re-export of `server/lib/brainThreads.js` — the one definition of these
 * rules, imported rather than copied so the Threads tab, the Open Threads
 * dashboard widget and the server list order cannot drift (the "One pure
 * module, one definition" convention in this directory's README).
 *
 * A Brain *thread* is a tracked topic or commitment, not a message thread.
 */
export {
  THREAD_STATUSES,
  THREAD_PRIORITIES,
  THREAD_TERMINAL_STATUSES,
  THREAD_ACTIVE_STATUSES,
  isTerminalThreadStatus,
  isThreadOverdue,
  threadNextLine,
  compareThreads,
} from '../../../server/lib/brainThreads.js';