Skip to content
Night Ops

Night Ops: Work that happens while you sleep.

Night Ops is Serein’s local-first job engine. It runs queued work overnight on a Mac, holds anything risky for approval, and leaves a plain-language rundown in the morning.

Status
Status: Internal tool
Ownership
Ownership: Serein internal tool
Category
Overnight job engine
Platforms
macOS
  1. QueueWork is added with its dependencies
  2. CheckThe approval policy reviews each action
  3. RunIn an isolated copy, with time limits
  4. HoldAnything risky waits for a person
  5. ReportA rundown is ready in the morning
What happens to a job between evening and morning.

Night Ops runs the work that can happen unattended, on Serein’s own machine, and holds back anything that can’t be undone.

The problem

A lot of useful work doesn’t need anyone watching: syncing data, running long test suites, drafting changes for review. It still has to be safe to leave alone.

What we built

A durable job queue that runs on a Mac that would otherwise be idle, built on one rule: the engine may do the work, but it never takes an irreversible step on its own.

  1. State that survives

    Every job moves through a state machine stored in SQLite, so a crash or reboot resumes the queue instead of losing it. Jobs can depend on each other, retry and time out.

  2. Agents in a sandbox

    When a job uses a coding agent, it runs in its own isolated copy of the project. It can propose changes, but never pushes, merges or deploys them.

  3. A policy, not good intentions

    An action-based policy decides what may run unattended. Deploying, publishing, merging, sending and destructive operations always wait for a person.

  4. A calm morning

    It runs as a background service and ends each night with a rundown of what completed, what failed and what needs a decision.

Where it stands

In use every night on our own machine. It isn’t packaged for anyone else.

What we don’t showNight Ops works on private projects, so we don’t show its dashboard or reports. This page describes how it works instead.

Status
Internal toolUsed inside Serein to run the company.
Ownership
Serein internal toolBuilt by Serein Ventures for its own use. Not offered to other companies.
Platforms
  • macOS
Built with
  • Node.js with no third-party dependencies
  • SQLite (built into Node)
  • macOS launchd
  • Local and command-line coding agents
Built by
Serein Ventures LLC

Work with Serein

Have a problem like this to solve?

Tell us how the work is done today. We’ll tell you plainly what we would build, and what we wouldn’t.