Recommended — run in your terminal:
codex plugin marketplace add orwa-mahmoud/nightshift
codex plugin add nightshift@nightshiftPlan · run · review long coding work
Nightshift carries a coding agent from plan to review. Design the work with the agent in a plan room, run it as a shift against a durable punch list and a clock-out gate, and come back to per-item receipts with the evidence you asked for, what each item cost, and what still needs you.
Tonight’s contract
START WITH THE PROBLEM
INSTALL NIGHTSHIFT
Install the full plugin for Cursor, Codex, or Claude Code from its open-source marketplace.
Install from GitHub ↗MIT licensed · no API key · no separate serverWHY NIGHTSHIFT
A prompt can fade. A plan record, punch list, gate, decision log, and deadline stay inspectable.
Explore the code with the agent, run a pre-mortem, an edge-case pass and an ordering check, and size the plan from past receipts. Nothing is built until you leave.
Open work survives compaction, restarts, and handoffs because the authoritative list stays in your project, and the gate refuses an early clock-out.
Ask for screenshots, benchmarks, or sample responses per item, with an optional file map in each receipt. You decide whether missing evidence holds the clock-out.
Soft and hard limits per item in working time, tokens, or both. A hard limit turns the agent to wrap-up and closes the item as stopped.
Opt-in guards cover sudo, containers, global installs, daemons, and logins. Hooks enforce the command, path, and identity rules you configure, alongside the shift’s stop rules.
Every setting, template, and catalog entry on one screen, plus your own evidence kinds, gate stacks, edge-case packs, and ready shifts.
FROM PLAN TO REVIEW
Nightshift does not replace your coding host. It gives the host a durable operating contract for the whole cycle and works one approved unit at a time.
Explore the complete lifecycle →Design the work with the agent in the plan room, or let Hunt compose a shift from the ready catalog. Approved items become the contract: outcomes, verification, evidence, and budgets.
Implement fully, verify immediately, commit locally, write the receipt, then tick. Decisions that need you are parked with a reversible default.
The gate refuses an early clock-out, budgets bound each item, and a watchman recovers a session that dies mid-shift.
Read the morning receipt, each item’s evidence and cost, then archive the shift. Open work and decisions stay live for the next one.
WATCH ONE SHIFT
A real session, unedited apart from pacing: three items, one commit per item — and midway the agent declares itself finished with two boxes still open. The gate hands back the contract; it clocks out only once the list is clear.
READY-MADE CODING SHIFTS
Turn approved work into ordered outcomes with one local commit and gate per item.
Build the contract →OPEN-ENDEDResearch the product, rank evidence-backed opportunities, and ship the strongest complete work within the clock.
See product evolution →QUALITYSurvey tests, code, accessibility, contracts, documentation, dependencies, and security.
Open the quality guide →RECOVERYDiagnose a service error, check recovery evidence, and keep the approved list available for an attended restart if needed.
See how revival works →TESTINGUse Cursor, Codex, or Claude Code to add behavior-protecting tests without padding a percentage.
Open the coverage shift →CONTINUITYPreserve the current phase, rejected paths, next action, and verification outside conversation history.
Preserve the checkpoint →AUTOMATIC HUNTInspect the project, rank applicable work by evidence and value, and fill a bounded shift without inventing a backlog.
See automatic selection →SCHEDULEPreflight the queued work and permissions, then print the launchd, cron, systemd, or Task Scheduler entry. It registers nothing itself.
Schedule a shift →COSTThe runtime measures tokens and time per item from the host’s own records at the tick. Nothing is estimated, and unavailable is never written as zero.
Read the receipts →ARTIFACT WORKResearch sources, audit SEO, or write documentation in a persistent folder with local receipts instead of commits.
Explore non-Git shifts →REAL RUNS, NOT PROMISES
The real runs library follows the work from punch list to a human-reviewed 67-commit pull request covering 57 closed issues.
Read the real runs →elapsed contract continuity
reviewable commits
issues closed
roadmap phases
It carries long coding work in Cursor, Codex, and Claude Code from plan to review: a plan room to design the work, a durable punch list with a clock-out gate, per-item evidence and budgets, recovery after crashes, and a receipt for every item. Every setting, gate stack, evidence kind, and ready shift can be changed or extended from your own project.
No. Artifact mode supports compatible research, documentation, SEO, and writing shifts in persistent folders, leaving local receipts instead of commits.
Not by default. Nightshift leaves local commits for owner review unless the shift contract explicitly authorizes an external action.
No. The gate prevents approved work from being quietly abandoned. Item definitions, project checks, and human review prove quality.
No. Run one small task attended so you can verify permissions, gates, stop behavior, and recovery in your exact environment.
THE FIRST SHIFT CAN BE SMALL