Stop babysitting agents. Give them shared understanding.

The Nightmanager Loop clarifies intent, turns it into local specs and vertical TODOs, then delegates one ready slice for AFK implementation. You come back to validated work and, when possible, a PR for human review.

The Nightmanager Loop

grill-me → to-prd → to-issues → /nightmanager

Grill the intent

Use grill-me to interrogate a feature, bug, or plan until hidden requirements, risks, and trade-offs are surfaced.

📝
Generate the spec

Use to-prd to turn the clarified conversation into a concrete local spec with goals, acceptance criteria, tests, and risks.

✂️
Slice the work

Use to-issues to break the spec into small, vertical local TODOs that are safe for one focused implementation pass.

🌙
Delegate AFK implementation

Run /nightmanager to select one ready TODO, delegate through subagents, validate the change, and prepare reviewable output.

Subagents inside the loop

Focused execution roles preserve main-session context after the spec is clear

finder
Codebase Search

Maps the codebase for a ready slice so implementation starts from shared context instead of guesswork.

Loop role: discovery before AFK implementation
oracle
Reasoning & Debugging

Analyzes ambiguity, risks, and trade-offs when the slice needs deeper reasoning before code changes.

Loop role: reasoning before a safe plan
worker
Implementation

Makes the smallest viable change for one ready TODO and reports concrete verification evidence.

Loop role: focused implementation
manager
Orchestration

Coordinates finder, oracle, and worker with handoff artifacts so each step stays auditable.

Loop role: orchestration and handoffs

Reviewable AFK implementation

Nightmanager works from local specs and ready TODOs: one slice at a time, with validation and handoff evidence. Humans review PRs, and Nightmanager does not merge or deploy automatically.

Learn More