What problem does it solve?
Nightly solves the problem of turning a coding chat session into a self-directed, continuously executing coding agent that can pick the next work item, implement it in isolation, and deliver review-shaped results without constantly asking the user for decisions.
Core Features & Use Cases
- Priority-cascade task selection: Picks the next task from in-flight work, approved RFCs, ranked GitHub issues, or ideation when the backlog is empty.
- Isolated worktree iteration: Creates config-aware worktrees to implement changes safely and reproducibly.
- Specialist delegation via session forking: Delegates to roles like implementer, tester, reviewer, and researcher by forking opencode sessions and collecting results.
- Auditability and lifecycle tracking: Writes durable artifacts to
.nightly/runs/<run-id>/ including session event logs and per-task plans, status transitions, and uncertainty disclosures.
- Autonomy-first operations: Never blocks for clarification; records uncertainty to
uncertainty.md and follows the refusal policy by routing refusals into disk-based approval artifacts.
Quick Start
Run nightly in your opencode-bound CLI and, if the repo is not initialized yet, first run nightly init so the skill can load its autonomy contract and run state.