2026-11-26 15:50 UTC

Nightshift packages overnight coding-agent jobs behind human-reviewed PRs

state: watchingheat: mediumuncertainty: highrelevance: mediumcoding-agents agent-harnesses long-running-orchestrationopenslopNightshift

What is this?

Nightshift is an MIT-licensed tool from openslop that schedules small coding-agent tasks overnight and reviews open pull requests every two hours. Its documentation says jobs should follow repository guidance, run checks, avoid files touched by other open PRs, and open PRs rather than push to the main branch; people decide what to merge. It supports multiple coding agents and runs on a user’s computer. The supplied sources describe its design, but do not independently verify its safety or effectiveness in practice.

Why it matters

Nightshift is a practical example of the growing effort to turn coding agents from interactive assistants into scheduled maintainers. Its value is less a new model capability than the workflow around one: bounded jobs, repository checks, logs, and pull requests for a human to review. Later user reports describe similar unattended coding loops, suggesting interest in the pattern, but they do not establish that Nightshift itself is reliable or that such workflows generalize safely.

Current assessment

Nightshift’s project description says it runs small overnight coding tasks and reviews open PRs every two hours, supports multiple coding agents, runs locally, and opens PRs rather than pushing to the main branch; maintainers say it follows repository guidance, runs checks, and avoids files touched by other open PRs. These are documented design claims, not independently verified safety or performance results. Newer supplied anecdotes indicate broader experimentation with unattended coding: one operator reports 82 PRs in two weeks from a Claude Code backlog loop, with 74 merged and merging left to a human; another describes overnight monitoring and content work. A separate agent-authored account of 100 unattended sessions argues that executable hooks, non-zero checks, and structured recovery are more dependable safeguards than written warnings, while also describing failed sessions and false-positive guardrails. These reports are self-reported and concern different setups, so they support interest in the workflow rather than validating Nightshift. For users considering this approach, the evidence points to useful design questions: whether checks actually test the right thing, how runs recover from failure or a sleeping machine, and where human approval remains mandatory. No supplied source compares models or establishes which agent performs best for these jobs.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady3 platformsage 1845h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-10 18:38 (minted)⭐ origin echo-reconstructedNightshift schedules small coding-agent jobs overnight and PR reviews every two hours; its documented rules require repository checks, avoid
openslop on github (echo) · attributed from hn.story.49648105 · published time unknown
—
09-10 18:18first on hacker news · published · lag ?Show HN: Nightshift – Your code gets better while you sleep
tcbrah
—
09-24 13:08first on r/ClaudeAI · published · lag ?I'm a Claude agent that has run 100 unattended Claude Code sessions over 33 days. What held and what didn't.
gaflith
—
09-10 18:18amplified on hacker news 👑hn.story.49648105
tcbrah
peak 11 · 16 comments · 68% of case engagement
09-15 09:01amplified on hacker newshn.story.49709714
samuelreichor
peak 2 · 0 comments · 5% of case engagement
09-24 13:08amplified on r/ClaudeAIreddit.post.1wp1774
gaflith
peak 0 · 6 comments · 8% of case engagement
10-10 14:52amplified on r/ClaudeAIreddit.post.1x2h7ig
TheRealXmo
peak 0 · 3 comments · 4% of case engagement
10-22 17:10amplified on r/ClaudeAIreddit.post.1xcoi5a
pvhee
peak 5 · 5 comments · 14% of case engagement
09-10 18:21our radar first saw it · lag ?discovery anchor: hn.story.49648105—

Evidence (6) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Nightshift – Your code gets better while you sleep
Retrieved article excerpt

Open article · Retrieved 2026-09-10T18:25:19.120425+00:00

Your code gets better while you sleep. What is this? Nightshift is a helper that works at night. It wakes up your coding agent. It gives the agent one small job. The agent looks at your code and does the job. If it finds something worth fixing, it opens a pull request for you to look at. Then it moves to the next job. In the morning, you read what it did. Many nights it finds nothing. That is fine. Nothing is better than a bad change. Every two hours, it also reads any open pull requests and leaves a short review. The jobs Job What it looks for security Real holes a bad actor could use. Not "maybe someday" worries. bugs Bugs a user would notice. Only clear ones. maintainability Code that is hard to change. It makes it simpler. performance Slow spots people feel. It measures first. conventions Places that break your own written rules. Safe fixes only. conventions-followup The rule breaks that need a real change. One theme a night. architecture The one big way the code could be simpler. smoke-tests A few calm tests that check the app still opens. Usually does nothing. issues One small, clear GitHub issue. Leaves the easy ones for new people. review Reads open pull requests every two hours. Quiet unless it finds something. Every job follows the same rules. They are in jobs/_common.md . In short: Read the repo's own guide files first. They win. Read what the owner said on past pull requests. Learn their taste. Never touch a file that someone else's open pull request touches. Run the repo's checks. Fix what breaks. Open a pull request, or say why not. Never push to the main branch. Watch it Nightshift comes with a console. It shows every night and every job on one screen, and it lets you
pick up any night's conversation where the agent left off. Tell your coding agent: Open the Nightshift console. Read ~/nightshift/tui/README.md and start it. It needs Node. Press c on a job to talk to the agent about what it did. Press ? for the rest. How to start Tell your coding agent this: Get github.com/openslop/nightshift and set it up for my code at ~/code/my-app. Read SETUP.md there and follow it. That is it. Your agent will ask you a few questions, set two timers on your computer, and show you where the notes go. Works on Mac, Linux, and Windows. Works with Claude Code, Codex, Cursor, Gemini, Copilot, Hermes, OpenClaw, and most other coding agents. The full list is in nightshift.conf.example . What is inside jobs/ has one page per job, in plain English. Read them. Change them if you want. jobs/_common.md has the rules every job follows. review/SKILL.md says how the reviewer acts. nightshift.conf.example is the settings page. Your agent fills in a copy. SETUP.md is the page your agent follows to set things up. bin/ has three small scripts the timers run. You do not need to read them. tui/ is the console. tui/README.md says how to open it. Is it safe? It only ever opens pull requests. You decide what gets merged. It never touches a file that another open pull request touches. It runs your checks before it opens anything. It runs once a night. If your computer was asleep, it skips that night instead of running in the middle of your day. Everything it does is written to a log on your computer, outside your repo. Change it Turn a job off by taking its name out of the JOBS line in your settings. Change how a job thinks by editing its page in jobs/ . Keep the words plain. Add a job by adding a new page in jobs/ and putting its name in JOBS . Use a different agent by picking a different AGENT line in your settings. Turn it off Tell your agent: "Turn off Nightshift." It removes the two timers. Your code is not touched. License MIT . Free to use, copy, and change.
tcbrah1116
🟧 echo.github ⭐Nightshift schedules small coding-agent jobs overnight and PR reviews every two hours; its documented rules require repository checks, avoidopenslop——
🟧 hnShow HN: Knecht, a tool for building software factories for agenciessamuelreichor20
🟠 redditI'm a Claude agent that has run 100 unattended Claude Code sessions over 33 days. What held and what didn't.
ClaudeAI
gaflith06
🟠 redditI gave Claude Code the night shift on my game site. Here's what it did while I slept
ClaudeAI
TheRealXmo03
🟠 redditHow I stopped chatting with Claude Code: a loop that works my backlog unattended, built from GitHub issues, a systemd timer and the subscription I already pay for
ClaudeAI
pvhee55

Interpretation history

Decision trace